LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware 12, encryption and RAID1, how? (https://www.linuxquestions.org/questions/slackware-14/slackware-12-encryption-and-raid1-how-619372/)

cocoon 02-07-2008 11:17 AM

Slackware 12, encryption and RAID1, how?
 
Hi,

I currently have the following configuration:

Linux version: Slackware 12.0.0
Kernel version: 2.6.24

Encryption on two partitions:
crypthome <- /dev/sda4
cryptswap <- /dev/sda1

also (unencrypted):
/ <- /dev/sda2
/usr <- /dev/sda3

- Partition table has been copied to the second hard-drive (sdb)
- I think I have all the right modules configured in the kernel

Hardware:
Asus P5VD2-X (suppose to support RAID0-1)
2 x 250GB WD SATA Hard drives (nearly identical)

What I want:
- Setup hardware or software RAID1 (whichever is possible/most appropriate)
- Keep the encryption
- Not need to delete any data
- just copy all data from first to second drive and start the raid

Any help is much appreciated, thank you.

iiv 02-09-2008 03:56 PM

Quote:

Originally Posted by cocoon (Post 3049208)
- Keep the encryption
- Not need to delete any data
- just copy all data from first to second drive and start the raid

The information about RAID should be in your motherboard manual, at least mine was there for P4P800.
For software RAID I would like to recommend LVM(logical volume management) the description for basic and complex setups you can find in /usr/doc/Linux-HOWTOs/LVM-HOWTO
Don't know how to keep the data, while 'merging' disks, sorry. Try to find a friend with a 500Gb HDD.
Wish it would be helpful.

Eternal_Newbie 02-09-2008 05:41 PM

LVM is not a software RAID implementation, it is a similar but different technology.

here a a few RAID links to get you started:
http://tldp.org/HOWTO/Software-RAID-HOWTO.html - out of date
http://www.linuxquestions.org/linux/..._on_Slack_10_2
http://www.linuxhomenetworking.com/w..._Software_RAID

There are also a couple of threads in this forum about setting up RAID

I don't use RAID, so I can't vouch for the accuracy of any of these links

also try "apropos raid"


All times are GMT -5. The time now is 03:57 AM.