I notice today that my /dev/md1/ is almost full:
Filesystem Size Used Avail Use% Mounted on
/dev/md1 10G 8.7G 798M 92% /
tmpfs 7.8G 0 7.8G 0% /lib/init/rw
udev 10M 172K 9.9M 2% /dev
tmpfs 7.8G 4.0K 7.8G 1% /dev/shm
/dev/md2 921G 15G 861G 2% /home
And I've no idea how to extend the size of /dev/md1
Here is the result of the mdadm --detail /dev/md1 command
dev/md1:
Version : 0.90
Creation Time : Wed Jun 20 14:16:31 2012
Raid Level : raid1
Array Size : 10485696 (10.00 GiB 10.74 GB)
Used Dev Size : 10485696 (10.00 GiB 10.74 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 1
Persistence : Superblock is persistent
Update Time : Tue Jul 10 19:25:07 2012
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
UUID : 27f5d8a6:64c191ab:a4d2adc2:26fd5302
Events : 0.6
Number Major Minor RaidDevice State
0 8 1 0 active sync /dev/sda1
1 8 17 1 active sync /dev/sdb1
Also, /dev/md1 is full because of mysql. I don;t know if it's possible but moving mysql to another partition could be a solution ?
mdadm --detail /dev/md1
(nicely formatted using the {} button like Jay made yourdf
output, please)/dev/md1
for/boot
, and setup LVM on/dev/md2
. If md1 and md2 are on the same drives, then re-create them so that MD1 is 1-2GB, and then all the rest of the space is in LVM. Then leave your self lots of unallocated space in the volume group, that way you can extend volumes as needed.