[Lustre-discuss] Works: Re: mkfs.lustre (can't allocate memory)
Josephine Palencia
josephin at psc.edu
Tue Jul 29 23:37:18 PDT 2008
Andreas,
This work-around worked.
Thank you very much.
Josephin
On Mon, 28 Jul 2008, Andreas Dilger wrote:
> 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