12 апр. 2013 г.

NTFS soft RAID 1 on Linux

After investigating various resources I found there is no complete, step-by-step info of how to make soft NTFS RAID1 work under linux.

So...


0.1. Buy 2 drives (for example: WD 20EARX)

0.2. Under Windows (7) make dynamic RAID1 volume - it is simple enough



1. Under linux: open /etc/rc.local for edit

2. Put lines there:
# boot up the SW RAID1 NTFS partition
mdadm --build /dev/md0 --chunk=64 --level=1 --raid-devices=2 /dev/sdc1 /dev/sdd1
mount -t ntfs /dev/md0 /usr/local/rdata

3. (bonus) Make it accessible from your home dir. Open terminal and enter following commands:
user@host ~ $ mkdir ~/data-r1 && ln -s /usr/local/rdata data-r1


where:
/dev/md0 - a RAID device
/dev/sdc1, /dev/sdd1 - your NTFS RAID1 partitions. (the order is matter!)
/usr/local/rdata - path where to mount a RAID.

And... that is all.



Комментариев нет:

Отправить комментарий