Check var/log/messages and the lctl debug log:
lctl dk /tmpfile
The mount path looks like:
mount->mount.lustre->lustre_get_sb->lustre_fill_super
Snider, Tim wrote:> I''m making slow progress running Lustre OSS/OST in an embedded
> environment. We''ve verified that the commands we''re using
in the
> embedded environment on a ''normal'' x86 server.
>
> Lustre 1.5.95 on Vanilla Kernel 2.6.18-3.
>
> insmod of ldiskfs.ko complains about no version number for
> posix_acl_from_xattr, but module seems to load ok.
> root@:/lib/modules/2.6.18-iop3.1tsPrivate/kernel/fs/lustre#
> insmod ldiskfs.ko
> ldiskfs: no version for "posix_acl_from_xattr" found: kernel
> tainted.
>
> mkfs.lustre succeeds:
> root@:/lib/modules/2.6.18-iop3.1tsPrivate/kernel/fs/lustre#
> mkfs.lustre --fsname=tempSda --ost --gsnode=172.22.14.100@tcp /dev/sda
> Permanent disk data:
> Target: tempSda-OSTffff
> Index: unassigned
> Lustre FS: tempSda
> Mount type: ldiskfs
> Flags: 0x72
> (OST needs_index first_time update )
> Persistent mount opts: errors=remount-ro,extents,mballoc
> Parameters: mgsnode=172.22.14.100@tcp
>
> checking for existing Lustre data
> device size = 10MB
> formatting backing filesystem ldiskfs on /dev/sda
> target name tempSda-OSTffff
> 4k blocks 0
> options -I 256 -q -O dir_index -F
> mkfs_cmd = mkfs.ext2 -j -b 4096 -L tempSda-OSTffff -I 256 -q
> -O dir_index -F /dev/sda
> kjournald starting. Commit interval 5 seconds
> LDISKFS FS on sda, internal journal
> LDISKFS-fs: mounted filesystem with ordered data mode.
> Writing CONFIGS/mountdata
> root@:/lib/modules/2.6.18-iop3.1tsPrivate/kernel/fs/lustre#
>
> However mount command fails with ''No such device'' msg.
> root@:/lib/modules/2.6.18-iop3.1tsPrivate/kernel/fs/lustre#
> mount -t lustre /dev/sda /mnt/test/ost0
> mount: Mounting /dev/sda on /mnt/test/ost0 failed: No such
> device
>
> The directory does exist:
> root@:/lib/modules/2.6.18-iop3.1tsPrivate/kernel/fs/lustre# ls
> /mnt/test/
> ost0 sdTst
>
> A grep through kernel and Lustre files give no references to
"mount:" or
> "Mounting" in source files.
> Pointers on how to debug/where to look are appreciated.
>
> Thanks,
> Timothy Snider
> Storage Architect
> Strategic Planning, Technology and Architecture
>
> LSI Logic Corporation
> 3718 North Rock Road
> Wichita, KS 67226
> (316) 636-8736
> tim.snider@lsi.com <mailto:tim.snider@lsi.com>
>
> _______________________________________________
> Lustre-devel mailing list
> Lustre-devel@clusterfs.com
> https://mail.clusterfs.com/mailman/listinfo/lustre-devel
>
>