Operating System - HP-UX
1748165 Members
3738 Online
108758 Solutions
New Discussion юеВ

Re: How to capture an imgae from HPUX 11i v2 while excluding some mount points or directories.

 
willsfrazer
Advisor

How to capture an imgae from HPUX 11i v2 while excluding some mount points or directories.

Hi,

I have an HP-UX B.11.23 U ia64 machine[rx2620].
I want to capture image of it using Ignite but want to exclude one mount point.

I have put print_manifest and bdf output here:

File System layout

LVM Device file mount point size fs type
/dev/vg00:
/dev/vg00/lvol1 /stand 512 vxfs
/dev/vg00/lvol2 swap 12288
/dev/vg00/lvol3 / 1024 vxfs
/dev/vg00/lvol4 /cics 20480 vxfs
/dev/vg00/lvol5 /home 10240 vxfs
/dev/vg00/lvol6 /opt 20480 vxfs
/dev/vg00/lvol7 /tmp 2048 vxfs
/dev/vg00/lvol8 /usr 4096 vxfs
/dev/vg00/lvol9 /var 4608 vxfs
/dev/vg00/log_SHBPTCP2 64 unused
/dev/vg00/sfs_SHBPTCP2 64 unused
/dev/vg00 unallocated 63168

******************

Filesystem kbytes used avail %used Mou
/dev/vg00/lvol3 1048576 341952 701144 33% /
/dev/vg00/lvol1 524288 146600 374776 28% /stand
/dev/vg00/lvol9 4718592 2334808 2365312 50% /va
/dev/vg00/lvol8 4194304 2715984 1466776 65% /us
/dev/vg00/lvol7 2097152 466256 1618344 22% /tmp
/dev/vg00/lvol6 20971520 10346576 10542272 50% /opt
/dev/vg00/lvol5 10485760 101808 10302856 1% /home
/dev/vg00/lvol4 20971520 2878757 16962073 15% /cics
*************************

Now while capturing image I want to exclude file system /cics so that my image is lesser. Is it possible to specify any option wherein i can exclude this from image. I am using C.7.5.142 Ignite version.

Thanks in advance.

8 REPLIES 8
Pete Randall
Outstanding Contributor

Re: How to capture an imgae from HPUX 11i v2 while excluding some mount points or directories.

From the man page:

-x exclude=file|dir

Excludes the file or directory from the archive. When a directory is specified, no files beneath that directory will be stored in the archive.


Pete

Pete
Ganesan R
Honored Contributor

Re: How to capture an imgae from HPUX 11i v2 while excluding some mount points or directories.

Hi,

You can use like below if you want take entire VG00 but exclude /cics.

#/opt/ignite/bin/make_tape_recovery -a /dev/rmt/0mn -I -x inc_entire=vg00 -x exclude=/cics


You can also run make_tape_recovery interactively using "-i" option to allow selection of files and directories that are to be included in the recovery archive.
Best wishes,

Ganesh.
Prasu
Frequent Advisor

Re: How to capture an imgae from HPUX 11i v2 while excluding some mount points or directories.

try this.

make_tape_recovery ├в v -x inc_entire=vg00 -x exclude=/cics -a /dev/rmt/0mn



Regards
Prasu
Prasu
Frequent Advisor

Re: How to capture an imgae from HPUX 11i v2 while excluding some mount points or directories.

willsfrazer
Advisor

Re: How to capture an imgae from HPUX 11i v2 while excluding some mount points or directories.

Thanks a lot for the response.


Does this option hold true for 'make_sys_image' too ?
Pete Randall
Outstanding Contributor

Re: How to capture an imgae from HPUX 11i v2 while excluding some mount points or directories.

Not according to the man page.


Pete

Pete
James R. Ferguson
Acclaimed Contributor

Re: How to capture an imgae from HPUX 11i v2 while excluding some mount points or directories.

Hi:

You should note that the definitive answers Pete provides come from those things called "manpages". They really are your best friend.

Regards!

...JRF...
willsfrazer
Advisor

Re: How to capture an imgae from HPUX 11i v2 while excluding some mount points or directories.

Hi,

Thanks for the response, I read it in man page and wanted to confirm if interpretation was correct, thanks a lot!!