(Answer) (Category) SCO UnixWare 7/OpenUNIX 8/OpenServer 6 FAQ : (Category) Media/Device Information, Filesystems, and Disks :
How do I list the disk geometry like Cylinders, Heads, Bytes/Sector?
The disk geometry is very important to understand so that one can successfully partition and slice their hard drives. The disk geometry is different with each system, and can be changed with a setting in your scsi host adapter Bois called "Enable BIOS translation for DOS drives over 1GB."

To list your geometry, type either command:

        prtvtoc -p /dev/rdsk/c0b0t0d0s0
where you will need to use the correct target id, etc., and be sure that you specify s0 as the slice so that you refer to the entire partition.
I used to say that you could use the partsize command also, but it doesn't tell you the correct values the way prtvtoc does. This is especially true if you have BIOS translation enabled.
Prtvtoc always shows a translated geometry structure for drives with scsi id's 0 and 1 on the boot controller, even if you BIOS translation disabled. That's so it's easier to boot (the whole drive is < 1024 cyls).

Also

      partsize -d /dev/rdsk/c0b0t0d0s0
      prtvtoc -p /dev/rdsk/c0b0t0d0s0
where you will need to use the correct target id, etc., and be sure that you specify s0 as the slice so that you refer to the entire partition.

<mschalit@pacbell.net>
gerberb@zenez.com

[Append to This Answer]
Previous: (Answer) Why would unmounting fail?
Next: (Answer) How do I list my partition and slice layout? Is there a divvy?
This document is: http://www.zenez.com/cgi-bin/ou8faq/faq?file=86
[Search] [Appearance]
This is a Faq-O-Matic 2.721.