Re: [zfs-discuss] Forcing ZFS options

2012-11-12 Thread Matthew Ahrens
In general, you can force the unmount with the -f flag. As to your specific question of changing the mountpoint to somewhere that it can't currently be mounted, it should set the mountpoint property but not remount it. E.g.: # zfs set mountpoint=/ rpool/test cannot mount '/': directory is not

[zfs-discuss] Forcing ZFS options

2012-11-09 Thread Jim Klimov
There are times when ZFS options can not be applied at the moment, i.e. changing desired mountpoints of active filesystems (or setting a mountpoint over a filesystem location that is currently not empty). Such attempts now bail out with messages like: cannot unmount '/var/adm': Device busy

Re: [zfs-discuss] Forcing ZFS options

2012-11-09 Thread Gregg Wonderly
Do you move the pools between machines, or just on the same physical machine? Could you just use symlinks from the new root to the old root so that the names work until you can reboot? It might be more practical to always use symlinks if you do a lot of moving things around, and then you

Re: [zfs-discuss] Forcing ZFS options

2012-11-09 Thread Jim Klimov
On 2012-11-09 18:06, Gregg Wonderly wrote: Do you move the pools between machines, or just on the same physical machine? Could you just use symlinks from the new root to the old root so that the names work until you can reboot? It might be more practical to always use symlinks if you do a