-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
one ZFS file system always starts with readonly=on temporary on boot #2133
Comments
According to the output your default value of off has been overridden by a temporary value on. Is it possible this filesystem is being mounted through fstab and the 'ro' option is being passed? |
I just double checked the fstab and /home isn't mounted there at all. Another thing : I noticed that my other ZFS's weren't mounted ... had to Any thoughts on how I can fix this? |
After manually |
Gonna reopen this. I was only able to log in one time without manually setting What I have tried: putting Adding the set readonly off after the mount command in /etc/init/mountall.conf
None of these helps. One other problem : My volume resilvers at every boot, but another zpool does not. Another thingL I have a similar setup at work 12.04 Ubuntu running zfs from ppa, with with a zfs mounted at /home ..This setup also mounts with Maybe will try mounting with the legacy options and see if this helps. |
It also occurs to me that the this bug is super annoying. There should be a warning "do not make your /home a zfs mount on ubuntu" |
I can confirm similar behavior with ubuntu 12.04 and zfs /home. This is after a reboot.
/etc/fstab
|
I'm experiencing the same read-only behaviour. I'm using zol since Ubuntu 12.04, issues still there with Ubuntu 14.04. No entries in /etc/fstab. This only happens for one out of three filesystems though, the other 2 have readonly off.
|
I'm seeing similar behavior with /opt on my Ubuntu 14.04 system:
Edit: In my case it just happened once and rebooting fixed it. |
Same issue for me on 14.04.02 64bit. Using the zfs in-built mounting, not fstab. Was working fine until I did a dist-upgrade a few weeks or so ago. As per OP above, if I manually set readonly=off, I can write to the pool, but the property still shows as readonly=on $ sudo zfs get all | grep readonly $ sudo aptitude versions zfs Package libzfs-dev:i386: Package libzfs1: Package libzfs1-dbg: Package libzfs1-dbg:i386: Package libzfs1:i386: Package libzfs2: Package libzfs2-dbg: Package libzfs2-dbg:i386: Package libzfs2:i386: Package ubuntu-zfs: Package ubuntu-zfs:i386: Package zfs-auto-snapshot: Package zfs-dkms: Package zfs-dkms:i386: Package zfs-doc: Package zfs-doc:i386: Package zfs-fuse: Package zfs-fuse:i386: Package zfs-initramfs: Package zfs-initramfs:i386: Package zfsutils: Package zfsutils-dbg: Package zfsutils-dbg:i386: Package zfsutils:i386: |
@timothyjlaurent @ank @hydro-b @DarwinAwardWinner @UltraSalem I've been using ZFS-based home directories on a number of Ubuntu computers (10.04, 12.04 & 14.04) for around 2 years and haven't faced this problem - until yesterday. In my case, this wasn't a bug in ZFS but rather an issue in my startup configuration - as an example, I was able to resolve the situation in the following way:
In essence, my suggestion is to find out if you have any startup processes that are causing this problem. The procedure above may help to identify those. |
I just ran into this today with 0.6.5.7-1~trusty |
I had the same issue with my root partition always mounting read only with "temporary". I don't have zfs in my fstab and haven't overridden anything, just following the instructions in the ZFS on root partition arch wiki page. My kernel commandline was just Turns out the linux kernel defaults to having the root partition read only, and zfs marks this as "temporary". So it was fixed by changing the commandline to |
I am running Ubuntu 12.04.
So I have created a zpool and put my /home directory in a zfs called volume/home.
I discovered after not being able to log in that my home directory was readonly.
Look here:
So if I do
zfs set readonly=off volume/home
I am able to log in and everything is good until I reboot and the volume/home mounts as readonly again, but the listing inzfs get all
remains the same.Can anyone help figure out how to fix this issue?
The text was updated successfully, but these errors were encountered: