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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disk Size

Status
Not open for further replies.

rksharma

Programmer
Dec 17, 2000
12
US
How do you display the size of all physical disks installed on an RS/6000?
 
I am not at work to double check but I believe if you type df and hit enter it gives you the info you need. Let me know if it works. James Collins
Field Service Engineer
A+, MCP

email: butchrecon@skyenet.net

Please let us (Tek-tips members) know if the solutions we provide are helpful to you. Not only do they help you but they may help others.
 
"df" only displays the size of the mounted file systems?

Thanks.
 
I am not sure. You could be correct. I have a string at work. But I wont be there till Thursday. James Collins
Field Service Engineer
A+, MCP

email: butchrecon@skyenet.net

Please let us (Tek-tips members) know if the solutions we provide are helpful to you. Not only do they help you but they may help others.
 
Hi! rksharma
let's try to follow commans.
#lsdev -Cc disk(it's show all pysical disk with description)
#lspv hdisknumber(it's show each disk size)
#lsvg vgname (it's show all disk size in each vg)
if you got have a disk which didn't assosiate vg,
you couldn't show disk size
sorry for bed english
hope to help
thanks & regards :)
 
Hi

the bootinfo -s "hdiskn" shows the size.
lspv shows the diskto vg information
lspv -l "hdiskn" lvs on disk
lsdev -Cc disk shows the SCSI Connection.
lsattr -El "hdiskn"
lsvg -p rootvg shows the disks and PPS in rootvg
 
this will show you the sizes of the disks that are "set up" in the system.

# for i in `lspv|awk '{ print $1 }'` ; do
> echo $i
> lspv $i | grep "TOTAL PPs" | awk '{ print $4,$5 }'
> done

As far as the disks that have not been set up logically, try this.

# lsdev -Cc disk | grep -v "Available"

crowe
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top