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

Josephine Palencia josephin at psc.edu
Thu Jul 24 11:51:26 PDT 2008


Redoing a new filesystem and I'm getting the error below.
Ps advise.  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)

-------------------
modules loaded before mkfs:

ldiskfs               254260  0
crc16                   6272  1 ldiskfs
jbd                    62252  2 ldiskfs,ext3
lustre                962512  0
lov                   458540  1 lustre
mdc                   175900  1 lustre
osc                   236980  1 lustre
ptlrpc               1222556  6 lustre,lov,mdc,fid,lquota,osc
obdclass              815900  7 lustre,lov,mdc,fid,lquota,osc,ptlrpc
lnet                  271500  4 lustre,ksocklnd,ptlrpc,obdclass
lvfs                   70488  8 lustre,lov,mdc,fid,lquota,osc,ptlrpc,obdclass
libcfs                131700  11 
lustre,lov,mdc,fid,lquota,osc,ksocklnd,ptlrpc,obdclass,lnet,lvfs

------------------------
strace:


--- SIGCHLD (Child exited) @ 0 (0) ---
unlink("/tmp/run_command_logzB7owp")    = 0
mkdir("/tmp/mntiROBOh", 0700)           = 0
mount("/dev/cciss/c0d0p6", "/tmp/mntiROBOh", "ldiskfs"..., 0, NULL) = -1 ENOMEM (Cannot allocate memory)
write(2, "mkfs.lustre: Unable to mount /de"..., 71mkfs.lustre: Unable to mount /dev/cciss/c0d0p6: Cannot allocate memory
) = 71
rmdir("/tmp/mntiROBOh")                 = 0
write(2, "\nmkfs.lustre FATAL: ", 20
mkfs.lustre FATAL: )   = 20
write(2, "failed to write local files\n", 28failed to write local files) = 28
write(1, "\n   Permanent disk data:\nTarget:"..., 635) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) @ 0 (0) ---
+++ killed by SIGPIPE +++
-----------------------
dmesg:


Lustre: OBD class driver, info at clusterfs.com
         Lustre Version: 1.9.50
         Build Version: 
1.9.50-19691231190000-PRISTINE-.extra.linux-2.6.18-92.1.6-2.6.18-92.1.6-lustre-1.9.50
Lustre: Added LNI 128.182.112.70 at tcp [8/256]
Lustre: Accept secure, port 988
LDISKFS-fs: Unable to create cciss/c0d0p6




More information about the lustre-discuss mailing list