About cloning HDD [SOLVED + PROCESS]
#1
About cloning HDD [SOLVED + PROCESS]
Hi,

Before cloning the HDD of my Octane, I would like some precisions about the process I have to follow to use the CLONE script (here) :

1- My backup HDD is dks0d3s7 ; do I have to unmount it before "fx" it to be a root disk ? (This HDD have been initialize with the Disk Manager)

2- About "fx" sequence. It should be look like that :
Code:
fx: "device-name" = (dksc) ENTER
fx: ctlr# = (0) ENTER
fx: drive# = (3) ENTER
fx> r
fx/repartition> ro
fx/repartition/rootdrive: type of data part. = (xfs) ENTER
fx/repartition> ..
fx> exi

Is that right OR do I have to follow the 4 first points found here : https://wiki.preterhuman.net/Clone_System_Disk

3- About CLONE script.
As it's discribed, this script only works with a disk with scsi id 2.
So I have to remove my HDD 2 (dsk0d2s7) and replace it by my Backup HDD (dsk0d3s7) or can I simply do "./clone 3" ?

Thanks by advance for your answers :-)

———————————————————————————————
Nevermind if SGI is dead ... In SGI I trust (^_^!)
Octane  1x400Mhz / 2Go Ram / V8 / Irix 6.5.26
(This post was last modified: 12-09-2019, 08:25 PM by def13.)
def13
Octane

Trade Count: (0)
Posts: 103
Threads: 21
Joined: Jun 2018
Location: Marseille - France
Find Reply
12-07-2019, 11:14 AM
#2
RE: About cloning HDD
OK, I found the way !
Here is the complete process.

BE METHODIC AND DO IT CAREFULLY

1- It's better to use 2 HDD with the same size or the second HDD could be bigger than the system HDD you want to clone.


2- Plug your second HDD, light on the workstation and login as ROOT

3- Copy/paste/save the clone script here : https://forums.irixnet.org/thread-702-po...ml#pid5222
    (!) Don't forget to change the permission to let ROOT execute the script

4- "fx" your second HDD to be a root disk

Code:
fx -x                            # Run fx
<Enter>                          # Select dksc
<Enter>                          # Select controller 0
2                                # Select drive 2
<Enter>                          # Select lun 0
r                                # Select repartition option
ro                               # Select root drive option
<Enter>                          # Select XFS
yes                              # Yes, continue with the operation
..                               # Return to the main menu
l                                # Create a new label
sy                               # Write out the new label
/exit                            # Exit fx

(source : http://www.sgidepot.co.uk/disksfiles.html#CLONE)

5- Just after "fx"

Code:
cd the_folder_where_is_located_the_clone_script
./clone 2                        # "2" is for drive 2

Follow the instructions and answer "y" when it ask you what to do with the file system it has found on the drive 2.
If you answer "n", it stop the script.

WAIT (15 to 20 minutes to clone about 25GB with my Octane 1x400Mhz / 2GB Ram)

Don't forget to test your clone … and that's it !!!

———————————————————————————————
Nevermind if SGI is dead ... In SGI I trust (^_^!)
Octane  1x400Mhz / 2Go Ram / V8 / Irix 6.5.26
def13
Octane

Trade Count: (0)
Posts: 103
Threads: 21
Joined: Jun 2018
Location: Marseille - France
Find Reply
12-09-2019, 08:25 PM
#3
RE: About cloning HDD [SOLVED + PROCESS]
Thank you, good to know it works! Smile

No longer active. Please do not contact me.
Jacques
Tezro

Trade Count: (0)
Posts: 565
Threads: 53
Joined: May 2018
Location: UK
Find Reply
12-09-2019, 09:33 PM


Forum Jump:


Users browsing this thread: 1 Guest(s)