[lustre-discuss] zfs mounting

BASDEN, ALASTAIR G. a.g.basden at durham.ac.uk
Fri Jul 26 00:37:54 PDT 2019


Hi all,

For future reference, it turned out to be the zfs version.

Fixed using:
rmmod zfs
yum remove libzfs2 libzfs2-devel libzpool2 libuutil1 libnvpair1 spl spl-dkms zfs zfs-dkms
yum install zfs-0.7.5  lustre-dkms lustre-osd-zfs-mount
Reboot
zpool import
mount -t lustre test-ost0/ost0 /mnt/lustre/test-ost0
...


Thanks for the responses.

Cheers,
Alastair.


On Thu, 25 Jul 2019, 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'
> 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 at lists.lustre.org
> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
>


More information about the lustre-discuss mailing list