My name is Ali Algarrous and I'm doing a research about Lustre file <br>systesm. <br><br>I'm running Debian on my machine and after a long time I was able to <br>install Lustre on my machine. I was able to format devices and mount <br>
clients and servers easily but I had to reinstall the OS. So I started <br>the process of installing Lustre again and this time it was really <br>easy. <br><br>However, I came across another problem.  When i'm running this <br>
command:  mkfs.lustre --fsname datafs --mdt --mgs /dev/sda3 <br><br>I get the following error messgae: <br>______________________________________________________________________ <br>gog:~# mkfs.lustre --fsname spfs --mdt --mgs /dev/sda3 <br>
<br> Permanent disk data: <br>Target:     spfs-MDTffff <br>Index:      unassigned <br>Lustre FS:  spfs <br>Mount type: ldiskfs <br>Flags:      0x75 <br>            (MDT MGS needs_index first_time update ) <br>Persistent mount opts: errors=remount-ro,iopen_nopriv,user_xattr <br>
Parameters: mdt.group_upcall=/usr/sbin/l_getgroups <br><br><br>mkfs.lustre FATAL: loop device requires a --device-size= param <br><br>mkfs.lustre FATAL: Loop device setup for /dev/sda3 failed: Invalid <br>argument <br>mkfs.lustre: exiting with 22 (Invalid argument) <br>
_______________________________________________________________________ <br>And then when i specified the size of the disk by putting --device- <br>size=40371345 I started to get the following error: <br>____________________________________________________________________ <br>
gog:/home/algarra# mkfs.lustre --fsname lustrefs --mdt --mgs /dev/sda3 <br><br>Permanent disk data: <br>Target:     lustrefs-MDTffff <br>Index:      unassigned <br>Lustre FS:  lustrefs <br>Mount type: ldiskfs <br>Flags:      0x75 <br>
           (MDT MGS needs_index first_time update ) <br>Persistent mount opts: errors=remount-ro,iopen_nopriv,user_xattr <br>Parameters: mdt.group_upcall=/usr/sbin/l_getgroups <br><br>checking for existing Lustre data: not found <br>
mkfs.lustre: size ioctl failed: Inappropriate ioctl for device <br><br>mkfs.lustre FATAL: mkfs failed 19 <br>_______________________________________________________________________ <br><br>I'm running kernel 2.6.18. <br>
<br>Would you please help me in solving this problem? <br><br>Regards, <br>Ali <br clear="all"><br>-- <br>Never stop smiling, not even when you're sad, someone might fall in love with your smile.<br>:)