Steps:
- Unplug the system to power it down. Install the new disks and start the system.
- After the system starts, log out of the Linux user account by selecting Start, Quit, and Logout. Log in as an Administrator.
- Close the exacqVision Client. Run the disk partition utility from Start, System, Administration, and Partition Editor. If prompted for a password, use the Administrator account password.
- At the top-right corner of the partition utility, open the Device drop-down menu.
- Note the name of the device about 2GB or 4GB; this is the Linux flash drive that must NOT be altered for any reason.
- Note the name of the other devices that are about the same size as the disk drives installed; if the system has a functional primary disk, skip to step 7 only on the new disk.
- Start Terminal Serivces from Start, Accessories, and Terminal.
Note: The commands included in the following steps are applicable to Ubuntu 10.04. Changes for Ubuntu 8.04 are noted. - For the first system disk only, perform the following steps:
- Create a disk label by typing the following, where “X” is the device letter identified in step 4b:
sudo parted -s /dev/sdX mklabel gpt
- Create a 20GB swap partition by typing the following:
sudo parted -s /dev/sdX mkpart primary linux-swap 0 20000 sudo mkswap -L swap /dev/sdX1
- Create a 10GB export partition by typing the following:
Note: Change ext4 to ext3 if on Ubuntu 8.04.
sudo parted -s /dev/sdX mkpart primary 20000 30000 sudo mkfs.ext4 -L /mnt/export /dev/sdX2
- Find the remaining free space by typing the following:
sudo parted -s /dev/sdX unit MB print free
- Create a data partition on the rest of the disk by typing the following, where “XXXX” is the free disk space identified in step 6d.
Note: Change ext4 to ext3 if on Ubuntu 8.04.
sudo parted -s /dev/sdX mkpart primary 30000 XXXX sudo mkfs.ext4 -L /mnt/edvr/1 /dev/sdX3
- Create a disk label by typing the following, where “X” is the device letter identified in step 4b:
- For the second system disk only, complete the following steps:
- Create a disk label by typing the following, where “X” is the device letter identified in step 4b:
sudo parted -s /dev/sdX mklabel gpt - Find the remaining free space by typing the following:
sudo parted -s /dev/sdX unit MB print free
- Create a data partition on the rest of the disk by typing the following, where “XXXX” is the free disk space identified in step 7b:
Note: Change ext4 to ext3 if on Ubuntu 8.04.
sudo parted -s /dev/sdX mkpart primary 00000 XXXX
sudo mkfs.ext4 -L /mnt/edvr/2 /dev/sdX1
sudo mkdir /mnt/edvr/2
- Create a disk label by typing the following, where “X” is the device letter identified in step 4b:
- If a new disk is being installed (instead of simply replacing a disk), label the directory in the file system:
- Open the file system label file with a simple text editor:
sudo nano /etc/fstab - Arrow down to the first blank line and add an entry for the new disk:
Note: Change ext4 to ext3 if on Ubuntu 8.04. For the first disk only: LABEL=/mnt/edvr/1 /mnt/edvr/1 ext4 defaults 0 0 For the second disk only: LABEL=/mnt/edvr/2 /mnt/edvr/2 ext4 defaults 0 0 - Press CTRL-X and then press Y to save the changes.
- Open the file system label file with a simple text editor:
- Refresh the partiaion labels by typing the following: sudo udevadm trigger
- Remount all partitions by typing the following: sudo mount -a
- Create directories on the export paritition by typing the following:
- sudo mkdir /mnt/export/admin
sudo chown admin /mnt/export/admin
sudo mkdir /mnt/export/user
sudo chown user /mnt/export/user
- sudo mkdir /mnt/export/admin
- Restart the exacqVision service by typing the following:
sudo/etc/init.d/edvrserver restart - Restart the system and confirm the drive operation in the exacqVision Client as shown in the figure. All systems should have /mnt/edvr/0 (the flash operating system drive). Then /mnt/edvr/1 is the first disk drive, followed by any additional drive, all of which should be shown in green.
<br>