Hi all,
I was attempting to mirror my root storage pool and apparently nuked or screwed
up my vtoc. Using the format command, I have been able to now at least see the
pool exists, but it is in a corrupt state. Talking to some others, they have
instructed me that you may have more ideas as to what I should try.
I installed Open Solaris to my entire harddrive and tried to mirror it to an
external USB drive when this happened.
This is my prtvtoc command output:
jack at opensolaris:~$ pfexec prtvtoc /dev/rdsk/c4t0d0s2
* /dev/rdsk/c4t0d0s2 partition map
*
* Dimensions:
* 512 bytes/sector
* 63 sectors/track
* 255 tracks/cylinder
* 16065 sectors/cylinder
* 30400 cylinders
* 30398 accessible cylinders
*
* Flags:
* 1: unmountable
* 10: read-only
*
* Unallocated space:
* First Sector Last
* Sector Count Sector
* 0 16065 16064
* 488311740 32130 488343869
*
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
0 2 01 16065 488279610 488295674
2 5 01 0 488295675 488295674
8 1 01 0 16065 16064
And here is my partition table:
Part Tag Flag Cylinders Size Blocks
0 root wu 1 - 30394 232.83GB (30394/0/0) 488279610
1 unassigned wu 0 0 (0/0/0) 0
2 backup wu 0 - 30394 232.84GB (30395/0/0) 488295675
3 unassigned wu 0 0 (0/0/0) 0
4 unassigned wu 0 0 (0/0/0) 0
5 unassigned wu 0 0 (0/0/0) 0
6 unassigned wu 0 0 (0/0/0) 0
7 unassigned wu 0 0 (0/0/0) 0
8 boot wu 0 - 0 7.84MB (1/0/0) 16065
9 unassigned wu 0 0 (0/0/0) 0
Prior to this partition table, when I had rebooted after the computer had hung,
I did not have a root partition entry here. I put this here and now can at
least see the pool:
jack at opensolaris:~$ pfexec zpool import
pool: rpool
id: 3281909672341943803
state: UNAVAIL
status: The pool was last accessed by another system.
action: The pool cannot be imported due to damaged devices or data.
see: http://www.sun.com/msg/ZFS-8000-EY
config:
rpool UNAVAIL insufficient replicas
c4t0d0s0 UNAVAIL corrupted data
Is there anything I can do to recover the data? Please let me know what I can
do and if you need any other information. Any help is greatly appreciated.
Thanks,
Walter
_________________________________________________________________
It?s the same Hotmail?. If by ?same? you mean up to 70% faster.
http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_broad1_122008
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20081221/5aa41a6a/attachment.html>