Lets assume the following;
NFS Server IP is 192.168.10.50
The NFS server exported directory is /ir110
The SCS NIC hme0 is 192.168.10.100
The script files are in the /ir110 directory
A. Create the NFS
You must create a NFS server with read/write permissions so the
iR110/150 SCS can upload files
I cant help you with NFS server configuration options here. There
are to many OS's and versions
Just ensure that 192.168.10.100 has read/write permissions
B. Boot SCS from OS CD
Use init 0 or whatever safe means to get the the ok prompt
Then type boot cdrom -s
C. Configure the SCS NIC and mount NFS
After the SCS boots up type the following
#ifconfig hme0
192.168.10.100
(Gives the SCS's on board NIC (nearest to the video connector) an IP
address)
#ifconfig hme0
up
(Brings this NIC interface up)
#mount 192.168.10.50:/ir110 /mnt (Mounts
the NFS directory /ir110 onto the mount point /mnt)
D. Obtain, decompress and check
the permissions of the ufsdump/ufsrestore scripts
You can get the ir110-ufsdump-scripts.zip file
here
I zipped the two scripts to bypass IE download issues
Unzipping the file will reveal 2 scripts called "dump" and "restore"
You will also see several files with vtoc in the file name (more on
this later)
Copy all the files to the NFS server's /ir110 directory
On the SCS, cd to the /mnt directory
You should be able to use ls and see the scripts you just copied
Now just to be safe, lets copy the scripts to the SCS's /tmp directory
#cp /mnt/dump
/tmp
(Copies the script restore to the SCS under /tmp)
#cp /mnt/restore
/tmp
(Copies the script download to the SCS under /tmp)
#cd
/tmp
(CD to /tmp)
Now we have to check the permissions on the scripts
If you unzipped ir110-ufsdump-scripts.zip on a Dos/Windows machine the
file permissions will be lost
If you unzipped ir110-ufsdump-scripts.zip on a Unix/Linux box, the
permissions will not be lost
Do this procedure to check and change the permissions if required
Do a ls -la
Ensure root has execute permissions on the files "dump" and "restore"
like the
red x in this
example
-rwxr--r-- 1
root wheel 222 Feb 27 22:12 dump
-rwxr--r-- 1
root wheel 214 Feb 27 22:12 restore
If you see this;
-rw-r--r-- 1
root wheel 222 Feb 27 22:12 dump
-rw-r--r-- 1
root wheel 214 Feb 27 22:12 restore
The
red - indicates that
root
does not have execute
permissions on these files
You will need to use
chmod to
change this
#chmod u+x dump
#chmod u+x restore
Do another ls -la to confirm the permissions are set correctly
E. Executing the scripts
From the /tmp directory, the scripts are executed as follows
To dump the SCS hard disk to an images called slice0, slice 3 and slice
4, type the following
./dump
The dump will take 1-2 hours to complete so please be patient
To restore these slice images to the SCS, type the following
./restore
The restore process will take 20-30 minutes to complete
A very important part of the restore script is the writing of the vtoc
file (Virtual Table of Contents)
The vtoc file is a simple text file that is to be written to the hard
disk (kinda like a MBR or Master Boot Record in the PC world)
I have included several vtoc files for the 9GB and 20GB hard disks
The restore script will request you to choose the hard disk size and
partition scheme you require
If all goes well, the vtoc is written to the disk
If you already have a partition or slice layout on the disk, simply
choose “Skip this step and use the existing partition layout”
If the included vtoc files do not meet your needs or result in (error
messages) dont worry. See
here