[indiana-discuss] [caiman-discuss] liveCD could not work as rescue CD?

Jason Zhao Jason.Zhao at Sun.COM
Mon Apr 21 02:49:08 PDT 2008


Thank you,Jan. It's working after import the rpool without explicitly 
export, then reboot.

Thanks
Jason
jan damborsky wrote:
> Hi Jason,
>
> Jason Zhao wrote:
>> Moinak:
>> Moinak Ghosh wrote:
>>> Jason Zhao wrote:
>>>> I think the "zpool import/export" will change the booting up 
>>>> information which results in the panic.
>>>>   
>>>   You should be using   zpool import -R /mnt -f rpool.
>>>
>> I don't think it is working for me! I tried it, but it was still panic.
>>
>> Even it is working, I still believe it's a bug, maybe more properly 
>> for ZFS boot or ZFS bugs. I don't see any difference to import with 
>> -R or not from users' point of view. I haved filed a bug 1365.
>
> We have encountered that behavior when we were doing target discovery 
> of existing
> ZFS pools. The problem is that  "zpool export" makes the root pool no 
> longer
> bootable. I am not sure if this is bug or intended behavior, you might
> need to check with ZFS team.
>
> The workaround is just reboot without explicitly exporting the pool.
>
> Since you already did the "export", you could repair it but booting 
> LiveCD
> and importing the pool. It allows the pool to be bootable again.
> Just make sure that the pool name is not changed from its original set 
> during
> installation.
>
> I have attached appropriate information to the CR as well.
>
> Thank you,
> Jan
>
>>
>> Thanks
>> Jason
>>> Regards,
>>> Moinak.
>>>
>>>> Thanks
>>>> Jason
>>>> Jason Zhao wrote:
>>>>  
>>>>> Hi,
>>>>>
>>>>> Recently I installed a indiana RC1 to hard disk, then I tried to 
>>>>> boot up
>>>>> from liveCD(RC1) in order to change something in hard disk (i.e., the
>>>>> live cd works as rescue cd). I did a "zpool import" and "zpool 
>>>>> export",
>>>>> but I found the OS previously installed *panic*.
>>>>>
>>>>> Here is my steps:
>>>>> 1. initial install indiana RC1
>>>>> 2. boot up from hard disk, and it works OK
>>>>> 3. boot up from live CD again.And do the operations
>>>>> ###############################################
>>>>> -bash-3.2# zpool import rpool
>>>>> cannot import 'rpool': pool may be in use from other system
>>>>> use '-f' to import anyway
>>>>> -bash-3.2# zpool import -f rpool
>>>>> -bash-3.2# zpool list
>>>>> NAME SIZE USED AVAIL CAP HEALTH ALTROOT
>>>>> rpool 35G 2.61G 32.4G 7% ONLINE -
>>>>> -bash-3.2# zfs list
>>>>> NAME USED AVAIL REFER MOUNTPOINT
>>>>> rpool 2.61G 31.8G 56.5K /rpool
>>>>> rpool at install 19K - 55.5K -
>>>>> rpool/ROOT 2.61G 31.8G 18K /rpool/ROOT
>>>>> rpool/ROOT at install 0 - 18K -
>>>>> rpool/ROOT/opensolaris 3.38M 31.8G 2.53G legacy
>>>>> rpool/ROOT/opensolaris/opt 0 31.8G 4.59M /opt
>>>>> rpool/export 102K 31.8G 67K /export
>>>>> rpool/export at install 17K - 19K -
>>>>> rpool/export/home 18K 31.8G 18K /export/home
>>>>> rpool/export/home at install 0 - 18K -
>>>>> -bash-3.2# ls
>>>>> -bash-3.2# zpool export rpool
>>>>> -bash-3.2# zfs list
>>>>> no datasets available
>>>>> -bash-3.2# zpool list
>>>>> no pools available
>>>>> ###############################################
>>>>>
>>>>> 4. Then I reboot from previously installed OS, but it is panic.
>>>>> Here is what is displayed:
>>>>> ###############################################
>>>>> pani[cpu0]/thread=fec1dc60: cannot mount root path /ramdisk:a
>>>>>
>>>>> fec3652c genunix:rootconf+fc (c0f040, 1, fec1d3d0)
>>>>> fec36550 genunix:vfs_mountroot+54 (fe800010, fec32350,)
>>>>> fec36564 genunix:main+b4()
>>>>>
>>>>> panic: entering debugger (no dump device, continue to reboot)
>>>>> Loaded modules: [ scsi_vhci uppc zfs specfs pcplusmp random 
>>>>> cpu.generic ]
>>>>> kmdb: target stopped at:
>>>>> kmdb_enter+0xa: pushl %eax
>>>>> ###############################################
>>>>>
>>>>> Thanks
>>>>> Jason
>>>>> _______________________________________________
>>>>> caiman-discuss mailing list
>>>>> caiman-discuss at opensolaris.org
>>>>> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
>>>>>       
>>>> _______________________________________________
>>>> indiana-discuss mailing list
>>>> indiana-discuss at opensolaris.org
>>>> http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
>>>>   
>>
>> _______________________________________________
>> indiana-discuss mailing list
>> indiana-discuss at opensolaris.org
>> http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
>



More information about the indiana-discuss mailing list