If you use "df -k" it will list your disks information (partition/number of blocks assigned (in Kb)/number of blocks used (in Kb)/number of blocks available (in Kb)/Percent used/ and mountpoint. Example:
$ df -k
Filesystem kbytes used avail capacity Mounted on
/dev/vx/dsk/rootvol 127807 51145 63882 45% /
That should give you all the information you are looking for. Meekness: Uncommon patience in planning a revenge that is worth while.
-- Ambrose Bierce
My fault, for not writing my question correctly. In AIX is there is a command "lspv" and "lspv hdisk#" That will just give information on the disk. What I was looking for, or what I can't tell from the "df" command is what disk the file systems are on and how much space is left on the physical disk. Was not sure if there was something similar. The "lspv hdisk#" command gives the following output:
PHYSICAL VOLUME: hdisk0 VOLUME GROUP: datavol
PV IDENTIFIER: 009620957a382794 VG IDENTIFIER 000f4bbf00004c00000000ee0394ca43
PV STATE: active
STALE PARTITIONS: 0 ALLOCATABLE: yes
PP SIZE: 64 megabyte(s) LOGICAL VOLUMES: 6
TOTAL PPs: 271 (17344 megabytes) VG DESCRIPTORS: 2
FREE PPs: 102 (6528 megabytes) HOT SPARE: no
USED PPs: 169 (10816 megabytes)
FREE DISTRIBUTION: 31..00..00..17..54
USED DISTRIBUTION: 24..54..54..37..00
When I log on to one of our Sun servers I have no idea how many disks etc. there are.
Again, thanks for your help, and sorry about not being clear.
John
for documentation on your specific version of Solaris, it also has manpages listed alphabetically. Meekness: Uncommon patience in planning a revenge that is worth while.
-- Ambrose Bierce
Hi,
And thanks
Before I posted the question I did an "apropos" on "disk" and a couple of other things on the server I needed to check and did not see anything. I did not think of looking for "dev". Thanks for the tip on the "doc/sun.com" site, I will check it out. That should help.
GO back to AIX ! I can't believe now good it was when I was at a IBM AIX shop! Solaris is not as easy to manage. The Solaris allocates file systems is so out dated, I feel like I am back in the old DOS days. It was so nice on AIX to be able to have any number of file systems on a single hard drive and then to expand them to other drives on the fly.
Also the mirroring process is built into the kernel so root can be mirrored must easyer than with disk suite.
Ha ha good one.. Not to worry, I was asked to get some info off a Sun server, I still administer 6 RS/6000 and three are running AIX 5.1... IT's great! Hope you can return to the world of AIX soon.
Thanks
John
Yeah eskolnik, sorry to hear it. I'm doing AIX storage administration and get to work daily with the LVM on AIX 5.1L, etc.. Sorry to hear of your primitive surrondings. Have a great weekend. Meekness: Uncommon patience in planning a revenge that is worth while.
-- Ambrose Bierce
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.