-
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
Snapshot renaming on Ubuntu 12.04 #876
Comments
This is the first report I've seen of this issue. It's possible it was accidentally introduced by some of the Illumos backports, we'll need to investigate further to get to the bottom of it. |
I just ran into the very same issue both on my main system and on a live cd with fresh ubuntu-zfs installed from the stable ppa. It worked again after downgrading libzfs from 0.6.0.71-0ubuntu1 |
@vx This looks like an issue introduced by commit 330d06f which was an Illumos backport. Interestingly, there doesn't appear to be a fix for this upstream. So either they haven't noticed yet, or circumstances are such that it just hasn't caused problems. @droebbel At a minimum it would be nice to handle the error similarly to get_clones_cb(). Can you add the following debug patch to your build so the next time it occurs we'll get a little more information about exactly what caused the failure. |
This is strange - I am unable to reproduce this behavior on FreeBSD or OpenIndiana. |
With the debug patch above, I get the following: zfs rename -r wawabackup01@alt wawabackup01@modrig Going to test mmatuskas fix in a minute... |
I have added a minimalistic version of the fix: 774d61b |
Thanks for the fix. It looks good to me and nicely explains why this was a Linux only issue. I'll run it through the automated tests here and hopefully get it in to the tree tomorrow. |
Configure logging to only log our own packages at DEBUG/TRACE. This way we don't have to keep adding too-chatty 3rd party packages to the exception list.
Hello all,
I'm running Ubuntu Server 12.04.1 Precise Pangolin x64 (uname: Linux kaylee 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux). I use the Ubuntu PPA (stable) to install ZoL, and initially installed 0.6.0-rc9 (or whatever the Ubuntu version equivalent was) on an otherwise stock Precise install. Everything was running quite smoothly until I "apt-get update"ed to rc10.
Now, I've noticed when renaming a snapshot, I get the following error:
The specific name of the snapshot doesn't seem to matter; I've tried dozens. I should mention I had had this issue under kernel 3.2.0-27-generic as well, which is what I was running at the time of the initial upgrade (upgraded to *29-generic wondering if that would fix it).
I have two zpools as follows:
This happens 100% of the time renaming a snapshot on the RAIDz1 ("export") pool; it does not happen at all on the striped ("media") pool. I have tried scrubbing the array, destroying and re-snapshot-ing, and "apt-get install --reinstall ubuntu-zfs spl-dkms zfs-dkms". Nothing seems to work. I feel like I'm missing something dumb. Ideas?
This is an older Dell Poweredge SC430, with a Pentium D processor and 4 GB ECC RAM. dmesg output follows. Thanks!
The text was updated successfully, but these errors were encountered: