Operating System - HP-UX
1833187 Members
2725 Online
110051 Solutions
New Discussion

Re: How to find Cylinders/Sectors/Disk capacity

 
Sea Monkey
Occasional Advisor

How to find Cylinders/Sectors/Disk capacity

Hi All,

How to find out no of Cylinders/Sectors and Disk capacity for a particular disk ? In Linux, we have fdisk -l .. Will diskinfo be helpful ? It displays only blocks per disk and size.

Cheers
8 REPLIES 8
Torsten.
Acclaimed Contributor

Re: How to find Cylinders/Sectors/Disk capacity

To know something about cylinders/sectors won't be helpful. The command

diskinfo -v /dev/rdsk/cxtydz

will give you the size of the disk.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Devender Khatana
Honored Contributor

Re: How to find Cylinders/Sectors/Disk capacity

Hi,

In HPUx only size is what matters and configuration based on sectors and cylinders is not required.

#diskinfo -v /dev/rdsk/cxtydz

will give the details.

HTH,
Devender
Impossible itself mentions "I m possible"
Sea Monkey
Occasional Advisor

Re: How to find Cylinders/Sectors/Disk capacity

Thanks for your quick replies. I would like to know no of Cylinders/Sectors, that is my requirement. I knew # diskinfo -v will help to some extent and looking for granular command.

Sea
Cem Tugrul
Esteemed Contributor

Re: How to find Cylinders/Sectors/Disk capacity

The diskinfo command determines whether the character special file
named by character_devicefile is associated with a SCSI or floppy disk
drive. If so, diskinfo summarizes the disk's characteristics.

The diskinfo command displays information about the following
characteristics of disk drives:

Vendor name Manufacturer of the drive (SCSI only)
Product ID Product identification number or ASCII name
Type floppy or SCSI classification for the device
Disk Size of disk specified in bytes
Sector Specified as bytes per sector


Our greatest duty in this life is to help others. And please, if you can't
Devender Khatana
Honored Contributor

Re: How to find Cylinders/Sectors/Disk capacity

Hi,

Apart from OS if you let us know the model no. of the disk, we could get some further information about it.

Also I would really be interested to know the specific requirement in HPUx requireing such details.

HTH,
Devender
Impossible itself mentions "I m possible"
Senthil Prabu.S_1
Trusted Contributor

Re: How to find Cylinders/Sectors/Disk capacity

Hi,
The system command "mediainit" will help you. This command is used to format. But, you can also use this to know the number of cylinders each slice have. For ex, select the hard disk, and list the slices available.



HTH,
Prabu.S
One man's "magic" is another man's engineering. "Supernatural" is a null word.
Andrew Rutter
Honored Contributor

Re: How to find Cylinders/Sectors/Disk capacity

hi,

Use diskinfo to get the actual model of disk and then refer this to the manufacturers web site and look at the technical specs of the disk.

there used to be a disk service manual available for download for the older disks which had all the specs in, search docs.hp.com only upto 9gb though.

or search for your model disk in the disktab entries in HPUX, this will give you more info, though not always exact as there are different entries for the same disks.

Andy
Hein van den Heuvel
Honored Contributor

Re: How to find Cylinders/Sectors/Disk capacity


>> Thanks for your quick replies. I would like to know no of Cylinders/Sectors, that is my requirement. I knew # diskinfo -v will help to some extent and looking for granular command.


Pick a number, any number.
The Cylinder/Track information is surpassed by technology.
It is no longer applicable, and the drives just fake a bunch of reasonable sounding numbers which have little or no relevance to the actual hardware and can no longer usefully be exploited (for performance or availabilty reasons).

Specifically, all modern (less than 15 years old :-) disk are 'zoned' with many more (2x) blocks on the outer zones than on the inner zones.

Please help us understand why you think you needtrack/cylinder info other then just to full some useless report.

To date a 'disk' just have total size and availability characteristics.
Unfortunately the availability characteristics (raid 0, 0+1, 5,...) are rarely reported.

Regards,
Hein.