Hi,
I testing lustre 1.6.
But It has been freezing, When I mounted OST.
cfs0 : MDT/MGS combo
cfs1 : OST
This is my operation:
[EMAIL PROTECTED] ~]# fdisk -l /dev/sdb
Disk /dev/sdb: 400.0 GB, 400088457216 bytes
255 heads, 63 sectors/track, 48641 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 48641 390708801 83 Linux
[EMAIL PROTECTED] ~]# mkfs.lustre --reformat --fsname=testfs --mdt --mgs
/dev/sdb1
Permanent disk data:
Target: testfs-MDTffff
Index: unassigned
Lustre FS: testfs
Mount type: ldiskfs
Flags: 0x75
(MDT MGS needs_index first_time update )
Persistent mount opts: errors=remount-ro,iopen_nopriv,user_xattr
Parameters:
device size = 381551MB
formatting backing filesystem ldiskfs on /dev/sdb1
target name testfs-MDTffff
4k blocks 0
options -J size=400 -i 4096 -I 512 -q -O dir_index -F
mkfs_cmd = mkfs.ext2 -j -b 4096 -L testfs-MDTffff -J size=400 -i 4096
-I 512 -q -O dir_index -F /dev/sdb1
Writing CONFIGS/mountdata
[EMAIL PROTECTED] ~]#
[EMAIL PROTECTED] ~]# mount -t lustre /dev/sdb1 /mnt/test/mdt
[EMAIL PROTECTED] ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup01-LogVol00
228G 3.5G 213G 2% /
/dev/sda1 99M 16M 79M 17% /boot
none 1013M 0 1013M 0% /dev/shm
/dev/sdb1 327G 467M 307G 1% /mnt/test/mdt
--------------------------------------------------------------
[EMAIL PROTECTED] ~]# fdisk -l /dev/sdb
Disk /dev/sdb: 250.0 GB, 250000000000 bytes
255 heads, 63 sectors/track, 30394 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 30394 244139773+ 83 Linux
[EMAIL PROTECTED] ~]# mkfs.lustre --fsname=testfs --ost [EMAIL PROTECTED]
/dev/sdb1
Permanent disk data:
Target: testfs-OSTffff
Index: unassigned
Lustre FS: testfs
Mount type: ldiskfs
Flags: 0x72
(OST needs_index first_time update )
Persistent mount opts: errors=remount-ro,extents,mballoc
Parameters: [EMAIL PROTECTED]
checking for existing Lustre data: found CONFIGS/mountdata
mkfs.lustre FATAL: Device /dev/sdb1 was previously formatted for
lustre. Use --reformat to reformat it, or tunefs.lustre to modify.
mkfs.lustre: exiting with 1 (Operation not permitted)
[EMAIL PROTECTED] ~]# mkfs.lustre --reformat --fsname=testfs --ost
[EMAIL PROTECTED] /dev/sdb1
Permanent disk data:
Target: testfs-OSTffff
Index: unassigned
Lustre FS: testfs
Mount type: ldiskfs
Flags: 0x72
(OST needs_index first_time update )
Persistent mount opts: errors=remount-ro,extents,mballoc
Parameters: [EMAIL PROTECTED]
device size = 238417MB
formatting backing filesystem ldiskfs on /dev/sdb1
target name testfs-OSTffff
4k blocks 0
options -J size=400 -i 16384 -I 256 -q -O dir_index -F
mkfs_cmd = mkfs.ext2 -j -b 4096 -L testfs-OSTffff -J size=400 -i
16384 -I 256 -q -O dir_index -F /dev/sdb1
Writing CONFIGS/mountdata
[EMAIL PROTECTED] ~]# mount -t lustre /dev/sdb1 /mnt/test/ost0
<<HAS BEEN FREEZING cfs0 and cfs1>>
Yuji Satou
_______________________________________________
Lustre-discuss mailing list
[email protected]
https://mail.clusterfs.com/mailman/listinfo/lustre-discuss