[Lustre-discuss] mkfs.lustre (can't allocate memory)
Andreas Dilger
adilger at sun.com
Mon Jul 28 14:22:43 PDT 2008
On Jul 24, 2008 14:51 -0400, Josephine Palencia wrote:
> [root at mgs ~]# mkfs.lustre --mgs /dev/cciss/c0d0p6
> LDISKFS-fs: Unable to create cciss/c0d0p6
This appears to be an internal problem with creating the directory
"/proc/fs/ldiskfs/cciss/c0d0p6" because the "cciss" part of the
tree does not yet exist and the "c0d0p6" subdirectory create fails.
As a temporary workaround, can you please try modifying the ldiskfs code:
sbi->s_dev_proc = proc_mkdir(sb->s_id, proc_root_ext3);
if (sbi->s_dev_proc == NULL) {
printk(KERN_ERR "EXT3-fs: Unable to create %s\n", sb->s_id);
+ /* Don't fail mounting if the /proc file can't be created
sb->s_fs_info = NULL;
kfree(sbi);
return -ENOMEM;
+ */
}
It looks (though I'm not 100% sure) that the rest of the mballoc code
will deal with s_dev_proc == NULL properly.
Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.
More information about the lustre-discuss
mailing list