Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

ZFS does not integrate with udev #2673

Closed
dwaite opened this issue Feb 12, 2019 · 1 comment
Closed

ZFS does not integrate with udev #2673

dwaite opened this issue Feb 12, 2019 · 1 comment

Comments

@dwaite
Copy link

dwaite commented Feb 12, 2019

When using zfs, devices and volumes do not appear underneath /dev. It appears this is due to the udev support for zfs not being available. In addition, the udev rules require helper applications zvol_id and vdev_id, which aren't built by the zfs container. For this reason, the solution doesn't appear to be as simple as moving the rules into the udev container.


RancherOS Version: (ros os version)
1.5.1

Where are you running RancherOS? (docker-machine, AWS, GCE, baremetal, etc.)
digitalocean

@rootwuj
Copy link

rootwuj commented May 22, 2019

Tested with rancher/os:v1.5.2-rc1 from May 22
Verified fixed

Test:

$ sudo ros service enable zfs
$ sudo ros service up zfs
$ sudo zpool create zpool1 -m /mnt/zpool1 /dev/xxx
$ zfs create -V 128M -s zpool1/zvol

Result:

$ ls /dev/zvol
zpool1

@rootwuj rootwuj closed this as completed May 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants