Hi All. Hoping you can be of assistance. I'm not excellent with Linux but I know the basics of managing a server. I have a PBX running Elastix with 2x 80GB Hard Drives in a RAID1 Array. I'd like to upgrade these drives to 2x 500GB Hard Drives in a Raid1 Array. I've pasted all the nitty gritty details below, but what would be the recommended way of doing so? I'd like to avoid having to re-setup the entire server, as lots of custom little tweaks have been made over the years that I wasn't involved in. Basically looking to do the following: Clone 2x80GB Drive onto 2x500GB, expand /dev/md2 to accommodate new space edit: I'd like to add that I was just going to go the Clonezilla route, but wondering if there's a 'better' way. [root@pbx ~]# fdisk -l Disk /dev/sda: 80.0 GB, 80000000000 bytes 255 heads, 63 sectors/track, 9726 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 13 104391 fd Linux raid autodetect /dev/sda2 14 523 4096575 fd Linux raid autodetect /dev/sda3 524 9726 73923097+ fd Linux raid autodetect Disk /dev/sdb: 80.0 GB, 80000000000 bytes 255 heads, 63 sectors/track, 9726 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdb1 * 1 13 104391 fd Linux raid autodetect /dev/sdb2 14 523 4096575 fd Linux raid autodetect /dev/sdb3 524 9726 73923097+ fd Linux raid autodetect Disk /dev/md2: 75.6 GB, 75697160192 bytes 2 heads, 4 sectors/track, 18480752 cylinders Units = cylinders of 8 * 512 = 4096 bytes Disk /dev/md2 doesn't contain a valid partition table Disk /dev/md1: 4194 MB, 4194762752 bytes 2 heads, 4 sectors/track, 1024112 cylinders Units = cylinders of 8 * 512 = 4096 bytes Disk /dev/md1 doesn't contain a valid partition table Disk /dev/md0: 106 MB, 106823680 bytes 2 heads, 4 sectors/track, 26080 cylinders Units = cylinders of 8 * 512 = 4096 bytes Disk /dev/md0 doesn't contain a valid partition table [root@pbx ~]# mdadm --query --detail /dev/md0 /dev/md0: Version : 0.90 Creation Time : Wed May 9 17:42:43 2012 Raid Level : raid1 Array Size : 104320 (101.89 MiB 106.82 MB) Used Dev Size : 104320 (101.89 MiB 106.82 MB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 0 Persistence : Superblock is persistent Update Time : Mon May 20 10:55:10 2013 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : 3555fb83:56fb7a79:4ebde9f6:637090ac Events : 0.112 Number Major Minor RaidDevice State 0 8 1 0 active sync /dev/sda1 1 8 17 1 active sync /dev/sdb1 [root@pbx ~]# mdadm --query --detail /dev/md1 /dev/md1: Version : 0.90 Creation Time : Wed May 9 17:41:13 2012 Raid Level : raid1 Array Size : 4096448 (3.91 GiB 4.19 GB) Used Dev Size : 4096448 (3.91 GiB 4.19 GB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 1 Persistence : Superblock is persistent Update Time : Mon May 20 12:34:11 2013 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : 4027e72f:3a376c95:15b7295a:11b4b9e5 Events : 0.112 Number Major Minor RaidDevice State 0 8 2 0 active sync /dev/sda2 1 8 18 1 active sync /dev/sdb2 [root@pbx ~]# mdadm --query --detail /dev/md2 /dev/md2: Version : 0.90 Creation Time : Wed May 9 17:41:14 2012 Raid Level : raid1 Array Size : 73923008 (70.50 GiB 75.70 GB) Used Dev Size : 73923008 (70.50 GiB 75.70 GB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 2 Persistence : Superblock is persistent Update Time : Tue May 21 11:29:41 2013 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : 6e971336:3af0f9fc:683e340b:557708f3 Events : 0.118 Number Major Minor RaidDevice State 0 8 3 0 active sync /dev/sda3 1 8 19 1 active sync /dev/sdb3 submitted by eXpZA [link] [comment]
Read More...