RAID your LSpro (v.1) mnt partition functioning like a Duo
From NAS-Central Buffalo - The Linkstation Wiki
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.
LSPro running FreeLink Kernel 2.16.16 (one I am using)or above with mdadm support.
- 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