There are 3 basic methods you can use to reuse the existing scratch disk data.
1. Deploy a new VA, configure the VA for replication & use SCP to copy the scratch disk contents (directory & contents) from the old VA to the new VA.
Video Demo:
https://support.quest.com/SolutionDetail.aspx?id=SOL103951
2. Deploy a new VA, attach the existing scratch disk and run the scratch_scsi.sh script.
To run the script you will need to log into the VA and run the following commands:
cd /root/bin/
./scratch_scsi.sh -a "0:0:1:0" -w 190
Video Demo:
https://support.quest.com/SolutionDetail.aspx?id=SOL103952
3. Deploy a new VA, attach existing scratch disk and add a persistent mount.
Log into the VA and execute the following commands:
mkdir /scratch
mkdir /scratch/sdb
echo "/dev/sdb /scratch/sdb ext3 defaults 0 1" >> /etc/fstab
mount -a
Video Demo:
https://support.quest.com/SolutionDetail.aspx?id=SOL103953
Explanation of commands:
We need to create a mount point before we mount the device. The mkdir commands are used to create the mount point.
fstab is the configuration file that contains info on the partitions and devices on the linux machine. You can configure this file to create a persistent mount.
The echo command is adding "/dev/sdb /scratch/sdb ext3 defaults 0 1" into the fstab file.
/dev/sdb = Device or Drive
/scratch/sdb= mount point
ext3 = file system type
defaults = Mount Options ( default = rw, suid, dev, exec, auto, nouser, and async)
0 = Dump option -Dump will not backup the file system
1 = File system check
mount -a will then mount items that are configured in fstab.
© ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center