-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
legacy mountpoints not working for RHEL6 #3300
Comments
I met the same problem while upgrade my setup from 0.6.3 to 0.6.4. I'm running zfsonlinux on CentOS 6.6 x86_64. The whole system is up to date. I built a virtual machine to see if I can duplicate this situation. The answer is yes. For version 0.6.3 I wouldn't have such a problem. I have been populating my /var, /home and swap partition on my zfs pool since 0.6.0 using legacy mount without a problem until now. |
@sl6xx with your VM: Could you repro only with a 0.6.3->0.6.4 upgrade, or are legacy mountpoints broken even when created with 0.6.4? |
Actually this is what I have done first on out backup server, to upgrade from 0.6.3 to 0.6.4. It was broken tha I removed all 0.6.4 packages and reinstalled 0.6.3 to have it work again. I then tried another clean setup for 0.6.4 to reproduce the problem that I went here to report this problem. |
Set the ZFS module parameter It was changed to 1 as the default during the 0.6.4 development release and |
Yes this did solve the problem. Thanks. |
This is something which #3337 will address. The patch breaks up the startup in to multiple init scripts so things can be staged properly. This will be critical because my intention was to remove |
From a user perspetive it would be nice if the relase that removed |
@cburroughs that's was supposed to be this release. But I don't mind leaving this functionality in place if possible until we get this sorted out. The idea was to change to default but leave the option in place so we'd have a chance to detect any issues. |
then take code from the already existing ones, trying to merge them into one. + NFS server service is just called 'nfs' in Redhat based system, and nfs-kernel-server on Debian GNU/Linux based. + Merge #2148 - Inform OpenRC that ZFS uses mtab. + Stop after umountfs + When stopping, don't check for LOCKDIR/zfs-mount - it won't be mounted, so the file won't exist making the script not run. + Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. + The import function, do_import(), imports pools by name instead of '-a' [all]. + Test all '/dev/disk/by-*' dirs for import. Include /dev as a last ditch attempt. + Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. + Add exceptions to pool imports. * ZED script from the Debian GNU/Linux packages added. Signed-off-by: Turbo Fredriksson [email protected] Closes: #2974, #2107, #2116.
Originally, we'd planned to remove |
Closing, we've leave the open in place since there's no compelling reason to remove it. |
centos6
That was the starting state After
yum update zfs
and reboot/var
is messed up. Ater reboot/var
seems to be missing all of the files that are normally there, and only contains some files that were created along the way during boot:The text was updated successfully, but these errors were encountered: