sun via illumos-zfs
2014-05-13 14:37:47 UTC
Hi All,
I have a disk with zpool on it and it was EFI labeled.
When I put this disk on Solaris 8, it does not know there was a file
system on it.
By mistake, I labeled it to VTOC. Back to Solaris 10, the zpool can not
be imported again.
So, how can I get my data back ?
It seems that it can be done by the following method(I tested it on a
new disk, it works well):
1) re-format the disk to EFI label
# format -e
2) write the original partition map back to the disk.
# cat EFI_original_partition_information | fmthard -s - /dev/rdsk/c2d1s0
3) Then, the pool can be imported normally.
But, what if I don't know the original partition map?
Can any one help me?
I have a disk with zpool on it and it was EFI labeled.
When I put this disk on Solaris 8, it does not know there was a file
system on it.
By mistake, I labeled it to VTOC. Back to Solaris 10, the zpool can not
be imported again.
So, how can I get my data back ?
It seems that it can be done by the following method(I tested it on a
new disk, it works well):
1) re-format the disk to EFI label
# format -e
2) write the original partition map back to the disk.
# cat EFI_original_partition_information | fmthard -s - /dev/rdsk/c2d1s0
3) Then, the pool can be imported normally.
But, what if I don't know the original partition map?
Can any one help me?