Does anyone happen to know why auto configuration doesn't pick up the
changes to the device?
On X64, vtoc16, capacity information is not only contained in disk label, but in MBR ( the first sector of the disk) as well. Auto configuration will combine both factors to decide the disk type and label. When you expand a lun's size, you should update the MBR(fdisk table) first and then update the label itself.
Is there a reason there are three DEFAULT
entries in the type selection menu?
For a blank disk or no-valid-label disk, a default label will be made by sd layer. If you ever chose to write the default label to the disk, there is a DEFAULT disk type. If you ever wrote DEFAULT labels, and those labels contained different geometries, there will be different DEFAULT types. I admit three DEFAULTs are a little bit confusing, but they have different geometries.
Since the DEFAULT entries don't
have descriptions with the device type information, I had to use trial
and error to see what would happen when I assigned that type to the
device. Also, is there a reason that the total number of cylinders
reported in the partition heading don't match what is displayed for
slice 2?:

# Partiion table menu
Current partition table (original):
Total disk cylinders available: 6524 + 2 (reserved cylinders)

This is the cylinder numbers computed from the real disk geometry and MBR(fdisk table). Since you didn't update the MBR, even though you expand the size of the lun, you didn't actually expand the size of your solaris partition. (four partitions are supported on x86 and only one can be the active solaris partition).
# Slice 2 from the print partition screen
2     backup    wu       0 - 26104      199.97GB    (26105/0/0) 419376825

This is the cylinder numbers from the default label made by sd layer.

My guess, the following steps might work in your case,

#cfgadm -cunconfigure c5::dsk/c5t600601602B9318008CD071B0FF7BDB11d0
#cfgadm -cconfigure c5::dsk/c5t600601602B9318008CD071B0FF7BDB11d0

run format->fdisk,  delete the current partition, quit format
rerun format, answer no if you are asked to Label it now.
select fdisk and type "y" to accept the default partition.
select type->0(Auto configure)
label the disk.

Now your 200GB LUN is ready now.

We are working on a Dynamic Lun Expansion project in which the expanded capacity can be seen immediately by file system without the label work. But this is another story since we only support EFI/GPT label.

--Larry
Thanks for any insight,
- Ryan
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to