DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I need to set up a RAID 1 array on Squeeze. I have 3 partitions: sda1 is root, sda5 is home, and sda6 is swap. (sda2 is the extended partition containing home and swap. This was a clean installation, so I don't know what happened to sda3 and sda4...)
All the information that I've been able to find recommends doing something like this:
Yes, you do have to do that separately for each partition. You don't have to do that for the swap partitions, if you mention them both in your fstab the kernel will automatically choose a scheme to use them.
Regarding sda3 and sda4, they are reserved for primary partitions, logical partitions in an extended partition will start at sda5, so this is normal behavior, don't bother with that.
The easiest way to set up a RAID 1 is to install to a single disk, then add the 2nd to the array and have the kernel do the copying
When I upgraded my RAID 5 setup in my fileserver (from 3x 500G to 3x 2TB) I exchanged one 500G disk with a 2 TB one, then have the kernel recreate the filesystem on that disk for 24 hrs, repeated twice more, then simply enlarged the filesystem (XFS) on the RAID. So, instead of 1TB I now have 4 TB in RAID to full up (up up up up up up up sorry, there's an echo somewhere down there there there there there there )
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.