[Lustre-discuss] mkfs.lustre (can't allocate memory)

Eric Mei Eric.Mei at Sun.COM
Fri Jul 25 15:34:53 PDT 2008


Forward Josephine's question. Does anybody have an idea on following issue?

-------- Original Message --------
Subject: mkfs.lustre (can't allocate memory)
Date: Wed, 23 Jul 2008 22:00:27 -0400 (EDT)
From: Josephine Palencia <josephin at psc.edu>
To: Eric Mei <Eric.Mei at Sun.COM>


Hi Eric,

Redoing a new filesystem and I'm getting this error below..
Ps advice

Thanks,
josephin


[root at mgs ~]# mkfs.lustre --mgs /dev/cciss/c0d0p6

    Permanent disk data:
Target:     MGS
Index:      unassigned
Lustre FS:  lustre
Mount type: ldiskfs
Flags:      0x74
               (MGS needs_index first_time update )
Persistent mount opts: errors=remount-ro,iopen_nopriv,user_xattr
Parameters:

checking for existing Lustre data: not found
device size = 24121MB
2 6 18
formatting backing filesystem ldiskfs on /dev/cciss/c0d0p6
         target name  MGS
         4k blocks     0
         options        -J size=964 -q -O dir_index,uninit_groups -F
mkfs_cmd = mkfs.ext2 -j -b 4096 -L MGS  -J size=964 -q -O
dir_index,uninit_groups -F /dev/cciss/c0d0p6
mkfs.lustre: Unable to mount /dev/cciss/c0d0p6: Cannot allocate memory

mkfs.lustre FATAL: failed to write local files
mkfs.lustre: exiting with 12 (Cannot allocate memory)
[root at mgs ~]#


[root at mgs ~]# fdisk -l

Disk /dev/cciss/c0d0: 72.8 GB, 72829501440 bytes
255 heads, 63 sectors/track, 8854 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

            Device Boot      Start         End      Blocks   Id  System
/dev/cciss/c0d0p1   *           1         131     1052226   83  Linux
/dev/cciss/c0d0p2             132         914     6289447+  82  Linux swap
/ Solaris
/dev/cciss/c0d0p3             915        4562    29302560   83  Linux
/dev/cciss/c0d0p4            4563        8854    34475490    5  Extended
/dev/cciss/c0d0p5            4563        5779     9775521   83  Linux
/dev/cciss/c0d0p6            5780        8854    24699906   83  Linux
[root at mgs ~]# fdisk -l

Disk /dev/cciss/c0d0: 72.8 GB, 72829501440 bytes
255 heads, 63 sectors/track, 8854 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

            Device Boot      Start         End      Blocks   Id  System
/dev/cciss/c0d0p1   *           1         131     1052226   83  Linux
/dev/cciss/c0d0p2             132         914     6289447+  82  Linux swap
/ Solaris
/dev/cciss/c0d0p3             915        4562    29302560   83  Linux
/dev/cciss/c0d0p4            4563        8854    34475490    5  Extended
/dev/cciss/c0d0p5            4563        5779     9775521   83  Linux
/dev/cciss/c0d0p6            5780        8854    24699906   83  Linux


-- 
Eric



More information about the lustre-discuss mailing list