Operating System - HP-UX
1833777 Members
1968 Online
110063 Solutions
New Discussion

Re: make_tape_recovery to exclude certain file systems

 
Yong Wai Choon
Advisor

make_tape_recovery to exclude certain file systems

Hi,
Please find below my system setup:
# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 212992 91000 121096 43% /
/dev/vg00/lvol1 298928 43624 225408 16% /stand
/dev/vg00/lvol8 3325952 1759824 1554000 53% /var
/dev/vg00/lvol7 2244608 1290416 946752 58% /usr
/dev/vg00/lvol9 524288 212424 292407 42% /usr/uv
/dev/vg00/lvol4 212992 2664 208752 1% /tmp
/dev/vg00/lvol6 2736128 1747600 980824 64% /opt
/dev/vg00/lvol5 32768 21904 10800 67% /home
/dev/vg01/lvol1 71675904 30342624 41018360 43% /disc8
/dev/vg00/lvol13 2621440 1750 2455965 0% /disc6
/dev/vg00/lvol12 7340032 5299906 1915668 73% /disc4
/dev/vg00/lvol11 15728640 9294984 6237668 60% /disc2
/dev/vg00/lvol10 10485760 5744018 4593592 56% /disc1
If I want to perform make_tape_recovery for my system and I want to exclude the followings:
/disc1, /disc2, /disc4, /disc6 & /disc8
Could I use the following command:
# make_tape_recovery -A -x exclude=/disc1 -x exclude=/disc2 -x
exclude=/disc4 -x exclude=/disc6 -x exclude=/disc8 -a /dev/rmt/0mn
Please help. Thanks.
7 REPLIES 7
Joseph Loo
Honored Contributor

Re: make_tape_recovery to exclude certain file systems

hi,

i would go with this:

# /opt/ignite/bin/make_tape_recovery -x inc_entire=vg00 -x exclude=/disc1 -x exclude=/disc2 -x exclude=/disc4 -x exclude=/disc6 -x exclude=/disc8 -I -v -a /dev/rmt/0mn


regards.
(p.s. please remember to assign points.)
what you do not see does not mean you should not believe
D Block 2
Respected Contributor

Re: make_tape_recovery to exclude certain file systems

Yong-Wai,

always, used the '-p' option to make_tape_recovery, before you just cron the run. -p is PreView mode, no execution.

the -x exclude=/File_system -x exclude=/File_system2

is the correct option., but..



what version of Ignite do you have ?
# swlist -l product |grep -i ignite
you might want to install the current version.

also, what version of Pax do you have ?
# swlist -l product | grep -i pax

you might want to load the current 'pax', which is used for ignite.
Golf is a Good Walk Spoiled, Mark Twain.
Yong Wai Choon
Advisor

Re: make_tape_recovery to exclude certain file systems

Hi Tom,
Please find below the version of ignite and pax:
# swlist -l product |grep -i ignite
Ignite-UX C.6.1.44 HP-UX System Installation Services
OS-Archive-32 C.6.1.44 Ignite-UX 32bit OS Archives
OS-Archive-64 C.6.1.44 Ignite-UX 64bit OS Archives
# swlist -l product | grep -i pax
PHCO_30420 1.0 pax(1M) cumulative patch

Regards.
Cem Tugrul
Esteemed Contributor

Re: make_tape_recovery to exclude certain file systems

Yong,
from my production server info;
baan01:/#swlist -l product | grep -i pax
PHCO_30420 1.0 pax(1M) cumulative patch
baan01:/#swlist -l product |grep -i ignite
Ignite-UX C.6.0.109 HP-UX System Installation Services
baan01:/#uname -a
HP-UX baan01 B.11.11 U 9000/800 1020982799 unlimited-user license
and My system is 64-bit
Our greatest duty in this life is to help others. And please, if you can't
Eknath
Trusted Contributor

Re: make_tape_recovery to exclude certain file systems

Hi Yong,

How about unmounting file systems which are to be excluded and remounting again after completing the ignite.

Cheers !!!
eknath
D Block 2
Respected Contributor

Re: make_tape_recovery to exclude certain file systems

Yong,

try the Preview (-p) along with the
-x inc_entire=/dev/vg00

example:
make_tape_recovery -A -x inc_entire=/dev/vg00 -x exclude=/disc4 -x exclude=/disc6 -x exclude=/disc8 -p

note: use the 'inc_entire'
Golf is a Good Walk Spoiled, Mark Twain.
Yong Wai Choon
Advisor

Re: make_tape_recovery to exclude certain file systems

Thank you guys.