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!

mksysb - estimate the size of

Status
Not open for further replies.

madra

MIS
Feb 12, 2003
95
GB
How do you estimate the size of what a mksysb will be ?

Do you go solely from the size of the boot.image, or do you calculate the total size of the size of space used with rootvg ?

thanks

madra
 
space used in rootvg, in mounted filesystems.

HTH,

p5wizard
 
Remember to discount any raw logical volumes you may have. You can also create a file called /etc/exclude.rootvg in which I normally exclude /tmp.

Mike

"A foolproof method for sculpting an elephant: first, get a huge block of marble, then you chip away everything that doesn't look like an elephant."

 
Mike,

space used in rootvg, in mounted filesystems.

This already excludes RAW LVs...

But you're right about /etc/exclude.rootvg.


HTH,

p5wizard
 
I was refering to user defined paging space and raw devices like sysdumpdev.

Mike

"A foolproof method for sculpting an elephant: first, get a huge block of marble, then you chip away everything that doesn't look like an elephant."

 
Here's how to check the actual mksysb size without using up disk space or tape:

Code:
mknod /tmp/mksysbtest p
mksysb /tmp/mksysbtest &
dd if=/tmp/mksysbtest of=/dev/null obs=1024
rm /tmp/mksysbtest

Add any flags you would normally use to the mksysb command.

The "records out" line of output from dd will be your mksysb size in Kb.

Rod Knowlton
IBM Certified Advanced Technical Expert pSeries and AIX 5L
CompTIA Linux+
CompTIA Security+

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top