RAID your LSpro (v.1) mnt partition functioning like a Duo
From NAS-Central Buffalo - The Linkstation Wiki
(Difference between revisions)
| Line 8: | Line 8: | ||
*1. Add second SATA port connector and chassis cut out as described in [http://buffalo.nas-central.org/index.php/Hardware_Hacks_for_the_LS_Pro Hardware Hacks for LSpro] | *1. Add second SATA port connector and chassis cut out as described in [http://buffalo.nas-central.org/index.php/Hardware_Hacks_for_the_LS_Pro Hardware Hacks for LSpro] | ||
| - | |||
| + | [[Image:Secon SATA.JPG]] [[Image:Second SATA.JPG]] | ||
| - | |||
| - | + | *2. Purchase external eSATA case to house second drive. You can go cheap (like I do) by use an external USB to PATA case with the USB to ATA PCB removed, and connect the SATA directly into the drive via the case cut out or hole. I manage to pick up a cheap external firewire case with build in Power Supply from eBay. | |
| - | *2. Purchase external eSATA case to house second drive. You can go cheap (like I do) by use an external USB to PATA case with the USB to ATA PCB removed, and connect the SATA directly into the drive via the case cut out or hole. | + | |
| Line 25: | Line 23: | ||
[[Image:LSPRO RAID.JPG]] | [[Image:LSPRO RAID.JPG]] | ||
| + | |||
| + | ===Configuration and Migration=== | ||
| + | *1. Power up LSPro, and make sure it boot up normally and verify everything functioning normal as before. Dmesg log should indicate 2 drives installed, similar to the following screen, showing 2 drives are detected. | ||
| + | |||
| + | |||
| + | [[Image:Dmesg.JPG]] | ||
| + | |||
| + | *2. If you are completely satisfied with the LS is functioning as before. Partition your internal new drive (/dev/sdb1-5) identical to your original drive (dev/sda1-5). If your new disk is larger than the original disk, you should partition sdb4 and sdb6 to the maximum remaining capacity after partitioning sdb1&2. If you are not familiar with partitioning, please refer to WiKi [http://buffalo.nas-central.org/index.php/Custom_Partitions_on_the_LS_Pro Custom_Partitions_on_the_LS_Pro] | ||
| + | *3. Create RAID-1 mount drive, with only one disk (/dev/sdb6) as interim (original mnt disk will become second member after data has been migrated to the RIAD drive) by using the following command: mdadm -C /dev/md0 -l 1 -n 2 missing /dev/sdb6 | ||
Revision as of 09:12, 26 July 2008
Contents |
Preface & disclaimer
After reading Kuroguy's Hardware Hacks for the LS Pro article on Adding an eSATA port, I decided to take it further and have successfully add a second external SATA drive to my LSPro, and have successfully RAID protect the data drive (or /mnt/disk1), and like to share my experience here, hope it will be useful to others. This hack or modification does require both hardware and software skill. And is relatively safe, but still there is a risk of bricking your LSPro. Do it at your own risk.
Prequisite
LSPro running FreeLink Kernel 2.16.16 (one I am using)or above with mdadm support.
Hardware Modification
- 1. Add second SATA port connector and chassis cut out as described in Hardware Hacks for LSpro
- 2. Purchase external eSATA case to house second drive. You can go cheap (like I do) by use an external USB to PATA case with the USB to ATA PCB removed, and connect the SATA directly into the drive via the case cut out or hole. I manage to pick up a cheap external firewire case with build in Power Supply from eBay.
- 3. Move the internal working bootable hard disk into the external case. When 2 hard drives are installed, the external hard disk becomes the boot drive /dev/sda.
- 4. Install new hard drive (of the same size or larger) into the LSPro, replacing the origin drive.
Configuration and Migration
- 1. Power up LSPro, and make sure it boot up normally and verify everything functioning normal as before. Dmesg log should indicate 2 drives installed, similar to the following screen, showing 2 drives are detected.
- 2. If you are completely satisfied with the LS is functioning as before. Partition your internal new drive (/dev/sdb1-5) identical to your original drive (dev/sda1-5). If your new disk is larger than the original disk, you should partition sdb4 and sdb6 to the maximum remaining capacity after partitioning sdb1&2. If you are not familiar with partitioning, please refer to WiKi Custom_Partitions_on_the_LS_Pro
- 3. Create RAID-1 mount drive, with only one disk (/dev/sdb6) as interim (original mnt disk will become second member after data has been migrated to the RIAD drive) by using the following command: mdadm -C /dev/md0 -l 1 -n 2 missing /dev/sdb6

