| IRIX System Drive Cloning |
|
|
|
A buddy sent this to me years ago when we both had a bunch of IRIX systems to admin. It works for most *nix platforms with only minor adjustments. The point of this process is to clone a working drive without mirroring. Mirroring is a great lazy method for protecting against drive failure, but doesn't help at all when our users "opps I deleted something really important" or a patch corrupts the kernel.
WARNING: Make sure the data you want to copy does not exceed the disk capacity of your second disk drive. 1. Assumes two separate drives - the first contains the OS and data - the second is empty. 2. Boot the machine in single user mode. While booting, stop at the Command Monitor and type ‘single’. 3. In single user mode: fx -x to partition the drive in root drive.
5. Check the integrity of the disk:
6. Mount the second disk on a mount point: mount /dev/dsk/dks0d2s0 /disk2
7. Check if the mount point it's there:
8. Set the name on the host machine:
9. Copy all the data on disk 1 to disk2: Note: If xfsdump is interrupted <ctrl+c>, the content of the destination directory must be deleted, otherwise, you won't be able to relaunch step 9.
dvhtool -v list /dev/rdsk/dks0d2vh
|

