[zfs-discuss] spa_import_rootpool: error 22
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
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
Re: [zfs-discuss] Cannot remove zil device
I have a pool that is experiencing the same problem (currently at version 26). I've been able to remove zil devices from it before but at some point they become stuck. The zpool remove command completes with no error, but the device is never really removed and remains in the pool. zpool iostat will show no activity to the device however, and the alloc column shows 16.0E. It is possible to do a zpool replace on the device, but the replacing device will end up in the same state (unusable and unable to be removed). I had a similar problem that turned out to be a PEBKAC - I tried to remove devices in a mirror, not the mirror with the devices... Can you paste the command(s) you're using for this? Btw, log device removal is in from zpool v19, so the one you're using should work. Vennlige hilsener / Best regards roy -- Roy Sigurd Karlsbakk (+47) 97542685 r...@karlsbakk.net http://blogg.karlsbakk.net/ -- I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et elementært imperativ for alle pedagoger å unngå eksessiv anvendelse av idiomer med fremmed opprinnelse. I de fleste tilfeller eksisterer adekvate og relevante synonymer på norsk. ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] Cannot remove zil device
-Original Message- From: Roy Sigurd Karlsbakk [mailto:r...@karlsbakk.net] Sent: Thursday, March 31, 2011 1:14 PM To: Jordan McQuown Cc: zfs-discuss@opensolaris.org; Phillip Steinbachs Subject: Re: [zfs-discuss] Cannot remove zil device I have a pool that is experiencing the same problem (currently at version 26). I've been able to remove zil devices from it before but at some point they become stuck. The zpool remove command completes with no error, but the device is never really removed and remains in the pool. zpool iostat will show no activity to the device however, and the alloc column shows 16.0E. It is possible to do a zpool replace on the device, but the replacing device will end up in the same state (unusable and unable to be removed). I had a similar problem that turned out to be a PEBKAC - I tried to remove devices in a mirror, not the mirror with the devices... Can you paste the command(s) you're using for this? Btw, log device removal is in from zpool v19, so the one you're using should work. Vennlige hilsener / Best regards roy -- Roy Sigurd Karlsbakk (+47) 97542685 r...@karlsbakk.net http://blogg.karlsbakk.net/ -- I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et elementært imperativ for alle pedagoger å unngå eksessiv anvendelse av idiomer med fremmed opprinnelse. I de fleste tilfeller eksisterer adekvate og relevante synonymer på norsk. zpool remove storage c4t11d0 ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] Cannot remove zil device
zpool remove storage c4t11d0 Can you pastebin 'zpool status' as well? PS: Get a decent email client - your quoting is severely broken :P Vennlige hilsener / Best regards roy -- Roy Sigurd Karlsbakk (+47) 97542685 r...@karlsbakk.net http://blogg.karlsbakk.net/ -- I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et elementært imperativ for alle pedagoger å unngå eksessiv anvendelse av idiomer med fremmed opprinnelse. I de fleste tilfeller eksisterer adekvate og relevante synonymer på norsk. ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] Cannot remove zil device
-Original Message- From: Roy Sigurd Karlsbakk [mailto:r...@karlsbakk.net] Sent: Thursday, March 31, 2011 1:41 PM To: Jordan McQuown Cc: zfs-discuss@opensolaris.org Subject: Re: [zfs-discuss] Cannot remove zil device zpool remove storage c4t11d0 Can you pastebin 'zpool status' as well? PS: Get a decent email client - your quoting is severely broken :P Vennlige hilsener / Best regards roy -- Roy Sigurd Karlsbakk (+47) 97542685 r...@karlsbakk.net http://blogg.karlsbakk.net/ -- I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et elementært imperativ for alle pedagoger å unngå eksessiv anvendelse av idiomer med fremmed opprinnelse. I de fleste tilfeller eksisterer adekvate og relevante synonymer på norsk. http://pastebin.com/nD2r2qmh Here is zpool status and zpool version Thanks, Jordan ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] Cannot remove zil device
http://pastebin.com/nD2r2qmh Here is zpool status and zpool version The only thing I wonder about here, is why you have two striped log devices. I didn't even know that was supported. Vennlige hilsener / Best regards roy -- Roy Sigurd Karlsbakk (+47) 97542685 r...@karlsbakk.net http://blogg.karlsbakk.net/ -- I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et elementært imperativ for alle pedagoger å unngå eksessiv anvendelse av idiomer med fremmed opprinnelse. I de fleste tilfeller eksisterer adekvate og relevante synonymer på norsk. ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] Cannot remove zil device
On 03/31/11 12:28, Roy Sigurd Karlsbakk wrote: http://pastebin.com/nD2r2qmh Here is zpool status and zpool version The only thing I wonder about here, is why you have two striped log devices. I didn't even know that was supported. Yes it's supported. ZFS will round robin writes to the log devices. Neil. ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] Cannot remove zil device
You can add and remove mirrored or non-mirrored log devices. Jordan is probably running into CR 7000154: cannot remove log device Thanks, Cindy On 03/31/11 12:28, Roy Sigurd Karlsbakk wrote: http://pastebin.com/nD2r2qmh Here is zpool status and zpool version The only thing I wonder about here, is why you have two striped log devices. I didn't even know that was supported. Vennlige hilsener / Best regards roy -- Roy Sigurd Karlsbakk (+47) 97542685 r...@karlsbakk.net http://blogg.karlsbakk.net/ -- I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et elementært imperativ for alle pedagoger å unngå eksessiv anvendelse av idiomer med fremmed opprinnelse. I de fleste tilfeller eksisterer adekvate og relevante synonymer på norsk. ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss