Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

System Recovery

Status
Not open for further replies.

vsappati

IS-IT--Management
Mar 11, 2002
2
US

I want to know how to do a system recovery for /,/usr and swap running on Logical Volumes for Compaq Tru64 Unix. I will be upgrading the Unix software from 4.0F --> 4.0G --> 5.1, so if had to recover the / and /usr, how do I recover the system. thanks in advance.
 
The best way (If it's not a cluster) would be to make a bootable tape from sysman --> storage --> create bootable tape.

Because I'm running server 5 way clusters I can't do that. So I would just reinstall the OS then recreate the domains and filesystems.

To recreate a domain use

mkfdmn /dev/diskname domainname

Next add disks to the domain

addvol /dev/diskname domainname

repeat for each disk you wish to add to the domain

Make the FILESETS in the DOMAIN

mkfset domainname live
mkfset domainname users
mkfset domainname test

Make the DIRECTORIES

mkdir /live
mkdir /users
mkdir /test

Mount the FILESETS

mount –t advfs domainname#live /live
mount –t advfs domainname#users /users
mount –t advfs domainname#test /test


Define the FILESET sizes

chfsets -b 204800 domainname /live
chfsets -b 204800 domainname /users
chfsets -b 8192000 domainname /test


Restore the FILESETS

cd /live; vrestore –xvf
cd /users; vrestore –xvf
cd /test; vrestore –xvf


Depending on the number if disks used (E.g. 2 or more) balance the FILE DOMAIN

balance data

Take a look at the vrestore man page for more details on vrestore

man vrestore


Regards Mike

--
| Mike Nixon
| Unix Admin
| ----------------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top