Re: [zfs-discuss] HELP! zpool corrupted data

2010-04-27 Thread Clint
Cindy,

Thanks for your help as it got me on the right track.  The OpenSolaris Live CD 
wasn't reading the GUID/GPT partition tables properly, which was causing the 
Assertion failed errors.  I relabeled the disks using the partition 
information I was able to get from the FreeBSD Live CD, and then was able to 
import/repair the zpool using the latest OpenSolaris Live CD.

Thanks!
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] HELP! zpool corrupted data

2010-04-22 Thread Cindy Swearingen

Hi Clint,

Your symptoms to point to disk label problems, dangling device links,
or overlapping partitions. All could be related to the power failure.

The OpenSolaris error message (b134, I think you mean) brings up these
bugs:

6912251, describes the dangling links problem, which you might be able
to clear up with devfsadm -C
6904358, describes this error due overlapping partitions and points to 
this CR:


http://defect.opensolaris.org/bz/show_bug.cgi?id=13331

If none of the above issues match, review what ZFS thinks the disk
labels are and what the disk labels actually are post-power failure.

On the OpenSolaris side, you can use zdb command to review the disk
label information. For example, I have a pool on c5t1d0 so to review the 
pool's idea of the disk labels, I use this command to review whether

the disk labels are coherent.

# zdb -l /dev/rdsk/c5t1d0s0

Review the above bug info and if it turns out that the disk labels
need to be recreated, maybe someone who had done this task can help.

Thanks,

Cindy

On 04/21/10 16:23, Clint wrote:

Hello,

Due to a power outage our file server running FreeBSD 8.0p2 will no longer come 
up due to zpool corruption.  I get the following output when trying to import 
the ZFS pool using either a FreeBSD 8.0p2 cd or the latest OpenSolaris snv_143 
cd:

FreeBSD mfsbsd 8.0-RELEASE-p2.vx.sk:/usr/obj/usr/src/sys/GENERIC  amd64
mfsbsd# zpool import
  pool: tank
id: 1998957762692994918
 state: FAULTED
status: The pool was last accessed by another system.
action: The pool cannot be imported due to damaged devices or data.
The pool may be active on another system, but can be imported using
the '-f' flag.
   see: http://www.sun.com/msg/ZFS-8000-EY
config:

tankFAULTED  corrupted data
  raidz1ONLINE
gptid/e895b5d6-4bab-11df-8a83-0019d159e82b  ONLINE
gptid/e96cf4a2-4bab-11df-8a83-0019d159e82b  ONLINE
gptid/ea4a127c-4bab-11df-8a83-0019d159e82b  ONLINE
gptid/eb3160a6-4bab-11df-8a83-0019d159e82b  ONLINE
gptid/ec02f050-4bab-11df-8a83-0019d159e82b  ONLINE
gptid/ecdb408b-4bab-11df-8a83-0019d159e82b  ONLINE

mfsbsd# zpool import -f tank
internal error: Illegal byte sequence
Abort (core dumped)


SunOS opensolaris 5.11 snv_134 i86pc i386 i86pc Solaris

r...@opensolaris:/# zpool import -nfFX -R /mnt tank
Assertion failed: rn-rn_nozpool == B_FALSE, file ../common/libzfs_import.c, 
line 1078, function zpool_open_func
Abort (core dumped)


I don't really need to get the server bootable again, but I do need to get the 
data off of one of the file systems. Any help would be greatly appreciated.

Thanks,
Clint

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


[zfs-discuss] HELP! zpool corrupted data

2010-04-21 Thread Clint
Hello,

Due to a power outage our file server running FreeBSD 8.0p2 will no longer come 
up due to zpool corruption.  I get the following output when trying to import 
the ZFS pool using either a FreeBSD 8.0p2 cd or the latest OpenSolaris snv_143 
cd:

FreeBSD mfsbsd 8.0-RELEASE-p2.vx.sk:/usr/obj/usr/src/sys/GENERIC  amd64
mfsbsd# zpool import
  pool: tank
id: 1998957762692994918
 state: FAULTED
status: The pool was last accessed by another system.
action: The pool cannot be imported due to damaged devices or data.
The pool may be active on another system, but can be imported using
the '-f' flag.
   see: http://www.sun.com/msg/ZFS-8000-EY
config:

tankFAULTED  corrupted data
  raidz1ONLINE
gptid/e895b5d6-4bab-11df-8a83-0019d159e82b  ONLINE
gptid/e96cf4a2-4bab-11df-8a83-0019d159e82b  ONLINE
gptid/ea4a127c-4bab-11df-8a83-0019d159e82b  ONLINE
gptid/eb3160a6-4bab-11df-8a83-0019d159e82b  ONLINE
gptid/ec02f050-4bab-11df-8a83-0019d159e82b  ONLINE
gptid/ecdb408b-4bab-11df-8a83-0019d159e82b  ONLINE

mfsbsd# zpool import -f tank
internal error: Illegal byte sequence
Abort (core dumped)


SunOS opensolaris 5.11 snv_134 i86pc i386 i86pc Solaris

r...@opensolaris:/# zpool import -nfFX -R /mnt tank
Assertion failed: rn-rn_nozpool == B_FALSE, file ../common/libzfs_import.c, 
line 1078, function zpool_open_func
Abort (core dumped)


I don't really need to get the server bootable again, but I do need to get the 
data off of one of the file systems. Any help would be greatly appreciated.

Thanks,
Clint
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss