hello
the uuid is in there and i have also followed the information at http://tldp.org/HOWTO/Software-RAID-HOWTO-5.html. i have also removed the mdadm.conf file and ran the reassemble command.
chris
hello
the uuid is in there and i have also followed the information at http://tldp.org/HOWTO/Software-RAID-HOWTO-5.html. i have also removed the mdadm.conf file and ran the reassemble command.
chris
Okay, can you show us what the mdadm.conf file has in it?
Regards, frank, at http://yantrayoga.typepad.com/noname/
Homebuilt Lian-Li PC-Q33WB, Intel i7-4790K 4.6GHz, SSDs,32G RAM | Dell Laptop 13.3".
Oracle VBox w/ WinXP/Win10 running Xara Designer, PaintShopPro, and InDesign CS.
Here is a set of instructions that I created:
Create Raid Array with LVM2 Volume Inside
- Determine the Logical location of all drives to be included in array.
sudo lshw -short | grep "/dev/"- Zero all drives to be included in array
sudo shred -vfz -n 0 /dev/sdd- Restart Computer so that the kernel sees the changes.
- Format all drives to be included in array.
sudo fdisk /dev/sdd
- Delete all partitions from the drive.
- Create a new primary partition with the default size (default is the entire disk).
- Change partition type to "Linux raid auto"
- Write Changes to Drive
- Repeat for each disk that will be included in the array.
- Restart Computer so that the kernel sees the changes.
- Determine the Logical locations of all drives to be included in the array again to verify if any have changed.
- Create the Raid device (if you have a missing drive replace it with "missing")
sudo mdadm --create --verbose /dev/md0 --level=5 --raid-devices=3 /dev/sdd1 /dev/sde1 /dev/sda1- Wait for the array to build. You can check the progress with:
sudo mdadm --detail /dev/md0
cat /proc/mdstat- Restart computer to confirm the Configuration.
ls /dev/ | grep "md"- Create physical volume.
sudo pvcreate /dev/md0- Create the volume group. Replace XXX with (Megabytes of array)/65,000, then round to next number (2,4,8,16,32,64,128,256,...).
sudo vgcreate -s XXXM lvm-raid /dev/md0- Create the logical volume.
sudo lvcreate -l 100%VG lvm-raid -n lvm0- Confirm creation of logical volume.
sudo lvdisplay /dev/lvm-raid/lvm0- Format the logical volume.
sudo mkfs.ext3 /dev/lvm-raid/lvm0- Mount the volume
sudo mkdir /media/lvm0
sudo mount /dev/lvm-raid/lvm0 /media/lvm0- Confirm that the volume is mounted.
df -h /media/lvm0
Hello
thanks for the reply
I'll try your how to when i get a chance
Chris
Bookmarks