ZFS: /dev/zvol does not exist

2 posts / 0 new
Last post
#1 Tue, 2017-08-08 01:54
apeace
  • apeace's picture
  • Offline
  • Last seen: 3 months 1 week ago
  • Joined: 2017-08-08

I have created a zpool named `ztank`, and then run:

zfs create -V 10G ztank/test1

I can see that it created /dev/zd0 so it appears to have worked. However I expected it would also exist at /dev/zvol/ztank/test1.

I want to use ZFS as a volume manager for Xen guests, so my fear is that the /dev/zdX names will not always persist between reboots.

Is there a way to enable this functionality on Alpine? Thank you!

Tue, 2017-08-08 23:34
apeace
  • apeace's picture
  • Offline
  • Last seen: 3 months 1 week ago
  • Joined: 2017-08-08

I was able to solve this with the help of folks on IRC.

apk add zfs-udev

Then reboot, or udevadm trigger

Log in or register to post comments