You could sidestep the geometry issue by using EFI/GPT labels.  "format 
-e", then select "label" at which point format will prompt:

format> label
[0] SMI Label
[1] EFI Label
Specify Label type[1]:

Hope this helps,

-Peter

Moore, Joe wrote:
> I am presenting ZFS zvols over iSCSI to other Solaris hosts, but am
> losing quite a bit of disk space that I don't want to lose:
>
> I create a zvol of 4GB, make a target of it, then add the static-config
> to the iscsi initiator.
>
> When I carve up the disk in format, it sees it as a 128-cylinder disk,
> and reserves 2 of the cylinders as "spare".  That leaves me with a
> 3.94GB usable space.
>
> If I manually change the geometry, I can get the 2 cylinders back (or
> write a label that has a different cylinder size, reducing the "cost" of
> the 2 spares), but I don't want to require all of my admins to do these
> extra steps.
>
> It looks like the disk geometry is specified in
> /etc/iscsi/tgt/<target-alias>/params.0 -- There's entries for heads,
> cylinders, etc. but I don't see any place to modify these (or to force
> iscsitgtd to reread them)
>
> Is this something that's changeable?
>
> --Joe
> _______________________________________________
> storage-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/storage-discuss
>
>   

_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to