Commented script to CLONE ROOT DISK

New to SGIs? Need help getting things going? This is the forum for you!
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
Posts: 1
Joined: Sun Mar 25, 2012 7:16 am

Re: Commented script to CLONE ROOT DISK

Unread postby fito » Sun Mar 25, 2012 9:18 am

Hi to every body

This information is very hard to find and to me knowing very little on Irix I really apreciate it.

I'am a service Eng for medical equipment and there are a couple of brands that use SGI Octane and Indigo to run the software.
We the serv Eng focus more on the hardware side because these machines have too much so we are bad on the Irix matter.

To re install IRIX 6.5 on Octane plus software take us about 3 to 4 hours added to time for verification we have to run to return the system to the customer, more than half day.

I will love to have a script I can run to clone hard drives and have them as spare and just pop them in saving hours of waiting while installing software.

I wonder if somebody can help me save a script to a cd rom which contains the commands to clone a hard drive and if this can be save on a CD and run it from it it would be awesome, the CD-ROM is always on SCSI 1 ID3.

I read this article and it says it does, I haven't tried it yet because the instructions I have of installing the Irix are particular as partition are created, I do not know it this instructions would copy any number of partitions, like bit by bit.

here they are the instructions I have to follow by the manufacturer of how to install the whole thing:

1- Stop the reboot process; click on the [Stop For Maintenance]

2- Click on the [Enter Command Monitor] button when it becomes available

3- Insert the IRIX 6.5 CD labeled “Boot/Update” into the CDROM Drive

4- boot -f dksc(1,3,8)sash64 dksc(1,3,7)stand/fx.64 --x <Enter>

fx: "device-name" = (dksc) <Enter>
fx: ctlr# = (0) <Enter>
fx: drive# = (1) <Enter>
fx> r/ro <Enter>
fx/Repartition/RootDrive: Type of Data Partition = (xfs) <Enter>
fx> continue? yes <Enter>
fx> l/sy <Enter> (This is a lower case L , / , lower case s , and lower case y.)
fx> exit <Enter>

The system will reboot. Select [Install System Software] button. Choose, [Local CD-ROM] (the default), select [Install] . Then select the [Continue] button

Make new file system on /dev/dsk/dks0d1s0 [yes/no/sh/help]: yes <Enter>
About to remake (mkfs) file system on: /dev/dsk/dks0d1s0.
This will destroy all data on disk partition: /dev/dsk/dks0d1s0.

6- Are you sure? [y/n] (n): y<Enter>

7- Block size of filesystem 512 or 4096 bytes? 4096<Enter>
Doing: mkfs -b size=4096 /dev/dsk/dks0d1s0
meta-data=/dev/rdsk/dks0d1s0 isize=256 agcount=8, agsize=128612 blks
data = bsize=4096 blocks=1028895, imaxpct=25
log =internal log bsize=4096 blocks=1000
realtime =none bsize=65536 blocks=0, rtextents=0
Trying again to mount /dev/dsk/dks0d1s0 on /root.

Continue as follows:
inst> sh <Enter>
# mount /CDROM <Enter>
# /CDROM/mr_prep <Enter>

8- The system will run for about 4 minutes and then will prompt with:

“Please insert the First OS Disk (Pa) and then press <enter>
Put the OS CDROM Disk 1 of 2 into the CDROM Drive. Wait for 20 seconds, or until the
amber light on the CD Drive stops blinking, then push the <Enter> key

After an additional 3-6 minutes, the system will again prompt with:

“Please Insert the Second OS Disk (Pb), then press <enter>”


after the OS is installed the system is rebooted and the app disk is installed taking about an hour.

after the installation is done I did a df command and here is what it shows:

Filesystem Type Blocks use Avail %use mounted on
/dev/root xfs 174720 46984 127736 27 /
/dev/dsk/dks0d1s6 xfs 6777472 3564544 3212928 53 /usr
/dev/dsk/dks0d1s5 xfs 2459152 1699632 759520 70 /export/home
/dev/dsk/dks0d1s7 xfs 24781440 615136 24166304 3 /export/home1

thanks for any input about this matter.

Return to “Getting Started, Documentation, Tips & Tricks”

Who is online

Users browsing this forum: No registered users and 1 guest