Operating System - HP-UX
1832461 Members
3242 Online
110043 Solutions
New Discussion

how to ignore these file sytems in /etc/fstab but not mounted when I run make_tape_recovery

 
Hanry Zhou
Super Advisor

how to ignore these file sytems in /etc/fstab but not mounted when I run make_tape_recovery

I have a lot of differencies between these entries in /etc/fstab file and these are currently mounted. Now, I want to run make_tape_recovery -v -A -a /dev/rmt/0mn.
Because of these diff. I am getting errors complaning these file system not there. Is there any options I can use to ignore these errors, and therefore ignore these unmounted entries in /etc/fstab, only backup these currently mounted?


Thanks!
none
5 REPLIES 5
Andrew Rutter
Honored Contributor

Re: how to ignore these file sytems in /etc/fstab but not mounted when I run make_tape_recovery

hi,

could you just comment them out in the fstab?

put a hash# in front of the coresponding mount point.

or when creating the tape use -x option to exclude them
use -i to include

check the man pages for examples

Andy
Hanry Zhou
Super Advisor

Re: how to ignore these file sytems in /etc/fstab but not mounted when I run make_tape_recovery

I know I can comment out these entries to eliminate errors, however, since there are really lots of them, I am thinking if there is a option to ignore these entries, then I don't have to comment them out one by one.
none
Bill Hassell
Honored Contributor

Re: how to ignore these file sytems in /etc/fstab but not mounted when I run make_tape_recovery

There have been several enhacement requests to allow this, even one that tells MTR to ignore all entries that are marked noauto. Still waiting for a patch, so you'll have to create an /etc/fstab.mtr and move /etc/fstab to /etc/fstab.std or something similar.

I would not use the -A option as it is too ambiguous. Replace -A with -x inc_entire=vg00 and also add the -I flag unless you want the boot from tape to restore without stopping. Such restores are only successful when you are restoring to the original hardware.


Bill Hassell, sysadmin
TY 007
Honored Contributor

Re: how to ignore these file sytems in /etc/fstab but not mounted when I run make_tape_recovery

Hello Hanry,

>> make_tape_recovery -v -A -a /dev/rmt/0mn

Use the following command:
# make_tape_recovery -I -x inc_entire=vg00 -v -a /dev/rmt/0mn

Thanks
TY 007
Honored Contributor

Re: how to ignore these file sytems in /etc/fstab but not mounted when I run make_tape_recovery

Hello Hanry,

Install Latest Ignite-UX C.7.3.x before execute make_tape_recovery:
https://h20392.www2.hp.com/portal/swdepot/try.do?productNumber=IGNITEUXB

Thanks