Operating System - HP-UX
1832959 Members
2978 Online
110048 Solutions
New Discussion

Re: Is there anyway to do make_tape_recovery from single-user mode?

 
MTSU_SAN
Regular Advisor

Is there anyway to do make_tape_recovery from single-user mode?

I would like to do make_tape_recovery of vg00 from single user mode, so I can guarantee no one will be on the machine and the image will be current. Is there any way to do this?
5 REPLIES 5
Robert-Jan Goossens
Honored Contributor

Re: Is there anyway to do make_tape_recovery from single-user mode?

Hi Jerry,

Mount the filesystems and try it.

# mountall

# make_tape_recovery .....

Regards,
Robert-Jan
Chris Xu
Trusted Contributor

Re: Is there anyway to do make_tape_recovery from single-user mode?

Yes, I think you can, but you have to mount your filesystems manually.
Nguyen Anh Tien
Honored Contributor

Re: Is there anyway to do make_tape_recovery from single-user mode?

Of course! you can.
first. make_tape_recovery is located at /opt. In single mode /opt is not mounted.
in order to run this script you must mount it first.
# mount /opt (or mount all)
and then
#make _tape_recovery.
Regard.
tienna
HP is simple
Stf
Esteemed Contributor

Re: Is there anyway to do make_tape_recovery from single-user mode?

Yes, it's the best way to make sure a good tape recovery without error because all daemons are inactive...

But as they said you have to mount all your vg00 filesystems :

# moutall or # mount -a then

/opt/ignite/bin/make_tape_recovery -Ad /dev/rmt/...
A : entire vg00 recovery
d : specify device...

Stf ;-)
Bill Hassell
Honored Contributor

Re: Is there anyway to do make_tape_recovery from single-user mode?

Although mount -a will attempt to mount all filesystems, it will fail for NFS mounts. Use mount -a -l to limit the mountpoints to local. Note that make_tape_recovery uses /var, /usr and /tmp. However, MTR also requires all mountpoints for the specified backup scope (ie, VG00, perhaps others) to be mounted. MTR does some extensive checking for volume groups, mountpointd and filesystems before it proceeds.


Bill Hassell, sysadmin