Josephine Palencia
2009-Sep-16  13:43 UTC
[Lustre-discuss] Lustre-1.9.260 mkfs.lustre errors
HEAD (Lustre-1.9.260) built on both archs (i386, x86_64).
mkfs.lustre, mount works on  the i386.
But I get this error for the x86_64 on 2 different machines:
[root at mds00w x86_64]# mkfs.lustre --verbose  --reformat  --fsname=jwan 
--mdt --mgsnode=mgs.jwan.teragrid.org at tcp0 /dev/sda8
    Permanent disk data:
Target:     jwan-MDTffff
Index:      unassigned
Lustre FS:  jwan
Mount type: ldiskfs
Flags:      0x71
               (MDT needs_index first_time update )
Persistent mount opts: errors=remount-ro,iopen_nopriv,user_xattr
Parameters: mgsnode=128.182.112.251 at tcp
device size = 11538MB
2 6 18
formatting backing filesystem ldiskfs on /dev/sda8
 	target name  jwan-MDTffff
 	4k blocks     0
 	options        -J size=400 -i 4096 -I 512 -O 
dir_index,extents,uninit_groups -F
mkfs_cmd = mke2fs -j -b 4096 -L jwan-MDTffff  -J size=400 -i 4096 -I 512 
-O dir_index,extents,uninit_groups -F /dev/sda8
cmd: mke2fs -j -b 4096 -L jwan-MDTffff  -J size=400 -i 4096 -I 512 -O 
dir_index,extents,uninit_groups -F /dev/sda8
mke2fs 1.40.7.sun3 (28-Feb-2008)
Invalid filesystem option set: dir_index,extents,uninit_groups  <-----?
mkfs.lustre FATAL: Unable to build fs /dev/sda8 (256)
mkfs.lustre FATAL: mkfs failed 256
[root at mds00w x86_64]# clear
Machine 1 to serve as mdt:
--------------------------
[root at mds00w x86_64]# mkfs.lustre --verbose  --reformat  --fsname=jwan 
--mdt --mgsnode=mgs.jwan.teragrid.org at tcp0 /dev/sda8
    Permanent disk data:
Target:     jwan-MDTffff
Index:      unassigned
Lustre FS:  jwan
Mount type: ldiskfs
Flags:      0x71
               (MDT needs_index first_time update )
Persistent mount opts: errors=remount-ro,iopen_nopriv,user_xattr
Parameters: mgsnode=128.182.112.251 at tcp
device size = 11538MB
2 6 18
formatting backing filesystem ldiskfs on /dev/sda8
 	target name  jwan-MDTffff
 	4k blocks     0
 	options        -J size=400 -i 4096 -I 512 -O 
dir_index,extents,uninit_groups -F
mkfs_cmd = mke2fs -j -b 4096 -L jwan-MDTffff  -J size=400 -i 4096 -I 512 
-O dir_index,extents,uninit_groups -F /dev/sda8
cmd: mke2fs -j -b 4096 -L jwan-MDTffff  -J size=400 -i 4096 -I 512 -O 
dir_index,extents,uninit_groups -F /dev/sda8
mke2fs 1.40.7.sun3 (28-Feb-2008)
Invalid filesystem option set: dir_index,extents,uninit_groups   <-----
mkfs.lustre FATAL: Unable to build fs /dev/sda8 (256)
mkfs.lustre FATAL: mkfs failed 256
Machine 2 to serve as ost:
-------------------------
[root at oss01w ~]# mkfs.lustre --reformat --fsname=jwan --ost 
--mgsnode=mgs.jwan.teragrid.org at tcp0 /dev/sda8
    Permanent disk data:
Target:     jwan-OSTffff
Index:      unassigned
Lustre FS:  jwan
Mount type: ldiskfs
Flags:      0x72
               (OST needs_index first_time update )
Persistent mount opts: errors=remount-ro,extents,mballoc
Parameters: mgsnode=128.182.112.251 at tcp
mkfs.lustre FATAL: loop device requires a --device-size= param
mkfs.lustre FATAL: Loop device setup for /dev/s
-------------------
For now, I combined the mgs/mdt on the i386 machines and that created the 
fs and mounted without problems.
I''d appreciate feedback on the 2 other machines with mkfs.lustre
errors.
Thanks,
josephine
Do you have same version of e2fsprogs on both? jab> -----Original Message----- > From: lustre-discuss-bounces at lists.lustre.org > [mailto:lustre-discuss-bounces at lists.lustre.org] On Behalf Of > Josephine Palencia > Sent: Wednesday, September 16, 2009 6:43 AM > To: lustre-discuss at lists.lustre.org > Subject: [Lustre-discuss] Lustre-1.9.260 mkfs.lustre errors > > > > HEAD (Lustre-1.9.260) built on both archs (i386, x86_64). > mkfs.lustre, mount works on the i386. > > But I get this error for the x86_64 on 2 different machines: > [root at mds00w x86_64]# mkfs.lustre --verbose --reformat > --fsname=jwan --mdt --mgsnode=mgs.jwan.teragrid.org at tcp0 /dev/sda8 > > Permanent disk data: > Target: jwan-MDTffff > Index: unassigned > Lustre FS: jwan > Mount type: ldiskfs > Flags: 0x71 > (MDT needs_index first_time update ) > Persistent mount opts: errors=remount-ro,iopen_nopriv,user_xattr > Parameters: mgsnode=128.182.112.251 at tcp > > device size = 11538MB > 2 6 18 > formatting backing filesystem ldiskfs on /dev/sda8 > target name jwan-MDTffff > 4k blocks 0 > options -J size=400 -i 4096 -I 512 -O > dir_index,extents,uninit_groups -F > mkfs_cmd = mke2fs -j -b 4096 -L jwan-MDTffff -J size=400 -i > 4096 -I 512 -O dir_index,extents,uninit_groups -F /dev/sda8 > cmd: mke2fs -j -b 4096 -L jwan-MDTffff -J size=400 -i 4096 > -I 512 -O dir_index,extents,uninit_groups -F /dev/sda8 mke2fs > 1.40.7.sun3 (28-Feb-2008) Invalid filesystem option set: > dir_index,extents,uninit_groups <-----? > > mkfs.lustre FATAL: Unable to build fs /dev/sda8 (256) > > mkfs.lustre FATAL: mkfs failed 256 > [root at mds00w x86_64]# clear > > Machine 1 to serve as mdt: > -------------------------- > [root at mds00w x86_64]# mkfs.lustre --verbose --reformat > --fsname=jwan --mdt --mgsnode=mgs.jwan.teragrid.org at tcp0 /dev/sda8 > > Permanent disk data: > Target: jwan-MDTffff > Index: unassigned > Lustre FS: jwan > Mount type: ldiskfs > Flags: 0x71 > (MDT needs_index first_time update ) > Persistent mount opts: errors=remount-ro,iopen_nopriv,user_xattr > Parameters: mgsnode=128.182.112.251 at tcp > > device size = 11538MB > 2 6 18 > formatting backing filesystem ldiskfs on /dev/sda8 > target name jwan-MDTffff > 4k blocks 0 > options -J size=400 -i 4096 -I 512 -O > dir_index,extents,uninit_groups -F > mkfs_cmd = mke2fs -j -b 4096 -L jwan-MDTffff -J size=400 -i > 4096 -I 512 -O dir_index,extents,uninit_groups -F /dev/sda8 > cmd: mke2fs -j -b 4096 -L jwan-MDTffff -J size=400 -i 4096 > -I 512 -O dir_index,extents,uninit_groups -F /dev/sda8 mke2fs > 1.40.7.sun3 (28-Feb-2008) > Invalid filesystem option set: > dir_index,extents,uninit_groups <----- > > mkfs.lustre FATAL: Unable to build fs /dev/sda8 (256) > > mkfs.lustre FATAL: mkfs failed 256 > > Machine 2 to serve as ost: > ------------------------- > [root at oss01w ~]# mkfs.lustre --reformat --fsname=jwan --ost > --mgsnode=mgs.jwan.teragrid.org at tcp0 /dev/sda8 > > Permanent disk data: > Target: jwan-OSTffff > Index: unassigned > Lustre FS: jwan > Mount type: ldiskfs > Flags: 0x72 > (OST needs_index first_time update ) > Persistent mount opts: errors=remount-ro,extents,mballoc > Parameters: mgsnode=128.182.112.251 at tcp > > > mkfs.lustre FATAL: loop device requires a --device-size= param > > mkfs.lustre FATAL: Loop device setup for /dev/s > ------------------- > > For now, I combined the mgs/mdt on the i386 machines and that > created the fs and mounted without problems. > > I''d appreciate feedback on the 2 other machines with > mkfs.lustre errors. > > Thanks, > josephine > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss at lists.lustre.org > http://lists.lustre.org/mailman/listinfo/lustre-discuss >
Josephine Palencia
2009-Sep-16  14:29 UTC
[Lustre-discuss] Lustre-1.9.260 mkfs.lustre errors
Cool that fixed it :) Thanks Jab. josephin On Wed, 16 Sep 2009, Jeffrey Bennett wrote:> Do you have same version of e2fsprogs on both? > > jab > >> -----Original Message----- >> From: lustre-discuss-bounces at lists.lustre.org >> [mailto:lustre-discuss-bounces at lists.lustre.org] On Behalf Of >> Josephine Palencia >> Sent: Wednesday, September 16, 2009 6:43 AM >> To: lustre-discuss at lists.lustre.org >> Subject: [Lustre-discuss] Lustre-1.9.260 mkfs.lustre errors >> >> >> >> HEAD (Lustre-1.9.260) built on both archs (i386, x86_64). >> mkfs.lustre, mount works on the i386. >> >> But I get this error for the x86_64 on 2 different machines: >> [root at mds00w x86_64]# mkfs.lustre --verbose --reformat >> --fsname=jwan --mdt --mgsnode=mgs.jwan.teragrid.org at tcp0 /dev/sda8 >> >> Permanent disk data: >> Target: jwan-MDTffff >> Index: unassigned >> Lustre FS: jwan >> Mount type: ldiskfs >> Flags: 0x71 >> (MDT needs_index first_time update ) >> Persistent mount opts: errors=remount-ro,iopen_nopriv,user_xattr >> Parameters: mgsnode=128.182.112.251 at tcp >> >> device size = 11538MB >> 2 6 18 >> formatting backing filesystem ldiskfs on /dev/sda8 >> target name jwan-MDTffff >> 4k blocks 0 >> options -J size=400 -i 4096 -I 512 -O >> dir_index,extents,uninit_groups -F >> mkfs_cmd = mke2fs -j -b 4096 -L jwan-MDTffff -J size=400 -i >> 4096 -I 512 -O dir_index,extents,uninit_groups -F /dev/sda8 >> cmd: mke2fs -j -b 4096 -L jwan-MDTffff -J size=400 -i 4096 >> -I 512 -O dir_index,extents,uninit_groups -F /dev/sda8 mke2fs >> 1.40.7.sun3 (28-Feb-2008) Invalid filesystem option set: >> dir_index,extents,uninit_groups <-----? >> >> mkfs.lustre FATAL: Unable to build fs /dev/sda8 (256) >> >> mkfs.lustre FATAL: mkfs failed 256 >> [root at mds00w x86_64]# clear >> >> Machine 1 to serve as mdt: >> -------------------------- >> [root at mds00w x86_64]# mkfs.lustre --verbose --reformat >> --fsname=jwan --mdt --mgsnode=mgs.jwan.teragrid.org at tcp0 /dev/sda8 >> >> Permanent disk data: >> Target: jwan-MDTffff >> Index: unassigned >> Lustre FS: jwan >> Mount type: ldiskfs >> Flags: 0x71 >> (MDT needs_index first_time update ) >> Persistent mount opts: errors=remount-ro,iopen_nopriv,user_xattr >> Parameters: mgsnode=128.182.112.251 at tcp >> >> device size = 11538MB >> 2 6 18 >> formatting backing filesystem ldiskfs on /dev/sda8 >> target name jwan-MDTffff >> 4k blocks 0 >> options -J size=400 -i 4096 -I 512 -O >> dir_index,extents,uninit_groups -F >> mkfs_cmd = mke2fs -j -b 4096 -L jwan-MDTffff -J size=400 -i >> 4096 -I 512 -O dir_index,extents,uninit_groups -F /dev/sda8 >> cmd: mke2fs -j -b 4096 -L jwan-MDTffff -J size=400 -i 4096 >> -I 512 -O dir_index,extents,uninit_groups -F /dev/sda8 mke2fs >> 1.40.7.sun3 (28-Feb-2008) >> Invalid filesystem option set: >> dir_index,extents,uninit_groups <----- >> >> mkfs.lustre FATAL: Unable to build fs /dev/sda8 (256) >> >> mkfs.lustre FATAL: mkfs failed 256 >> >> Machine 2 to serve as ost: >> ------------------------- >> [root at oss01w ~]# mkfs.lustre --reformat --fsname=jwan --ost >> --mgsnode=mgs.jwan.teragrid.org at tcp0 /dev/sda8 >> >> Permanent disk data: >> Target: jwan-OSTffff >> Index: unassigned >> Lustre FS: jwan >> Mount type: ldiskfs >> Flags: 0x72 >> (OST needs_index first_time update ) >> Persistent mount opts: errors=remount-ro,extents,mballoc >> Parameters: mgsnode=128.182.112.251 at tcp >> >> >> mkfs.lustre FATAL: loop device requires a --device-size= param >> >> mkfs.lustre FATAL: Loop device setup for /dev/s >> ------------------- >> >> For now, I combined the mgs/mdt on the i386 machines and that >> created the fs and mounted without problems. >> >> I''d appreciate feedback on the 2 other machines with >> mkfs.lustre errors. >> >> Thanks, >> josephine >> _______________________________________________ >> Lustre-discuss mailing list >> Lustre-discuss at lists.lustre.org >> http://lists.lustre.org/mailman/listinfo/lustre-discuss >> >
On Sep 16, 2009 09:43 -0400, Josephine Palencia wrote:> mke2fs 1.40.7.sun3 (28-Feb-2008)This is a quite old version of e2fsprogs, HEAD currently reports "Recommended e2fsprogs version: 1.41.6.sun1"> Invalid filesystem option set: dir_index,extents,uninit_groups <-----?The "uninit_groups" feature that we developed at CFS was renamed "uninit_bg" in the upstream e2fsprogs (otherwise being completely the same functionality), and we supported the old name in several releases of e2fsprogs. Cheers, Andreas -- Andreas Dilger Sr. Staff Engineer, Lustre Group Sun Microsystems of Canada, Inc.