Comments (10)
This glitch usually means that zfs mount -a
is invoked during system start, which should not happen on Ubuntu. The mountall
utility that is installed by ubuntu-zfs
does not preserve Solaris behavior and will use non-empty mount points.
Double-check that:
- The
/etc/init.d/zfs
file does not exist. Leftovers from amake install
cause problems like this. - Similarly,
/usr/local/sbin/zfs
and/usr/local/lib/libzfs.so
do not exit. - The
/etc/default/zfs
file is unmodified. TheZFS_MOUNT
option should be disabled.
Less frequently, this behavior can be caused by:
- Entries in the
/etc/fstab
file that conflict withmountpoint
properties. - A daemon running on
/tank
. (eg: famd)
If the problem persists after running zfs umount -a && rm -r /tank
, then:
- Manually check that
/proc/mounts
agrees withmount
andzfs mount
. - Report version numbers for Ubuntu, ZoL, and mountall.
from pkg-zfs.
I can confirm all the above is the case. The following though were exceptions -
there is no /etc/init.d/zfs however there is zfs-mount and zfs-share file. The zfs mount does contain an zfs mount -a command
- there is a /tank/smbroot folder that is used by the smbd daemon
- there is also a /tank/vicepa folder that is used by openafs
Could these point to where the issues are coming from?
hb
from pkg-zfs.
The following though were exceptions - there is no /etc/init.d/zfs however there is zfs-mount and zfs-share file.
This is proper if you are using the PPA.
- there is a /tank/smbroot folder that is used by the smbd daemon
- there is also a /tank/vicepa folder that is used by openafs
Could these point to where the issues are coming from?
Temporarily disabling both services, cleaning the mount point, and rebooting is an easy way to check.
Note that moving the service mounts up and out of the tank is a way to kludge the problem:
# zfs set mountpoint=/smbroot tank/smbroot
# zfs set mountpoint=/vicepaa tank/vicepaa
# : dismount, clean the /tank, and remount
# ln -s /smbroot /tank/smbroot
# ln -s /vicepaa /tank/vicepaa
from pkg-zfs.
I am closing this ticket because it has gone two weeks without an update. If the problem persists, then please reopen the issue.
from pkg-zfs.
Hi, Just providing an update on this issue as I have had some time to work on it.
Basically - if /tank is non-empty mountall does not work.
Mounting all tank/ child fs in different rootdirs and leaving tank empty fixes the problem. Don't know why.
from pkg-zfs.
Okay, thanks for the update. This ticket is reopened so that other people can see it.
I suspect that the problem is caused by an unhandled corner case in the system shutdown logic, but I won't be able to properly diagnose it until I can get a reproducer.
from pkg-zfs.
I had the same problem. Apparently during reboot after upgrade from linux-image-3.2.0-55-generic to linux-image-3.2.0-56-generic. I unmounted everything, removed the empty directories under /tank that were apparently present on the ext4 root filesystem. After that zfs mount -a did the trick and /tank was mounted along with the child datasets.
from pkg-zfs.
Given that the systemd stack fully superseded upstart and mountall -- thereby mooting these issues -- I will close this ticket as stale.
from pkg-zfs.
I hope everyone on trusty will be able to upgrade to xenial
from pkg-zfs.
I hope everyone on trusty will be able to upgrade to xenial
Ubuntu doesn't have an officially supported upgrade path between Trusty and Xenial for ZoL features.
That said, simple in-pool configurations should migrate easily. Systems that use upstart
events, /etc/fstab
customizations, or a ZFS root filesystem will need attention.
Please bench test all upgrades.
from pkg-zfs.
Related Issues (20)
- ubuntu trusty 14.04 on zfs-stable ppa does not have v0.6.5.8 HOT 18
- PPA packages for xenial / yakkety HOT 2
- Ubuntu 17.04, initramfs zfs script does not honor datasets with canmount property set to none HOT 6
- Ubuntu 14.04 ubuntu-zfs Depends: zfs-dkms but it is not installable HOT 3
- 0.6.5.11 hasn't been built for Ubuntu stable ppa HOT 1
- zfs-mount.service Working Directory Issue
- ZFS daily/stable PPA for Ubuntu 16.04 xenial possible? HOT 4
- CentsOS 7 not booting after 'yum update' - zfs kernel module missing (using zfs-kmod)
- Root on Ubuntu 18.04 "recordsize" too large?
- Problem EL7 (CentOS RHEL) to a Native ZFS Root Filesystem HOT 4
- zvol for swap and sync=? HOT 5
- Repository ubuntu server 18.04 no release file found
- EL7 (CentOS 7.6) After Native ZFS Installation, Second Array causes grub to fail: No Device found HOT 2
- Can the root be on a RAID-Z1?
- Missing command detecting ZFS-ID
- Error during upgrade to 0.8.1-1ubuntu14.2 HOT 1
- ZFS on Ubuntu16 (booting from non-zfs volume) does not mount /var from ZFS-Dataset HOT 1
- ZFS_INITRD_ADDITIONAL_DATASETS does not work
- Importing multiple encrypted pools at boot HOT 3
- compatibility with `openrc` (Devuan) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pkg-zfs.