[opensuse] RE: Creating a Mirror (RAID) Partition for root + boot drive
I have had complete success partitioning my root+boot partition from my /home partition which helps a great deal in installing a new version and not selecting the update option and formatting just my root=boot partition and leaving /home partition to be over written with new settings. I have had a great deal of success in partitioning and extra space below /home as /home/data being a different physical drive. I have had complete sucess in combining the total space of more than one physical drive into one striped drive and mounting MD0 etc...... I have had complete success in encrypting a partition of /home/..... I have not yet been able to Mirror my Boot+Root partitions despite formatting with the correct format and creating a mirror RAID - Is there anything special in creating a RAID (mirror) of the boot+root partitions of a HDD. In the past I have kept the volume space identical on 2 different Physical drive to create a meaningful redundant boot+root partition that will be preserved if 1 physical drive fails that contains the boot+root partition. Yes I always configure ample swap space in all the above where multiples physical drives exist despite running 8 GIG of RAM. Is there something I have possible not done to correctly boot from a (RAID) Redundant boot+root drive on different physical media. I have not tried to RAID Redundant any /home/ or below mount point so I may have missed something. P.S Hate the new Partitioner in 11.1 - I saw nothing wrong with its form in 11.0, but like everything it needs to be like a dependency tree picture to keep everyone happy ;-) Scott
alpha096@virginbroadband.com.au wrote:
I have not yet been able to Mirror my Boot+Root partitions despite formatting with the correct format and creating a mirror RAID - Is there anything special in creating a RAID (mirror) of the boot+root partitions of a HDD. In the past I have kept the volume space identical on 2 different Physical drive to create a meaningful redundant boot+root partition that will be preserved if 1 physical drive fails that contains the boot+root partition. Yes I always configure ample swap space in all the above where multiples physical drives exist despite running 8 GIG of RAM.
Is there something I have possible not done to correctly boot from a (RAID) Redundant boot+root drive on different physical media.
I have not tried to RAID Redundant any /home/ or below mount point so I may have missed something.
P.S Hate the new Partitioner in 11.1 - I saw nothing wrong with its form in 11.0, but like everything it needs to be like a dependency tree picture to keep everyone happy ;-)
Scott
Scott I haven't tried in 11.1, but I have /boot /home and / set up in raid1 using both mdraid and dmraid in 10.3 and 11.0. The best thing I can do right now is just give you a couple examples of my setups so you can compare wit what you have: openSuSE 11.0 mdraid 1 for / and /home (no separate /boot on this install) i586 04:23 zion~> cat /proc/partitions major minor #blocks name 8 0 60051600 sda 8 1 40957686 sda1 8 2 449820 sda2 8 3 1 sda3 8 5 18643401 sda5 8 16 40209120 sdb 8 17 15366141 sdb1 8 18 24836490 sdb2 8 32 488386584 sdc 8 33 1 sdc1 8 37 20972794 sdc5 8 38 467411143 sdc6 8 48 488386584 sdd 8 49 1 sdd1 8 53 20972794 sdd5 8 54 467411143 sdd6 9 0 20972720 md0 9 1 467411004 md1 04:24 zion~> cat /etc/fstab /dev/disk/by-id/scsi-SATA_IC35L060AVV207-_VNVB40G8TJ3L0H-part2 swap swap defaults 0 0 /dev/md0 / ext3 acl,user_xattr 1 1 /dev/md1 /home ext3 acl,user_xattr 1 2 /dev/sdb2 /mnt/10.3 ext3 acl,user_xattr 1 2 /dev/sda5 /mnt/10.3-root ext3 acl,user_xattr 1 2 proc /proc proc defaults 0 0 sysfs /sys sysfs noauto 0 0 debugfs /sys/kernel/debug debugfs noauto 0 0 usbfs /proc/bus/usb usbfs noauto 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 04:24 zion~> cat /etc/mdadm.conf DEVICE partitions ARRAY /dev/md0 level=raid1 UUID=73755ba5:95d1ea93:627fcc2b:ab9778b1 ARRAY /dev/md1 level=raid1 UUID=b119e184:e3bd8652:792c1ed2:3107e924 openSuSE 11.0 dmraid1 /boot /home / x86_64 02:24 ecstasy:~> cat /proc/partitions major minor #blocks name 8 0 488386584 sda 8 1 1 sda1 8 5 72229 sda5 8 6 2104483 sda6 8 7 20972826 sda7 8 8 465234336 sda8 8 16 488386584 sdb 8 17 1 sdb1 8 21 72229 sdb5 8 22 2104483 sdb6 8 23 20972826 sdb7 8 24 465234336 sdb8 8 32 488386584 sdc 8 33 20972826 sdc1 8 34 467411175 sdc2 253 0 488386583 dm-0 253 1 488384001 dm-1 253 2 72229 dm-2 253 3 2104483 dm-3 253 4 20972826 dm-4 253 5 465234336 dm-5 02:27 ecstasy:~> cat /etc/fstab /dev/mapper/nvidia_fdaacfde_part6 swap swap defaults 0 0 /dev/mapper/nvidia_fdaacfde_part7 / ext3 acl,user_xattr 1 1 /dev/mapper/nvidia_fdaacfde_part5 /boot ext3 acl,user_xattr 1 2 /dev/mapper/nvidia_fdaacfde_part8 /home ext3 acl,user_xattr 1 2 proc /proc proc defaults 0 0 sysfs /sys sysfs noauto 0 0 debugfs /sys/kernel/debug debugfs noauto 0 0 usbfs /proc/bus/usb usbfs noauto 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 none /proc/bus/usb usbfs auto,busgid=1009,busmode=0775,devgid=1009,devmode=0664 0 0 (no /etc/mdadm.conf with dmraid) openSuSE 10.3 dmraid 1 /boot /home / x86_64 04:22 nirvana:/srv/www/download/screenshots/ms> cat /proc/partitions major minor #blocks name 8 0 488386584 sda 8 1 1 sda1 8 5 72229 sda5 8 6 2104483 sda6 8 7 33567786 sda7 8 8 452237751 sda8 8 16 488386584 sdb 8 17 1 sdb1 8 21 72229 sdb5 8 22 2104483 sdb6 8 23 33567786 sdb7 8 24 452237751 sdb8 253 0 488386583 dm-0 253 1 488384001 dm-1 253 2 72229 dm-2 253 3 2104483 dm-3 253 4 33567786 dm-4 253 5 452237751 dm-5 00:43 nirvana:/srv/www/download/screenshots/ms> cat /etc/fstab /dev/mapper/nvidia_hacfgfda_part7 / ext3 acl,user_xattr 1 1 /dev/mapper/nvidia_hacfgfda_part5 /boot ext3 acl,user_xattr 1 2 /dev/mapper/nvidia_hacfgfda_part8 /home ext3 acl,user_xattr 1 2 /dev/mapper/nvidia_hacfgfda_part6 swap swap defaults 0 0 proc /proc proc defaults 0 0 sysfs /sys sysfs noauto 0 0 debugfs /sys/kernel/debug debugfs noauto 0 0 usbfs /proc/bus/usb usbfs noauto 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 /dev/fd0 /media/floppy auto noauto,user,sync 0 0 Compare with what you have and we will follow up tomorrow. -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
alpha096@virginbroadband.com.au wrote:
I have not yet been able to Mirror my Boot+Root partitions despite formatting with the correct format and creating a mirror RAID - Is there anything special in creating a RAID (mirror) of the boot+root partitions of a HDD.
Nope. When you say you've "not yet been able to Mirror", what exactly do you mean? Coz' later on you say you have formatted and created a RAID device.
Is there something I have possible not done to correctly boot from a (RAID) Redundant boot+root drive on different physical media.
Boot loader config?
P.S Hate the new Partitioner in 11.1 - I saw nothing wrong with its form in 11.0,
Yeah, same here. It took me a while to find "reread partion maps" in the new one. /Per -- Per Jessen, Zürich (7.6°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Sorry - I create the Mirrored during Installation selecting the 1 physical drive as boot+root and its mirror on a different physical drive partition , however when I boot the PC from HDD after Install the PC does not boot anything - I not sure if this is an error in writing the boot-loader or I have stuffed up the Mirror Sorry Per - OOP! Per Jessen wrote:
alpha096@virginbroadband.com.au wrote:
I have not yet been able to Mirror my Boot+Root partitions despite formatting with the correct format and creating a mirror RAID - Is there anything special in creating a RAID (mirror) of the boot+root partitions of a HDD.
Nope. When you say you've "not yet been able to Mirror", what exactly do you mean? Coz' later on you say you have formatted and created a RAID device.
Is there something I have possible not done to correctly boot from a (RAID) Redundant boot+root drive on different physical media.
Boot loader config?
P.S Hate the new Partitioner in 11.1 - I saw nothing wrong with its form in 11.0,
Yeah, same here. It took me a while to find "reread partion maps" in the new one.
/Per
alpha096@virginbroadband.com.au wrote:
Sorry - I create the Mirrored during Installation selecting the 1 physical drive as boot+root and its mirror on a different physical drive partition , however when I boot the PC from HDD after Install the PC does not boot anything
That sounds like a boot loader problem - I'm guessing you're using grub? Try googling for grub and booting from raid - I seem to recall reading about some sort of issue. (I use lilo myself, so I can't help you directly). /Per -- Per Jessen, Zürich (7.9°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Because apart from dissecting the acronym - which in today's terms with many varieties of R.A.I.D's, is no longer meaningful, I can create a single volume from many partitions from many physical disks. What I have not been able to do is create a RAID redundancy of the boot+/ drive using different physical disk partitions and get the thing to boot! ;-) alpha096@virginbroadband.com.au wrote:
Sorry - I create the Mirrored during Installation selecting the 1 physical drive as boot+root and its mirror on a different physical drive partition , however when I boot the PC from HDD after Install the PC does not boot anything - I not sure if this is an error in writing the boot-loader or I have stuffed up the Mirror
Sorry Per - OOP!
Per Jessen wrote:
alpha096@virginbroadband.com.au wrote:
I have not yet been able to Mirror my Boot+Root partitions despite formatting with the correct format and creating a mirror RAID - Is there anything special in creating a RAID (mirror) of the boot+root partitions of a HDD.
Nope. When you say you've "not yet been able to Mirror", what exactly do you mean? Coz' later on you say you have formatted and created a RAID device.
Is there something I have possible not done to correctly boot from a (RAID) Redundant boot+root drive on different physical media.
Boot loader config?
P.S Hate the new Partitioner in 11.1 - I saw nothing wrong with its form in 11.0,
Yeah, same here. It took me a while to find "reread partion maps" in the new one.
/Per
I have been able to Mirror my Boot+Root partitions by formatting with the correct format and using the redundancy of different same size partitions on different HDD on two seperate disks and creating a mirror RAID - Is there anything special in creating a RAID (mirror) of the boot+root partitions of a HDD As when I come to boot the system - I get please insert system disk.... I did select the original primary master HDD before which always produced a stable boot and operation. Now all I have done is to create a redundancy raid with the second sata HDD partition....but still no boot. Can anyone tell me their experience in doing just the same without however having to correct or change the boatload manually. My Knowledge is sound in theory but my redundancy RAID of my boot+root partition correct. Can anyone tell me if I DO need to change anything in the boot config to get this to boo it from the designated Media. If there is a requirement to have to change bootloader instructions manually - Ill assume it does not work fore me
Sorry about the stuff up in editing reply-to-all guys....... I have been able to Mirror my Boot+Root partitions by formatting with the correct format and using the redundancy of different same size partitions on different HDD on two seperate disks and creating a mirror RAID - Is there anything special in creating a RAID (mirror) of the boot+root partitions of a HDD. As when I come to boot the system - I get please insert system disk.... I did select the original primary master HDD before which always produced a stable boot and operation. Now all I have done is to create a redundancy raid with the second sata HDD partition....but still no boot. Can anyone tell me their experience in doing just the same without however having to correct or change the boatload manually. My Knowledge is sound in theory but my redundancy RAID of my boot+root partition correct. Can anyone tell me if I DO need to change anything in the boot config to get this to boo it from the designated Media. If there is a requirement to have to change boot loader instructions manually - Ill assume it does not work fore me alpha096@virginbroadband.com.au wrote:
Because apart from dissecting the acronym - which in today's terms with many varieties of R.A.I.D's, is no longer meaningful, I can create a single volume from many partitions from many physical disks.
What I have not been able to do is create a RAID redundancy of the boot+/ drive using different physical disk partitions and get the thing to boot! ;-)
alpha096@virginbroadband.com.au wrote:
Sorry - I create the Mirrored during Installation selecting the 1 physical drive as boot+root and its mirror on a different physical drive partition , however when I boot the PC from HDD after Install the PC does not boot anything - I not sure if this is an error in writing the boot-loader or I have stuffed up the Mirror
Sorry Per - OOP!
Per Jessen wrote:
alpha096@virginbroadband.com.au wrote:
I have not yet been able to Mirror my Boot+Root partitions despite formatting with the correct format and creating a mirror RAID - Is there anything special in creating a RAID (mirror) of the boot+root partitions of a HDD.
Nope. When you say you've "not yet been able to Mirror", what exactly do you mean? Coz' later on you say you have formatted and created a RAID device.
Is there something I have possible not done to correctly boot from a (RAID) Redundant boot+root drive on different physical media.
Boot loader config?
P.S Hate the new Partitioner in 11.1 - I saw nothing wrong with its form in 11.0,
Yeah, same here. It took me a while to find "reread partion maps" in the new one.
/Per
participants (3)
-
alpha096@virginbroadband.com.au
-
David C. Rankin
-
Per Jessen