Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Operating System - Tru64 Unix
cancel
Showing results for 
Search instead for 
Did you mean: 

How to mirror the entire system disk to an unused disk.

Rambo_1
Regular Advisor

How to mirror the entire system disk to an unused disk.

Hi,
I want to "mirror the entire system disk to an unused disk (mirror the rz8 to rz9)" .how to do these ?
OS is 4.0F ,and the environment likes below:
#df -k
Filesystem 1024-blocks Used Available Capacity Mounted on
root_domain#root 318208 158418 152872 51% /
/proc 0 0 0 100% /proc
usr_domain#usr 11717624 6462226 5188464 56% /usr
informix_domain#informix 1609768 213290 1389056 14% /informix

And /etc/fdmns are:
root_domain /dev/rz8a
usr_domain /dev/rz8g
informix_domain /dev/rz8e

And #scu show edt are:
CAM Equipment Device Table (EDT) Information:

Device: TLZ10 Bus: 0, Target: 1, Lun: 0, Type: Sequential Access
Device: RRD47 Bus: 0, Target: 5, Lun: 0, Type: Read-Only Direct Access
Device: BD018122C9 Bus: 1, Target: 0, Lun: 0, Type: Direct Access
Device: BD018122C9 Bus: 1, Target: 1, Lun: 0, Type: Direct Access

Thanks for your help
B.R
Rambo
2 REPLIES
Robert Walker_8
Valued Contributor

Re: How to mirror the entire system disk to an unused disk.

Gday Rambo,

To mirror under tru64 requires Logical Storage Manager unless you do it yourself some how. This will require an LSM license.

The other option would be to get hold of an ADVFS license, this allows snapshotting which could allow you to snapshot the disk when things are quiet and mount the snapshot to do a vdump to another mounted file system - this of course is not a true mirror but the contents would be correct at a file level.

LSM allows for simple and complicated storage setups whereby you can implement RAID1 and striping, RAID5 would not be a goer as LSM is all done in software! LSM provides a couple of scripts to mirror the system area as the environment is different for system disks as opposed to purpose built LSM data disks.

If you just wish top copy the disk for backup purposes then vdump -0 -F 64 -f - / | (cd /mnt ; vrestore -x -f -) from memory should work this will run vdump and vrestore in a pipe to backup and restore a file system to another new file system. DD may also be another option assuming the devices are the same (EG: RZ28 to RZ28 etc).

If you chose to mirror via vdump/vrestore then you will need to do a disklabel of rz8 and apply it to rz9 - just remember to make the disk bootable. disklabel -rw dsk1 -P templatefile from memory - its been a while!

Robert.
Rambo_1
Regular Advisor

Re: How to mirror the entire system disk to an unused disk.

Hi Robert,
If I get a license for the LSM ,How to do the mirror with these two disks?

Thanks
Rambo