-
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
zpool split cannot open '/dev/sdc': Device or resource busy #807
Comments
This is likely because the device has been opened O_EXCL, this has slightly different behavior than on Solaris where it's just advisory. There are several other bugs like this which are being looked at. |
Is there a convenient way to forcefully change this O_EXCL flag on the command line? |
This was fixed in 0.6.1 as a consequence of resolving the hot spares issues. See issue #250 commit 8128bd8.
|
Same experience in current zfs-macOS-2.1.6-1 (maybe similar to moby/moby#24403). A similar earlier attempt was, however, successful.
|
My situation: I am running 0.6.0.65-0ubuntu1~precise1. I have a 3-way mirror with a filesystem tank/home that is mounted as /home with legacy. (Without legacy would not work, but that is a different bug.) So:
zfs list
NAME USED AVAIL REFER MOUNTPOINT
tank 369G 544G 30K /tank
tank/home 369G 544G 369G legacy
Problem:
zpool split tank backup /dev/sdc
always results in the following message:
cannot open '/dev/sdc': Device or resource busy
(I actually use /dev/by-id instead of /dev/sdc, but I left this out for clarity.)
Putting /dev/sdc offline works, but does not resolve this issue.
Manually umount /home does not work because device is busy.
The text was updated successfully, but these errors were encountered: