LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-07-2008, 11:17 AM   #1
cocoon
LQ Newbie
 
Registered: Feb 2008
Posts: 2

Rep: Reputation: 0
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.
 
Old 02-09-2008, 03:56 PM   #2
iiv
Member
 
Registered: Jun 2007
Location: Russia, Moscow Region
Distribution: Slackware
Posts: 167

Rep: Reputation: 30
Quote:
Originally Posted by cocoon View Post
- 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.

Last edited by iiv; 02-09-2008 at 03:57 PM. Reason: typo
 
Old 02-09-2008, 05:41 PM   #3
Eternal_Newbie
Member
 
Registered: Jun 2005
Location: The Pudding Isles
Distribution: Slackware
Posts: 573

Rep: Reputation: 59
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"

Last edited by Eternal_Newbie; 02-09-2008 at 05:47 PM. Reason: correct tldp link
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Booting Slackware 9.1 from VIA VT8237 SATA RAID1 array thefiddler Slackware 3 06-20-2009 08:06 AM
Slackware 12, changing to generic kernel on raid1, mkinitrd issue [GOD]Anck Slackware 15 02-14-2008 07:25 PM
Problems with setting up raid1 with mdadm on slackware kikola Slackware 0 08-21-2006 05:29 AM
Slackware 10.2 boot from SATA RAID1? Rexxars Slackware 2 01-06-2006 11:04 AM
slackware encryption dm-crypt rino.caldelli Slackware 25 08-02-2005 05:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration