Jay Taylor's notes
back to listing indexlinux - Automount ZFS zpool in Ubuntu 12.04 - Super User
[web search]
So, I've been told that ZFS for Linux has the ability to automatically mount a zpool on system startup in Ubuntu 12.04, but it doesn't work for me and I can't find any documentation on how to make it work. I have a 5 disk raidz zpool mounted at /zstorage. Currently, when my server starts, I have to type In the case of on, SabNZBD+, if it doesn't find the folders it needs it will revert to the default. This is especially a problem as the default folder is in a tiny SSD which is meant for nothing but as a boot volume. | |||
add comment | |||
If you are using zfs-fuse, just running the zfs-fuse init script on startup should do it. I have several computers with zpools on external disks and they are all mounted automatically on boot with zfs-fuse. In particular, the init script contains the line
which mounts all available zfs filesystems. You could add this line to any zfs init scripts you have or put this line into the local init script. | |||||||||||||||||||||||||||||||||
|
If you go to /etc/default/zfs that is where you'd set the flag to normally mount the ZFS volumes on startup but not anymore. As it states in the config-file mentioned above, what you could try is installing zfs-mountall with apt-get:
This should work, provided you have installed native ZFS and not zfs-fuse. More information is provided here: http://zfsonlinux.org/faq.html | |||||||||||||||||||||||||||
|
Your Answer
Not the answer you're looking for? Browse other questions tagged linux ubuntu-12.04 automount zfs or ask your own question.
tagged
asked |
1 year ago |
viewed |
3962 times |
active |