I understand about the partitions and logical drives. I've used gparted on another system when I put ubuntu on my netbook but never dealt with arrays before. GParted has a nice graphical interface so I could see what was going on. It lets you non-destructively move and resize partitions.
So I guess what I want to do is make sda2 and sdb2 smaller and then expand sda3 and sdb3 into the freed up space.
sda3 and sdb3 have almost no data on them now so I could easily copy that to another place and reload it after resizing. I did put the Alt-f folder on that partition. The data on sda-b2 is critical but should not be affected if the partition is being shrunk. Correct? I don't even use the Linux user files on sda-b4
As I examine my log file it appears the physical order of the partitions on my drives is sd*1, 4, 2, 3 so the two partitions I want to manipulate are at the end of the disk.
So I guess I will have to stop the array md0, then for each disk: fail sd*2, remove sd*2 then change the partition size of sd*2.
After both discs are done with the repartitioning rebuild the array md0 with partitions sda2 and sdb2.
Since I have the Alt-f folder on sd*3 i assume I'll have to re-download the packages and install them on md0 in order to grow the partition sb*3 since that data will be destroyed in the process.
Please give me all the hand holding you can with this process.
Thanks again
Here is the log file you asked for:
# mdadm --detail /dev/md0 /dev/md1
/dev/md0:
Version : 0.90
Creation Time : Tue Feb 1 16:36:17 2011
Raid Level : raid1
Array Size : 535276224 (510.48 GiB 548.12 GB)
Used Dev Size : 535276224 (510.48 GiB 548.12 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Sat Jul 14 13:17:56 2012
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
UUID : 01e2fa47:12e7faa6:06a4a40d:274ef8cc
Events : 0.4214511
Number Major Minor RaidDevice State
0 8 2 0 active sync /dev/sda2
1 8 18 1 active sync /dev/sdb2
/dev/md1:
Version : 0.90
Creation Time : Tue Feb 1 16:45:11 2011
Raid Level : linear
Array Size : 105932416 (101.03 GiB 108.47 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 1
Persistence : Superblock is persistent
Update Time : Tue Feb 1 16:45:11 2011
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Rounding : 64K
UUID : fa7ebebd:2a5053fb:5242e129:18629536
Events : 0.1
Number Major Minor RaidDevice State
0 8 3 0 active sync /dev/sda3
1 8 19 1 active sync /dev/sdb3
# sfdisk -luS /dev/sda /dev/sdb
Disk /dev/sda: 121601 cylinders, 255 heads, 63 sectors/track
Units = sectors of 512 bytes, counting from 0
Device Boot Start End #sectors Id System
/dev/sda1 63 1060289 1060227 82 Linux swap
/dev/sda2 2088450 1847587454 1845499005 83 Linux
/dev/sda3 1847587455 1953520064 105932610 83 Linux
/dev/sda4 1060290 2088449 1028160 83 Linux
Disk /dev/sdb: 121601 cylinders, 255 heads, 63 sectors/track
Units = sectors of 512 bytes, counting from 0
Device Boot Start End #sectors Id System
/dev/sdb1 63 1060289 1060227 82 Linux swap
/dev/sdb2 2088450 1847587454 1845499005 83 Linux
/dev/sdb3 1847587455 1953520064 105932610 83 Linux
/dev/sdb4 1060290 2088449 1028160 83 Linux
# blkid
/dev/mtdblock0: TYPE="minix"
/dev/md0: UUID="12370280-8d8f-4b43-bfeb-19f361b36017" TYPE="ext4"
/dev/md1: UUID="657fb9ec-49ae-4b5f-8b20-5e0f818ffbd5" TYPE="ext4"
/dev/sda4: UUID="3b18a5e3-3803-4ce1-bd47-4454d4adfd23" TYPE="ext4"
/dev/loop0: TYPE="squashfs"
/dev/mtdblock1: TYPE="minix"
/dev/sdb4: UUID="0dfd0c2f-fb50-44cd-afc6-45ae00d7fb29" TYPE="ext4"
/dev/sdb2: UUID="47fae201-a6fa-e712-0da4-a406ccf84e27" TYPE="mdraid"
/dev/sda2: UUID="47fae201-a6fa-e712-0da4-a406ccf84e27" TYPE="mdraid"
/dev/sdb1: TYPE="swap"
/dev/sda1: TYPE="swap"
/dev/sdb3: UUID="bdbe7efa-fb53-502a-29e1-425236956218" TYPE="mdraid"
/dev/sda3: UUID="bdbe7efa-fb53-502a-29e1-425236956218" TYPE="mdraid"
#