[OpenIndiana-discuss] Zpool crashes system on reboot and import

Jim Klimov jimklimov at cos.ru
Wed Dec 11 20:03:34 UTC 2013


On 2013-12-11 20:53, CJ Keist wrote:
> Thanks,
>     This does look exactly like what I'm running into.  I have found the
> zfs file system that crashed my system when it tried to mount.  The post
> said to import the pool readonly which I have done, and then:
>
> set only the affected zfs fs to readonly and remount the zpool in
> read-write mode
>
> Problem with this is that you cannot make any changes when the pool is
> in readonly mode?  So how can I set this one zfs fs to read only before
> I import the pool in?

Does import without mount help?

zpool import -N badpool
zfs set readonly=on badpool/badfs
zfs mount -a

Something like this I guess?

By the way, did I miss, or did you not mention the distro/release/kernel
versions? (Maybe something for this was fixed since the release you use?)

HTH,
//Jim




More information about the OpenIndiana-discuss mailing list