On 25/07/2019 11:49, BASDEN, ALASTAIR G. wrote:
Hi,

I am trying to bring up a new zfs backend file system.
CentOS 7.4, Lustre 2.10.3, zfs 0.7.12.

I do the following:
zpool create -O canmount=off -o cachefile=none test-ost0 raidz2 ....

mkfs.lustre --fsname=test --ost --backfstype=zfs --index=0 --mgsnode=nid1 
test-ost0/ost0

This seems to work. However, I can't work out how to mount:
mount -t lustre test-ost0/ost0 /mnt/lustre/test-ost0
mount.lustre: mount test-ost0/ost0 at /mnt/lustre/test-ost0 failed: No such 
device
Are the lustre modules loaded?
Check /etc/modprobe.conf and /proc/filesystems

tail /var/log/messages:
Jul 25 15:46:12 oss01 kernel: LustreError: 158-c: Can't load module 'osd-zfs'


Did you install the ZFS version of lustre RPM?


Jul 25 15:46:12 oss01 kernel: LustreError: 
216602:0:(genops.c:318:class_newdev()) OBD: unknown type: osd-zfs
Jul 25 15:46:12 oss01 kernel: LustreError: 
216602:0:(obd_config.c:402:class_attach()) Cannot create device 
test-OST0000-osd of type osd-zfs : -19
Jul 25 15:46:12 oss01 kernel: LustreError: 
216602:0:(obd_mount.c:198:lustre_start_simple()) test-OST0000-osd attach error 
-19
Jul 25 15:46:12 oss01 kernel: LustreError: 
216602:0:(obd_mount_server.c:1832:server_fill_super()) Unable to start osd on 
test-ost0/ost0: -19
Jul 25 15:46:12 oss01 kernel: LustreError: 
216602:0:(obd_mount.c:1506:lustre_fill_super()) Unable to mount  (-19)

Is that the correct mount command?  (I've tried a few others too).

Is the problem a version incompatibility between lustre and zfs?

Many thanks,
Alastair.
_______________________________________________
lustre-discuss mailing list
lustre-discuss@lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
_______________________________________________
lustre-discuss mailing list
lustre-discuss@lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

Reply via email to