[Lustre-discuss] Help with lustre 1.6.4

122 views
Skip to first unread message

Ali Algarrous

unread,
Feb 6, 2008, 12:13:46 PM2/6/08
to lustre-...@lists.lustre.org
My name is Ali Algarrous and I'm doing a research about Lustre file
systesm.

I'm running Debian on my machine and after a long time I was able to
install Lustre on my machine. I was able to format devices and mount
clients and servers easily but I had to reinstall the OS. So I started
the process of installing Lustre again and this time it was really
easy.

However, I came across another problem.  When i'm running this
command:  mkfs.lustre --fsname datafs --mdt --mgs /dev/sda3

I get the following error messgae:
______________________________________________________________________
gog:~# mkfs.lustre --fsname spfs --mdt --mgs /dev/sda3

 Permanent disk data:
Target:     spfs-MDTffff
Index:      unassigned
Lustre FS:  spfs
Mount type: ldiskfs
Flags:      0x75
            (MDT MGS needs_index first_time update )
Persistent mount opts: errors=remount-ro,iopen_nopriv,user_xattr
Parameters: mdt.group_upcall=/usr/sbin/l_getgroups


mkfs.lustre FATAL: loop device requires a --device-size= param

mkfs.lustre FATAL: Loop device setup for /dev/sda3 failed: Invalid
argument
mkfs.lustre: exiting with 22 (Invalid argument)
_______________________________________________________________________
And then when i specified the size of the disk by putting --device-
size=40371345 I started to get the following error:
____________________________________________________________________
gog:/home/algarra# mkfs.lustre --fsname lustrefs --mdt --mgs /dev/sda3

Permanent disk data:
Target:     lustrefs-MDTffff
Index:      unassigned
Lustre FS:  lustrefs
Mount type: ldiskfs
Flags:      0x75
           (MDT MGS needs_index first_time update )
Persistent mount opts: errors=remount-ro,iopen_nopriv,user_xattr
Parameters: mdt.group_upcall=/usr/sbin/l_getgroups

checking for existing Lustre data: not found
mkfs.lustre: size ioctl failed: Inappropriate ioctl for device

mkfs.lustre FATAL: mkfs failed 19
_______________________________________________________________________

I'm running kernel 2.6.18.

Would you please help me in solving this problem?

Regards,
Ali

--
Never stop smiling, not even when you're sad, someone might fall in love with your smile.
:)

Cliff White

unread,
Feb 12, 2008, 5:10:59 PM2/12/08
to Ali Algarrous, lustre-...@lists.lustre.org

Something is wrong with your /dev/sda3. Lustre is not finding a proper
block device there, so it assumes you are using a loopback device, but
since you are not using a loopback, it fails (size is only used with
loopback) Verfiy that sda exists, and is partitioned correctly. (sda3
exists)
As a test, make an ext2 FS on sda3 with mkfs. If that works, Lustre
should work fine.
cliffw

>
> Regards,
> Ali
>
> --
> Never stop smiling, not even when you're sad, someone might fall in love
> with your smile.
> :)
>
>

> ------------------------------------------------------------------------
>
> _______________________________________________
> Lustre-discuss mailing list
> Lustre-...@lists.lustre.org
> http://lists.lustre.org/mailman/listinfo/lustre-discuss

_______________________________________________
Lustre-discuss mailing list
Lustre-...@lists.lustre.org
http://lists.lustre.org/mailman/listinfo/lustre-discuss

Alex Lyashkov

unread,
Feb 12, 2008, 11:09:53 PM2/12/08
to Cliff White, lustre-...@lists.lustre.org
This is bug 14647.
Lustre wrong assume about use loop device if real block device not
exist. check you /dev directory for sda3 entry.


--
Alex Lyashkov <Alexey....@sun.com>
Lustre Group, Sun Microsystems

Reply all
Reply to author
Forward
0 new messages