Micro and Nano Mechanics Group
Revision as of 16:08, 25 July 2008 by Wcash (Talk)

William Cash


Contents

Introduction

Recently, our group purchased a Sans Digital MOBILESTOR MS2UTN+ two-disk external hard drive enclosure and two 750 GB 7500rpm SATA Samsung Spinpoint F1 internal hard drives to back up one of the servers. The enclosure (shown in Figure 1) has a built in RAID controller with the following storage modes:

  1. BIG (not RAID 0): Concatenates the disks to create one large virtual volume. It isn't actually striping the data across the two disks so it will not result in faster performance. I suggest avoiding this. Total storage = 1.5 TB.
  2. JBOD (Just a Bunch of Disks): Both hard drives are completely separate. Your computer will see it as two separate external hard drives if you use USB, or if you have port multiplier (PM) support for SATA. If one drive fails the data on the other is still intact. Total storage = 1.5 TB.
  3. FAST (RAID 0): Data is striped across both disks to create one drive with twice the original storage. Using both drives to access data greatly improves read/write performance compared to that of a single physical drive. However, if one drive fails all the information is lost. Total storage = 1.5 TB.
  4. SAFE (RAID 1): Data is stored on both disks to create exact copies of each other. Data is not lost if only one drive fails; the broken drive can be replaced and the new drive can be mirrored off of the remaining one. Total Storage = 750 GB.
  5. SAFE 33 (33% RAID 1, 66% RAID 0): 33% of each disk is used for redundant storage using RAID 1, while the remaining is striped using RAID 0. Requires PM for SATA. Total Storage = 250 GB RAID 1, 1.0 TB RAID 0.
  6. SAFE 33 (33% RAID 1, 66% RAID 0): 50% of each disk is used for redundant storage using RAID 1, while the remaining is striped using RAID 0. Requires PM for SATA. Total Storage = 375 GB RAID 1, 750 GB RAID 0.
  7. GUI: Any of the above modes can be selected and changed using the GUI provided with the RAID controller (Silicon Image SteelVine 57XX series). This is available for download from either Sans Digital or Silicon Image.
(thumbnail)
Figure 1: Front view
(thumbnail)
Figure 2: Rear view

The desired storage mode can be selected/changed via the knob on the back of the enclosure and pressing the reset button shown in Figure 2 (warning: any data on the disks will probably be lost). For the current application, we chose to use the Linux GUI with RAID 1.

This device was installed on an x86 system running CentOS 5.0. However, the partitioning and formatting were performed on an x86 laptop running Ubuntu 8.04, because the partitioning and formatting programs on the CentOS machine were outdated, and it was desired to not attempt an upgrade of the system before backing it up.

Assembly & Setup

Assembling the Enclosure

The assembly of this device is fairly straightforward and outlined in the instruction manual. You will need to supply your own Phillips head screw driver. Simply remove the two trays using supplied "keys". I had to use the screws provided with the enclosure, because the ones that came with the hard drive would not fit the tray properly. Be careful around the exposed circuity of the hard drives when handling them. Insert the hard drives and trays into the case and power up the system. Select the storage mode (in this case GUI) and press the reset button. Now connect the drive to the computer; with USB it's as simple as plugging it in. Do not try to mount the drive or partition it just yet, though.

Choosing Storage Method with the GUI

Assuming you've already downloaded and unpacked the GUI software. I'm fairly certain all operations must be performed as the super user because you're working with a connected drive, but I haven't tried to verify this. First start the SteelVine service:

root@system ~]# cd 57xxSteelVineManager/
root@system ~]# ./SteelVine

Then open the GUI SteelVineManager:

root@system ~]# ./SteelVineManager

The Linux GUI appears to still need some work, because on both the Ubuntu and CentOS systems it gives numerous QT errors and warnings. However, they don't appear to affect the overall operation of the software. If you're unable to get it working on your system you may want to try the Windows version; it seemed to work fine with Windows Vista Business SP1.

The GUI comes with a very detailed manual on all the capabilities of the system, so I will only briefly cover the basics needed to get a working system. The default administrative password is "admin", which the manual doesn't tell you until page 20. The first thing that may seem alarming is that the Fan Speed box is Red with the message "PS". I think this may be due to the fact that the enclosure probably does not how a power supply fan. So far it hasn't caused any problems. The first thing you may want to do is configure email notifications and have it send a test email to you, so that you can know if something dies while you aren't around. To setup the drive storage just click on the Configuration Wizard, choose the storage method, and apply.

For SAFE, the drive immediately started to mirror the two drives. This took approximately 6 hours with the 750 GB hard drives. Once it finishes, it will immediately begin verifying the SAFE which takes at least another hour. Now the enclosure appeared as a single 750 GB unpartitioned drive.

Partitioning & Formatting

There are multiple ways to partition and format a drive in Linux and numerous file systems to choose from. I choose to use the standard MSDOS disk label with two primary partitions: a 150 GB partition for backing up the server's data and a ~550 GB one for backup of critical files from group members. You'll notice the two partitions don't nearly reach the claimed 750 GB capacity of the drive, because the manufacturers inflate their capacity figures by calling a GB only 1,000,000,000 bytes. Since this device was only planned to be used by Linux computers the usual ext3 file system was used on both partitions.

As stated before an x86 laptop running Ubuntu 8.04 was used to do partition and format the drive. Both operations were performed using GParted, a graphical tool available for Gnome and also as a LiveCD. The software is very straight forward. Select the disk; choose the disk label; choose the partition sizes and file systems; apply. The whole process took around 5 minutes.