System Backup Hard Drives

The hard drives are not backed up on a regular basis. But there are extra hard drives that contain a clone of the 500 and 800 system from 2010. These hard drives are fully functional, bootable Linux systems with usable VnmrJ installations. This should minimize any down time from a hard drive failure.

Switch to Cloned Hard Drive

If the hard drive of PC fails, you can switch to the backup clone using this procedure
  • Power off CPU.
  • Install cloned HD into chassis. Cloned drives are stored in bottom rightmost drawer next to CPU of 800.
  • Disconnect failed HD from port#1 (blue) of controller and replace with cloned HD.
  • Power up CPU and pray.
  • If all goes well, you can then make any new users and modifications.
  • The cloned HD should have the latest VnmrJ updates.
  • The BioPack and ChemPack installations are probably not the latest versions, but they should work.

Clone OLD Hard Drive to a New Hard Drive

  • Put Linux install CD in CPU and power off.
  • Unplug old HD from port 1 (blue) of controller and plug new HD into port 1.
  • Power up and boot install CD.
  • Install Linux per Varian instructions onto new HD.
  • Reboot after install to make sure it boots, but do NOT configure anything.
  • Power off.
  • Reconnect old HD to port 1 (blue) of controller and new HD into port 2 (below port 1)
  • Power on and press for SetUp.
  • Enable SATA drive #1
  • Continue boot and login as root
  • edit /boot/grub/menu.lst and change all lines that have
  • root=Label=/1 to read as root=/dev/sda1
  • Edit file /etc/fstab so that / and /home and swap are given as devices (such as /dev/sda2) instead of labels. NOTE: 500 and 800 are different!
  • Enter single-user mode and copy root partition to new HD using following commands:
  • # telinit s (screen will go black; press ; -> #prompt)
  • # mount /dev/sdb1 /mnt
  • # rsync -vrpoglHDIt --exclude=/proc --exclude=/sys --exclude=/lost+found --exclude=/home --exclude=/mnt --progress / /mnt
  • Optional: Shutdown, cable new HD to port 1, startup and make sure new HD boots. Shutdown and recable old HD to port#1 and new to #2.
  • While in single-user mode with /dev/sdb1 mounted on /mnt (see above) execute the following commands:
  • # mkdir /mnt/home (if it doesn’t already exist)
  • # mount /dev/sdb2 /mnt/home (NOTE: use sdb3 on 500, sdb2 on 800)
  • # rsync -vrpoglHDIt -- exclude=/home/lost+found --progress /home /mnt
  • Shutdown
  • Cable new HD to port#1 and boot
  • Login as root
  • Check owners of dirs in /home fix as needed. Use chown -R owner[:group] dir
  • Login as vnmr1
  • Reboot NMR console and check for communication between CPU and NMR.

Editing grub file from boot

This may or may not be necessary to edit menu.lst in directions above
  • at 1st boot screen, press key
  • ‘e’ to edit boot
  • change root=Label=/1 to root=/dev/sda1
  • b