Recently, I added to new disks to a machine. I created one partition on each drive, and used software raid to set up a raid1 between the partitions. However, for some reason after I add the partitions to the array, mdadm also detects the superblock in the underlying block devices.
I'm trying to migrate the drive containing /home to a raid 1, and I've found so many incomplete and wildly divergent instructions I'm not sure where to start, other than spending the next 6 months studying raid and playing around in VBox.
Right now, I have a 3 harddrives.
sda (160GB) with / at sda1, plus a swap partition.
sdb (1TB) for /home at sdb1 (only partition on drive)
sdc (1TB) not in u
I've got a system that ran cleanly on Ubuntu 10.04 LTS.
Upgrading to 12.04 LTS / 12.04.1 LTS / 12.04.2 LTS has been unpleasant and unsuccessful.
Install goes cleanly and I have installed as follows:
/ on lvm lv backed by by mdadm raid 1 pair /dev/md0 (/dev/sda1, /dev/sdb1) ext4 0.90 metadata
/boot on lvm lv backed by mdadm raid 1 pair /dev/md1 (/dev/sda2, /dev/sdb2) ext4 0.90 metadata
swap on
Not sure I have the proper steps to putting together a RAID10 system during the install of F12. I have 4 WD 1TB empty SATA drives available.
When I get to the partition editor, what do I do. I assume I must carve out a partition for /boot. So, I create a 500MB ext4 partition on sda1.
Then, I create four 953GB (or so) software RAID partitions, one on each drive.
I currently have the following setup:
2TB HDD /dev/sda:
/dev/sda1: (NTFS) Windows 7 Boot Partition: 100GB
1TB HDD /dev/sdb:
/dev/sdb1: (EXT4) Linux General/Backup Partition - 1TB
256GB SSD /dev/sdc:
/dev/sdc1: (FAT) Windows 7 Loader Partition - 100MB
/dev/sdc5: (EXT4) Main Linux Boot Partition - 255.9GB
Here's what I'm going to do.
I have a Virtual Host server build with Ubuntu and Xen
SO
Ubuntu 12.04.1 LTS 64Bits
xen-hypervisor-4.1
Disk
Hitachi SAS 15K 147GB (x2) in a Volume group
sda1 1GB /boot
sda2 146GB lvm
sdb1 147GB lvm
Every virtual machine has minimum two LV (root, swap)
I have available three new disks Hitachi SAS 15K 600GB i want create a RAID5 with this disk and migrate all partitions from the VG.
I'm trying to create a Raid array and these are the errors I keep getting.
A while back I created a RAID 6 array consisting of 5 2TB drives and formatted it with XFS and set up the block and stripe size appropriately.
Yesterday I added two more 2TB drives to the array and it is almost done reshaping the array. While running that I realized that XFS is optimized for the number of drives, and so far as I can tell there is no way to change that after the fact.
In F17 and earlier I have been able to boot from install disk and then ultimately access a raid 1 and then do a custom install. I select a root partition and home partition, etc., and the size of each, always reserving some free space in the volume group that is on top of my raid 1.
In F18 install I can't even see any raid.