[zfs-discuss] spa_import_rootpool: error 22

2011-03-31 Thread Thierry Delaitre
Hello,

 

I've had a power kill on a server and the V880 cannot now mount the main
root filesystem.

 

I can boot the server into single user mode from the network.

 

However, how can i rectify the corrupted ZFS disk ?

 

Cheers.

 

T.

 

NOTICE:

spa_import_rootpool: error 22

 

Cannot mount root on
/pci@8,60/SUNW,qlc@2/fp@0,0/disk@w2104cf6892b0,0:a fstype zfs

 

panic[cpu2]/thread=180e000: vfs_mountroot: cannot mount root

 

0180b950 genunix:vfs_mountroot+358 (800, 200, 0, 1873c00,
189d400, 18c7400)

  %l0-3: 010bb400 010bb334 01879560
011e8400

  %l4-7: 011e8000 018c9800 0600
0200

0180ba10 genunix:main+a0 (1815280, 180c000, 18398b0, 18c3c00,
181b678, 1815000)

  %l0-3: 0180c000 0180c000 70002000


  %l4-7: 0183ec00 0002 0180c000


 

skipping system dump - no dump device configured

rebooting...



--
The University of Westminster is a charity and a company limited by
guarantee.  Registration number: 977818 England.  Registered Office:
309 Regent Street, London W1B 2UW, UK.
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] spa_import_rootpool: error 22

2011-03-31 Thread David Magda
On Thu, March 31, 2011 09:22, Thierry Delaitre wrote:
 I've had a power kill on a server and the V880 cannot now mount the main
 root filesystem.

 I can boot the server into single user mode from the network.

 However, how can i rectify the corrupted ZFS disk ?

 NOTICE:
 spa_import_rootpool: error 22

 Cannot mount root on
 /pci@8,60/SUNW,qlc@2/fp@0,0/disk@w2104cf6892b0,0:a fstype zfs

 panic[cpu2]/thread=180e000: vfs_mountroot: cannot mount root
[...]

At the OBP's 'ok' prompt, try a 'boot -L':

-L
 List the bootable datasets within a ZFS pool.   You  can
 select  one  of the bootable datasets in the list, after
 which detailed instructions for booting that dataset are
 displayed.  Boot  the  selected dataset by following the
 instructions. This option is  supported  only  when  the
 boot device contains a ZFS storage pool.

This should hopefully give you a list of datasets that are available. If
nothing comes up, do a 'boot net' or 'boot cdrom' of a recent Solaris 10
Update, and once you're at the shell prompt, do a 'zpool import' to get a
list of importable pools.


___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss