- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Image size with make_sys_image
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2005 03:41 PM
11-28-2005 03:41 PM
Image size with make_sys_image
I'm trying to do a Ignite DVD from a system here, and when I'm creating the image file with make_sys_image, the size on the file is getting bigger than 4.7 GB... How could I remain under the 4 GB size for my system image???
here is the make_sys_image command line I use:
/opt/ignite/date/scripts/make_sys_image -s local -d /var/tmp/image/archives -l 1 -n B.11.11_archive.gz
Regard
Jonathan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2005 03:47 PM
11-28-2005 03:47 PM
Re: Image size with make_sys_image
Is the /var/tmp/image/archives directory in VG00? make_sys_image could be backing up the image you are creating, thus adding to the file size significantly.
If you are in fact trying to create a DVD, then your B.11.11_archive.gz actually has to be 2GB or less. The warning given in the documentation is absolutely true!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2005 02:23 AM
11-29-2005 02:23 AM
Re: Image size with make_sys_image
I've got this message:
* Preparing to create a system archive.
* Testing for necessary pax patch.
* Passed pax tests.
* Archiving contents of hpkrndb via tar to
/var/tmp/image/archives/B.11.11_archive.gz.
pax: oradata01/WFCP/temp.dbf : > 8GB. Not Dumped.
the oradata01 filesystem is on another VG, and uses SAN disks... is this means that make_sys_image is going through the other VGs???
Can I specify make_sys_image not to archive the other VGs than VG00 and exclude the /var/tmp/image filesystem???
Regards
Jonathan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2005 04:12 AM
11-29-2005 04:12 AM
Re: Image size with make_sys_image
+ NO_ARCHIVE
/var/opt/images/*
and invoke make_sys_image :
/opt/ignite/date/scripts/make_sys_image -s local -d /var/tmp/image/archives -f /tmp/exclude_file -l 1 -n B.11.11_archive.gz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2005 06:18 AM
11-29-2005 06:18 AM
Re: Image size with make_sys_image
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2005 06:36 AM
11-29-2005 06:36 AM
Re: Image size with make_sys_image
Use the "-f exclude_file" switch to make_sys_image and specify all filesystems that are not in VG00 using the "+ ONLY NO_ARCHIVE" keywords followed by the non-root VG mount points or edit /opt/ignite/data/scripts/make_sys_image script and specify them under the LEVEL2_NO_ARCHIVE keyword.
regards!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2005 06:45 AM
11-29-2005 06:45 AM
Re: Image size with make_sys_image
cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2005 06:53 AM
11-29-2005 06:53 AM
Re: Image size with make_sys_image
In your command line you're not specifying archive compression with the "-c" switch. use as follows:
/opt/ignite/date/scripts/make_sys_image -s local -d /var/tmp/image/archives -l 1 -n B.11.11_archive.gz -c g
This will create a gzip compressed archive.
cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2005 01:24 AM
12-03-2005 01:24 AM
Re: Image size with make_sys_image
gzipped archive is the default when no "-c" is specified.
bv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2005 10:27 AM
12-03-2005 10:27 AM
Re: Image size with make_sys_image
du -kx /tmp | sort -rn
du -kx /var | sort -rn
This will show the biggest directories. /tmp should be fairly small (just a few megs) since most files are temporary and can probably be removed. To find the biggest files:
ll | sort -rnk5 | head -20
In /var, look at the big directories and either exclude them (such as Ignite and make_sys_image files), or remove/trim the files. /var/preserve contains temporary vi files and /var/adm contains lots of logfiles that may be trimmed. Also look at /var/adm/syslog and trim the mail.log and syslog.log files. Other areas that can be trimmed are /var/spool, /var/opt, /var/mail, /var/crash, or whatever your du -kx /var shows.
Bill Hassell, sysadmin