ZFS 'mount error 5' hits production server

Steven Hartland killing at multiplay.co.uk
Thu Dec 4 13:17:18 UTC 2014


On 04/12/2014 12:28, Michael Schmiedgen wrote:
> On 04.12.2014 12:52, Steven Hartland wrote:
>>
>>> Please tell if I should provide some more information.
>> Did you try converting from tank from legacy to standard mount point?
>>
>
> I already tried, but I cannot, because it is mounted.
>
> # zfs set mountpoint=/ tank
> error: cannot unmount / (...or something)
>
> Or is there another way to do this?
Off the top of my head, never had to do this, you'll need to boot from a 
something like an mfsroot cd mount the pool with an alt root and no 
mount then change the mount point from there.

So something like:
zpool import -R /mnt -N tank
zfs set mountpoint=/ tank

     Regards
     Steve


More information about the freebsd-stable mailing list