Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Dec 2014 13:19:08 +0000
From:      Steven Hartland <killing@multiplay.co.uk>
To:        Michael Schmiedgen <schmiedgen@gmx.net>, freebsd-stable@freebsd.org
Subject:   Re: ZFS 'mount error 5' hits production server
Message-ID:  <54805F4C.1010909@multiplay.co.uk>
In-Reply-To: <5480535E.3010202@gmx.net>
References:  <547F6E54.5020706@takwa.de> <547F98AF.9070701@multiplay.co.uk> <547FA5A9.1010600@gmx.net> <547FAF3C.5080002@multiplay.co.uk> <547FB3AB.6030003@gmx.net> <548044E6.1020703@gmx.net> <54804AF3.9020805@multiplay.co.uk> <5480535E.3010202@gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54805F4C.1010909>