CLONE-IRIX-BOOT-DISK(7)42718.net howtoCLONE-IRIX-BOOT-DISK(7)
NAME
clone-irix-boot-disk – Clone an IRIX boot disk
DESCRIPTION
A spare, bootable copy of the system disk is the cheapest insurance an old SGI can have. This partitions the second disk, copies the root filesystem with xfsdump and puts the volume header files on it so the copy boots on its own.
STEPS
- On the running system, in a terminal as root, run
fxand select the correct target SCSI ID to clone to. - Choose
repartition, thenxfs, and answer yes to everything. - Check the label to see that all is OK.
- Make the filesystem, replacing X with the disk id on controller 0:
# mkfs /dev/rdsk/dks0dXs0
- Mount it and copy the root filesystem over:
# mount /dev/dsk/dks0dXs0 /mnt # xfsdump -J - /dev/root | xfsrestore -J - /mnt
- Use
dvhtool -v /dev/rdsk/dks0dXvhto get all the header files from the current root drive into files, and after saving them in /tmp write them to the cloned drive's volume header.
That should do the trick.
NOTES
Label the spare. Six months later nobody remembers which of two identical Seagates is the clone.
SEE ALSO
42718.net2025-11-11CLONE-IRIX-BOOT-DISK(7)