11-14-2007
determine the physical size of the hard disk
Hi
is there a cmd in hpux 11 to determine the physical size of the hard disk.
not bdf command.
i have searched the other threads here but cant find an answer.
thank you guys
Last edited by hoffies; 11-14-2007 at 08:56 AM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
I need explanations about physical disks and physical volumes. What is the difference between these 2 things?
In fact, i am trying to understand what the AIX lspv2command does.
Thank you in advance. (2 Replies)
Discussion started by: VeroL
2 Replies
2. Solaris
Friends,
I have an 80 GB HDD, but I wish to know if there is a direct command in Solaris 10 to find out the size of my hard disk (similar to fdisk -l in Linux).
Thank you
saagar (3 Replies)
Discussion started by: saagar
3 Replies
3. Filesystems, Disks and Memory
Hi,
I am trying to find the reliability of 'vmstat -d' for showing the actual physical writes on sectors on hard disk.
Can anyone please tell me if the numbers in the "sectors" field under "read" or "write" headers show a count of the actual write commands sent to disk from the low level... (2 Replies)
Discussion started by: jake24
2 Replies
4. Filesystems, Disks and Memory
How do I check for physical damage on red hat linux hard disks? I tried smartctl /dev/sdb but it came back so fast saying it was ok. Is there a better linux command to check for bad sectors or physical disks in linux? Is there a good way such as with parted or something else? I normally in HP... (4 Replies)
Discussion started by: taekwondo
4 Replies
5. Solaris
I have a Sun T5120, and I want to programmatically determine how much RAM it has.
# uname -a
SunOS myhost 5.10 Generic_141444-09 sun4v sparc SUNW,SPARC-Enterprise-T5120
The box has 64Gb; I tried prtdiag and prtconf, but they give me bogus info
prtconf gives me:
# prtconf |grep -i... (12 Replies)
Discussion started by: thomn8r
12 Replies
6. Linux
Hi all,
I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got started on this project by creating a loopback device to be used as my virtual hard disk. After creating the loop back hard disk and mounting it... (23 Replies)
Discussion started by: shen747
23 Replies
7. AIX
This is the report I got running the comand rptconf, but I would like to know what is the capacity of the disks installed into our server power 6 with AIX
System Model: IBM,7778-23X
Machine Serial Number: 1066D5A
Processor Type: PowerPC_POWER6
Processor Implementation Mode: POWER 6... (6 Replies)
Discussion started by: cucosss
6 Replies
8. UNIX for Dummies Questions & Answers
Hi,
Using Redhat, how do I display total hard disk size? I know how to do that in Solaris, you can type, format. It will show how big the disks are.
This is what I did so for.
$ df -t ext3 -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
... (1 Reply)
Discussion started by: samnyc
1 Replies
9. UNIX for Advanced & Expert Users
Hello,
in one default UFS filesystem we have 8K block size (bsize) and 1K fragmentsize (fsize). At this scenary I thought all "FileSytem IO" will be 8K (or greater) but never smaller than the fragment size (1K). If a UFS fragment/blocksize is allwasy several ADJACENTS sectors on disk (in a ... (4 Replies)
Discussion started by: rarino2
4 Replies
10. Solaris
Hi, looking to upgrade memory on a pair of T5220's from 32GB to 64GB. Cannot determine current DIMM size and slots used. i.e. not sure if Qty 16 x 2GB or Qty 8 x 4GB. If there are no empty slots, i need to go with higher density DIMMs and retire exsisting the 2GB prtdiag follows.
#... (3 Replies)
Discussion started by: edrew
3 Replies
WREN(3) Library Functions Manual WREN(3)
NAME
wren, ata - hard disk interface
SYNOPSIS
bind #H[drive] /dev
bind #w[target[.lun]] /dev
/dev/hd0disk
/dev/hd0partition
/dev/sd0disk
/dev/sd0partition
...
DESCRIPTION
The hard disk interfaces (wren, #w, is a SCSI disk; ata, #H, is an IDE or ATA disk) serve a one-level directory giving access to the hard
disk partitions. The parameter to attach defines the numerical SCSI target and logical unit number or the IDE drive number to access.
Both default to zero.
Each partition name is prefixed by hd and the numeric drive identifier. The partition always exists and covers the entire disk. The size
of each partition as reported by stat(2) is the number of bytes in the partition, so the size of is the size of the entire disk.
The partition also always exists; it is the last block on the disk for SCSI, second to last for IDE. If it contains valid partition data,
those partitions will be visible as well. Every time the device is bound, the partitions are updated to reflect any changes in the parti-
tion file.
The format of the partition file is the string
plan9 partitions
on a line, followed by partition specifications, one per line, consisting of a name and textual strings for the block start and limit for
each partition on the disk.
The program prep(8) writes the partition table for the disk; its use is preferred to writing it by hand.
SEE ALSO
prep(8), scsi(3)
SOURCE
/sys/src/9/port/devwren.c
/sys/src/9/pc/devata.c
WREN(3)