I'm trying to list the size of all files on a volume group in AIX 5.3. I need to backup a volume group and I need to determine if it will fit on the tapes I have available.

This question lists 'pvdisplay' and 'pvs' which aren't available in AIX it seems.

link|improve this question

78% accept rate
pvdisplay and friends are LVM commands, and AIX is not Linux. I think this question should be migrated to serverfault. – haimg Dec 14 '11 at 15:55
feedback

migrated from superuser.com Dec 20 '11 at 7:09

This question came from our site for computer enthusiasts and power users.

2 Answers

lsvg -p <volume group> will list the volumes in a volume group (and sizes)
lsvg -l <volume group> will list the logical volumes (and file systems)

To add up file sizes I think you need to look at the file system (du command)

link|improve this answer
feedback

Use the 'lsvgfs' command against your volume group, and then sum the Used column from 'df' for those filesystems.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.