On Sep 21, 2009, at 8:59 AM, Sascha wrote:
Hi Darren,
sorry that it took so long before I could answer.
The good thing:
I found out what went wrong.
What I did:
After resizing a Disk on the Storage, solaris recognizes it
immediately.
Everytime you resize a disk, the EVA storage updates the discription
which contains the size. So typing "echo |format" shows promptly the
new discription.
So that seemed to work fine.
But It turned out that "format" doesn't automagically update the
amount of cylinders/sectors.
So i tried to "auto configure" the disk.
When I did that, the first sector of partition 0 changed from sector
# 34 to # 256. (which makes label 0 and 1 of zpool unaccessible).
This was a change made long ago, but it finally caught up with you.
You must have created the original EFI label with an older version of
[Open]Solaris. If you then relabel with automatic settings, the starting
sector will change to the 256 value, which is a much better starting
point.
-- richard
The last sector changed to the new end of the disk (which makes
label 3 and 4 of the zpool unaccessible).
Partition 8 changed accordingly and correctly.
If I then relabel the disk the zpool is destroyed.
Label 0 and 1 of the zpool are gone and, obviously label 2 and 3 too.
What I did to solve it:
1. Changed the size of a disk/LUN on the storage
2. Verified the position of the starting sector of partition 0
3. Did an auto configure
4. Changed starting sector of partition 0 to the formerly starting
sector from step #2
5. labeled the disk
I then was able to impoort the zpool
Do you know why the "auto configure" changes the starting cylinder ?
What I also found out is that it did not happen every time.
Sometimes the first sector of partition 0 changes, sometimes not.
Up to now I can't find any correlation between when and why.
Sascha
--
This message posted from opensolaris.org
_______________________________________________
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