Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Find Size in Unformatted Harddisk

Status
Not open for further replies.

sivasakthi

Programmer
Sep 11, 2000
6
US
Hai All,
How the BIOS knows the size of a unformatted Harddisk? Is there any data area in Hard disk itself which stores the size of hte Harddisk...

With regards
Sivasakthivel [sig][/sig]
 
Assuming you're using HP-UX 10 or 11 and you're asking
how you can find out the size, use this:
vgdisplay -v /dev/vgxx (where xx is the volume group)
Look at the line(s) with "PV Name" in them for the
device(s).
Use the raw device name with diskinfo (also for HP-UX 9):
diskinfo /dev/rdsk/cxtydz (where x, y, and z match the
vgdisplay output).
I think it gets the information from /etc/disktab, which
must be manually updated based on information from your
disk vendor if you get a newer disk than the OS and patch
level supplies.
[sig][/sig]
 
Hai,
Where the OS get the info? I am using DOS.. BIOS has the responsiblity to detect the Harddisk and give the size to OS. So that the OS can format the harddisk.. How BIOS get the info


With regards
Siva [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top