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

CJ Keist cj.keist at colostate.edu
Wed Dec 11 20:10:08 UTC 2013


Thanks,
    I'll give that a shot and see how it goes.  I'm running OI 5.11 
oi_151a8 i86pc i386 i86pc Solaris



On 12/11/13, 1:03 PM, Jim Klimov wrote:
> 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
>
>
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss

-- 
C. J. Keist                     Email: cj.keist at colostate.edu
Systems Group Manager           Solaris 10 OS (SAI)
Engineering Network Services    Phone: 970-491-0630
College of Engineering, CSU     Fax:   970-491-5569
Ft. Collins, CO 80523-1301

All I want is a chance to prove 'Money can't buy happiness'



More information about the OpenIndiana-discuss mailing list