Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 01-04-2007, 07:42 PM   #1
Registered: Dec 2006
Location: UNM
Distribution: Debian Lenny
Posts: 107

Rep: Reputation: 15
Debian Etch RC1 - RAID 1 question

I just set up my box to use software RAID 1 accross two SATA II drives. More of a question than a problem:

When I set up the RAID in the installer, I told it to set up the drives like so (the partition sizes are close):

/dev/sda2 RAID device 150 MB
/dev/sda3 RAID device 107.5 GB
/dev/sda1 Windows ~ 40 GB

/dev/sdb1 RAID device 150 MB
/dev/sdb2 RAID device 107.5 GB
/dev/sdb3 SWAP 16GB

/dev/md0 ext3 /boot 150 MB RAID 1 sda2, sdb1
/dev/md1 ext3 / 107.5 GB RAID 1 sda3, sdb2

Here's the confusing part:

when I boot up the system and run mdadm --detail /dev/md1, it turns out that only one partition is 107.5 GB, the other is something like 100 GB, and md1 is 104 GB (the avarige size of the RAID partitions). Is this bad? I only have experience with RAID on RHEL boxes, and the partitions there were always the same size.

edit: the same thing happened to /dev/md0, but it's only off by a few MB. I also installed the Windows partition before linux, and am upgrading from FC4.

Even if this isn't a big problem, is it possible, and if so, how do I make the partitions the same size, apart from blowing away sdb, and re-writing all of the data?


note: sorry, I accidently posted this in the debian forum.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Promise SX8300/4300 sata2 raid in Debian (etch x64 smp kernel 2.6.16) NEO^AMiGA Linux - Hardware 3 11-01-2009 06:31 PM
Debian Etch RC1 - RAID 1 question StargateSteve Debian 4 01-08-2007 09:26 AM
LXer: Debian-Installer etch RC1 Screenshot Walkthrough LXer Syndicated Linux News 0 12-09-2006 02:03 PM
LXer: NL: Debian GNU/Linux 4.0 RC1 (etch) LXer Syndicated Linux News 0 11-16-2006 07:54 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:45 PM.

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