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!

Veritas volume size

Status
Not open for further replies.

dandan123

Technical User
Sep 9, 2005
505
US
I'm trying to determine the size of a veritas volume (vfs1)

Vxprint output -

v vfs1 - ENABLED ACTIVE 33554432 SELECT - fsgen

df -k
/dev/vx/dsk/dbdg/vfs1
16514554 8559826 7789583 53% /opt/sybase/vfs1

du -sk vfs1
8559826 vfs1

from the above, vxprint reports 33,554,432 sectors, df -k reports 16 Gig, and du -sk reports 8 Gig.

Can anyone decipher for me ?

Thanks

Dan
 
A sector is 512 bytes, so the 33,554,432 sectors that vxprint is reporting is 16 GB. Divide it by 2 and you get 16,777,216 kilobytes, which is 16 GB.

The command "[tt]du[/tt]" is to report Disk Usage, not total disk space. That's just how much is used. That's also the second number reported by the "[tt]df -k[/tt]". Notice that they match.

So, they are all reporting that you have a 16 GB drive that is 53% full because it has just over 8 GB worth of files on it.

Hope this helps.
 
why dont you start using the VMSA ...veritas GUI ....its cool and very handy for this kind of information..

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top