Re: Software Raid, recovery after drive broke
On Sat, Oct 29, 2011 at 1:47 PM, Raf Czlonka wrote: > On Sat, Oct 29, 2011 at 01:45:43PM BST, Tom H wrote: >> On Fri, Oct 28, 2011 at 2:28 PM, Raf Czlonka wrote: >> > On Fri, Oct 28, 2011 at 06:50:05PM BST, Tom H wrote: >> >> Given your posts, you're clearly confused... >> > >> > Would you care to elaborate? >> >> No. > > Please refrain from posts claiming that someone's confused if you can't > point out what makes you think that. No comment... -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOdo=SwJNPd3a+g7SRBBJfFQ+N7P+rWmEu6qe_0OB=skxur...@mail.gmail.com
Re: Software Raid, recovery after drive broke
On Sat, Oct 29, 2011 at 01:45:43PM BST, Tom H wrote: > On Fri, Oct 28, 2011 at 2:28 PM, Raf Czlonka wrote: > > On Fri, Oct 28, 2011 at 06:50:05PM BST, Tom H wrote: > >> Given your posts, you're clearly confused... > > > > Would you care to elaborate? > > No. Please refrain from posts claiming that someone's confused if you can't point out what makes you think that. Regards, -- Raf -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20111029174741.ga17...@linuxstuff.pl
Re: Software Raid, recovery after drive broke
On Fri, Oct 28, 2011 at 2:28 PM, Raf Czlonka wrote: > On Fri, Oct 28, 2011 at 06:50:05PM BST, Tom H wrote: >> Given your posts, you're clearly confused... > > Would you care to elaborate? No. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOdo=Sxr6947DeZo74waHE6fXhJmo2=koi7kunmkray1vm6...@mail.gmail.com
Re: Software Raid, recovery after drive broke
On Fri, Oct 28, 2011 at 06:50:05PM BST, Tom H wrote: > Given your posts, you're clearly confused... Would you care to elaborate? -- Raf -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20111028182841.ga25...@linuxstuff.pl
Re: Software Raid, recovery after drive broke
On Fri, Oct 28, 2011 at 9:50 AM, Raf Czlonka wrote: > On Fri, Oct 21, 2011 at 06:12:37PM BST, Tom H wrote: >> >> I'm sorry that I've confused you. I was just pointing out that the >> demarcation line between mdraid and dmraid isn't as straightforward as >> you made it out to be because mdadm (which is an mdraid tool) can be >> used to manage dmraid arrays. > > You hadn't confused me :^) Given your posts, you're clearly confused... -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOdo=Syex1zZU1w3=d-xv4bdmfpmd9ghmofzbberyuklzr-...@mail.gmail.com
Re: Software Raid, recovery after drive broke
On Fri, Oct 21, 2011 at 06:12:37PM BST, Tom H wrote: > I'm sorry that I've confused you. I was just pointing out that the > demarcation line between mdraid and dmraid isn't as straightforward as > you made it out to be because mdadm (which is an mdraid tool) can be > used to manage dmraid arrays. You hadn't confused me :^) I've never claimed it cannot. The difference is quite substantial though: dmraid DESCRIPTION dmraid discovers block and software RAID devices (eg, ATARAID) by using multiple different metadata format handlers which support various formats (eg, Highpoint 37x series). It offers activating RAID sets made up by 2 or more discovered RAID devices, display properties of devices and sets (see option -l for supported metadata formats). Block device access to activated RAID sets occurs via device-mapper nodes /dev/mapper/RaidSetName. RaidSetName starts with the format name (see -l option) which can be used to access all RAID sets of a specific format easily with certain options (eg, -a below). mdadm is for kernel software RAID and can handle *any* block device, no underlying RAID required whatsoever. Regards, -- Raf -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20111028135057.ga24...@linuxstuff.pl
Re: Software Raid, recovery after drive broke
On Fri, Oct 21, 2011 at 8:57 AM, Raf Czlonka wrote: > On Wed, Oct 19, 2011 at 12:29:14AM BST, Tom H wrote: >> On Tue, Oct 18, 2011 at 8:55 AM, Raf Czlonka wrote: >>> >>> dmraid and mdraid are not the same thing. >> >> Except for the fact that you can manage a dmraid array with mdadm >> (IIRC, you have to have "containers" on the "DEVICE" line in >> "mdadm.conf", but there may be more to it than that). > > Device mapper managed ATARAID can be in the container - I never claimed > it cannot. Please, do not confuse users. I'm sorry that I've confused you. I was just pointing out that the demarcation line between mdraid and dmraid isn't as straightforward as you made it out to be because mdadm (which is an mdraid tool) can be used to manage dmraid arrays. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOdo=Sxw0zFt-HpNRWP0rn=vxgnrOHRZJidP=PE1J_r=jwu...@mail.gmail.com
Re: Software Raid, recovery after drive broke
On Wed, Oct 19, 2011 at 12:29:14AM BST, Tom H wrote: > On Tue, Oct 18, 2011 at 8:55 AM, Raf Czlonka wrote: > > > > dmraid and mdraid are not the same thing. > > Except for the fact that you can manage a dmraid array with mdadm > (IIRC, you have to have "containers" on the "DEVICE" line in > "mdadm.conf", but there may be more to it than that). Device mapper managed ATARAID can be in the container - I never claimed it cannot. Please, do not confuse users. dmraid as is Serial ATA RAID, SATA RAID or Fake RAID and mdadm (md raid) as in Linux Software RAID[0]. [0] http://wiki.debian.org/DebianInstaller/SataRaid Regards, -- Raf -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20111021125757.ga1...@linuxstuff.pl
Re: Software Raid, recovery after drive broke
On Tue, Oct 18, 2011 at 8:55 AM, Raf Czlonka wrote: > > dmraid and mdraid are not the same thing. Except for the fact that you can manage a dmraid array with mdadm (IIRC, you have to have "containers" on the "DEVICE" line in "mdadm.conf", but there may be more to it than that). -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOdo=sxw7az-f_mnwhcln9qgrw7fuxh2m0os9stabkmas-r...@mail.gmail.com
Re: Software Raid, recovery after drive broke
W dniu 18.10.2011 14:55, Raf Czlonka pisze: On Tue, Oct 18, 2011 at 12:14:58PM BST, Bartek W. aka Mastier wrote: Hi, I got two drives in RAID1 matrix, each one got 2 partitions, first boot also in raid, containg grub and such RAID or RAID array, not matrix. My question is, what if I connect the new drive and it will appear as /dev/sda, and the already working one will be /dev/sdb. Will it overwrite it ? http://zeldor.biz/2011/09/raid1-replace-broken-hdd/ http://www.howtoforge.com/replacing_hard_disks_in_a_raid1_array http://www.debian-administration.org/articles/238 http://wiki.yobi.be/wiki/Debian_Soft_Raid The second question, Should I first create partitions partions on this new drive ? What about GRUB ? I was struggling last time to install it on both drives in MBR (do you have any proper procedure, because GRUB2 it can boot from dmraid, but cannot install on /dev/md0 for instance). dmraid and mdraid are not the same thing. http://wiki.debian.org/DebianInstaller/SataRaid http://www.howtoforge.com/software-raid1-grub-boot-debian-etch http://wiki.clug.org.za/wiki/RAID-1_in_a_hurry_with_grub_and_mdadm That's after a couple of minutes of using google. You could've found all of the bove yourself. And above all: % man mdadm Regards, Wow! The first link is exactly what I need. I utmostly thank you, you roxx in googling. Sorry for my inconvience, I will not bother you next time unnecessary. Thank you very much! -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4e9d7d92.1040...@gmail.com
Re: Software Raid, recovery after drive broke
On Tue, Oct 18, 2011 at 12:14:58PM BST, Bartek W. aka Mastier wrote: > Hi, > > I got two drives in RAID1 matrix, each one got 2 partitions, first > boot also in raid, containg grub and such RAID or RAID array, not matrix. > My question is, what if I connect the new drive and it will appear > as /dev/sda, and the already working one will be /dev/sdb. Will it > overwrite it ? http://zeldor.biz/2011/09/raid1-replace-broken-hdd/ http://www.howtoforge.com/replacing_hard_disks_in_a_raid1_array http://www.debian-administration.org/articles/238 http://wiki.yobi.be/wiki/Debian_Soft_Raid > The second question, Should I first create partitions partions on > this new drive ? What about GRUB ? I was struggling last time to > install it on both drives in MBR (do you have any proper procedure, > because GRUB2 it can boot from dmraid, but cannot install on > /dev/md0 for instance). dmraid and mdraid are not the same thing. http://wiki.debian.org/DebianInstaller/SataRaid http://www.howtoforge.com/software-raid1-grub-boot-debian-etch http://wiki.clug.org.za/wiki/RAID-1_in_a_hurry_with_grub_and_mdadm That's after a couple of minutes of using google. You could've found all of the bove yourself. And above all: % man mdadm Regards, -- Raf -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20111018125537.ga25...@linuxstuff.pl
Software Raid, recovery after drive broke
Hi, I got two drives in RAID1 matrix, each one got 2 partitions, first boot also in raid, containg grub and such Disk /dev/sda: 1500.3 GB, 1500301910016 bytes 255 heads, 63 sectors/track, 182401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00033dcf Device Boot Start End Blocks Id System /dev/sda1 * 1 63 498688 fd Linux raid autodetect Partition 1 does not end on cylinder boundary. /dev/sda2 63 182402 1464638413 fd Linux raid autodetect Partition 2 does not end on cylinder boundary. The second drive broke, so I need to replace it now. I got two software raids, one for boot, the second for lvm2... root@hydra:~# cat /proc/mdstat Personalities : [raid1] md1 : active raid1 sda2[0] 1464637253 blocks super 1.2 [2/1] [U_] md0 : active raid1 sda1[0] 498676 blocks super 1.2 [2/1] [U_] unused devices: My question is, what if I connect the new drive and it will appear as /dev/sda, and the already working one will be /dev/sdb. Will it overwrite it ? The second question, Should I first create partitions partions on this new drive ? What about GRUB ? I was struggling last time to install it on both drives in MBR (do you have any proper procedure, because GRUB2 it can boot from dmraid, but cannot install on /dev/md0 for instance). -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4e9d5fb2.6070...@gmail.com