Re: RAID5 (mdadm) array hosed after grow operation (there are two of us)

2009-04-30 Thread martin f krafft
also sprach Henrique de Moraes Holschuh [2009.04.30.1925 +0200]: > Where can I read about that, before I freak out needlesly? :-) In the ANNOUNCE files and the upstream changelog, both of which are not included in the Debian package by result of some weird chain of events. Try http://git.de

Re: RAID5 (mdadm) array hosed after grow operation (there are two of us)

2009-04-30 Thread Henrique de Moraes Holschuh
On Thu, 30 Apr 2009, martin f krafft wrote: > also sprach Henrique de Moraes Holschuh [2009.04.30.1615 > +0200]: > > 1.0 superblocks are widely used. Please don't do that. Either > > implement support for both, or use mdadm (which knows both). > > > > This kind of stuff really should not be do

Re: RAID5 (mdadm) array hosed after grow operation (there are two of us)

2009-04-30 Thread Henrique de Moraes Holschuh
On Thu, 30 Apr 2009, Boyd Stephen Smith Jr. wrote: > He who codes, decides. Either put forth the effort to > design/write/review/test/apply the patch or don't be surprised if your > preferences are not highly weighted in the resulting code. Will lvm upstream take something that makes lvm align

Re: RAID5 (mdadm) array hosed after grow operation (there are two of us)

2009-04-30 Thread Boyd Stephen Smith Jr.
In <20090430141527.gc28...@khazad-dum.debian.net>, Henrique de Moraes Holschuh wrote: >On Wed, 29 Apr 2009, Boyd Stephen Smith Jr. wrote: >> In <20090429192819.gb1...@khazad-dum.debian.net>, Henrique de Moraes >> Holschuh wrote: >> >On Wed, 29 Apr 2009, martin f krafft wrote: >> >> One should thus

Re: RAID5 (mdadm) array hosed after grow operation (there are two of us)

2009-04-30 Thread martin f krafft
also sprach Henrique de Moraes Holschuh [2009.04.30.1615 +0200]: > 1.0 superblocks are widely used. Please don't do that. Either > implement support for both, or use mdadm (which knows both). > > This kind of stuff really should not be done halfway, it can > suprise someone into a dataloss sce

Re: RAID5 (mdadm) array hosed after grow operation (there are two of us)

2009-04-30 Thread Henrique de Moraes Holschuh
On Wed, 29 Apr 2009, Boyd Stephen Smith Jr. wrote: > In <20090429192819.gb1...@khazad-dum.debian.net>, Henrique de Moraes > Holschuh wrote: > >On Wed, 29 Apr 2009, martin f krafft wrote: > >> also sprach Henrique de Moraes Holschuh [2009.04.29.1522 > +0200]: > >> > As always, you MUST forbid lvm

Re: RAID5 (mdadm) array hosed after grow operation (there are two of us)

2009-04-29 Thread Boyd Stephen Smith Jr.
In <20090429192819.gb1...@khazad-dum.debian.net>, Henrique de Moraes Holschuh wrote: >On Wed, 29 Apr 2009, martin f krafft wrote: >> also sprach Henrique de Moraes Holschuh [2009.04.29.1522 +0200]: >> > As always, you MUST forbid lvm of ever touching md component >> > devices even if md is offli

Re: RAID5 (mdadm) array hosed after grow operation (there are two of us)

2009-04-29 Thread Henrique de Moraes Holschuh
On Wed, 29 Apr 2009, martin f krafft wrote: > also sprach Henrique de Moraes Holschuh [2009.04.29.1522 > +0200]: > > As always, you MUST forbid lvm of ever touching md component > > devices even if md is offline, and that includes whatever crap is > > inside initrds... > > One should thus fix LV

Re: RAID5 (mdadm) array hosed after grow operation (there are two of us)

2009-04-29 Thread martin f krafft
also sprach martin f krafft [2009.04.29.1847 +0200]: > Absolutely. I've put Neil Brown, upstream mdadm on Bcc so he can > pitch in if this is something he'd implement or accept patches for. On second thought, there *is* the sysfs interface, but I don't think it exposes md-specific information unl

Re: RAID5 (mdadm) array hosed after grow operation (there are two of us)

2009-04-29 Thread martin f krafft
also sprach Boyd Stephen Smith Jr. [2009.04.29.1808 +0200]: > I'm down with LVM running something like: > mdadm --has-superblock /dev/block/device > for devices that have a PV header and refusing to automatically treat them > as PVs if it returns success, as long as it doesn't affect md-on-LVM.

Re: RAID5 (mdadm) array hosed after grow operation (there are two of us)

2009-04-29 Thread Boyd Stephen Smith Jr.
In <20090429141142.ga19...@piper.oerlikon.madduck.net>, martin f krafft wrote: >also sprach Boyd Stephen Smith Jr. [2009.04.29.1557 +0200]: >> >One should thus fix LVM to be a bit more careful... >> >> LVM allows you to strictly limit what devices it scans for PV headers. > >That's not enough; L

Re: RAID5 (mdadm) array hosed after grow operation (there are two of us)

2009-04-29 Thread martin f krafft
also sprach Boyd Stephen Smith Jr. [2009.04.29.1557 +0200]: > >One should thus fix LVM to be a bit more careful... > > LVM allows you to strictly limit what devices it scans for PV headers. That's not enough; LVM knows that md exists, and LVM-on-md is about 99.8% of the sane use-cases, so L

Re: RAID5 (mdadm) array hosed after grow operation (there are two of us)

2009-04-29 Thread Boyd Stephen Smith Jr.
In <20090429134916.gb17...@piper.oerlikon.madduck.net>, martin f krafft wrote: >also sprach Henrique de Moraes Holschuh [2009.04.29.1522 +0200]: >> As always, you MUST forbid lvm of ever touching md component >> devices even if md is offline, and that includes whatever crap is >> inside initrds..

Re: RAID5 (mdadm) array hosed after grow operation (there are two of us)

2009-04-29 Thread martin f krafft
also sprach Henrique de Moraes Holschuh [2009.04.29.1522 +0200]: > As always, you MUST forbid lvm of ever touching md component > devices even if md is offline, and that includes whatever crap is > inside initrds... One should thus fix LVM to be a bit more careful... -- .''`. martin f. kraf

Re: RAID5 (mdadm) array hosed after grow operation (there are two of us)

2009-04-29 Thread Henrique de Moraes Holschuh
On Tue, 21 Apr 2009, Alex Samad wrote: > > Learned my lesson though - no real reason to have root on lvm - it's now > > on 3-disk RAID 1. > > all ways thought this, KISS Exactly. I have servers with 4, sometimes 6-disk RAID1 root partitions, because of KISS: all disks in the raid set should be

Re: RAID5 (mdadm) array hosed after grow operation (there are two of us)

2009-04-20 Thread Miles Fidelman
Alex Samad wrote: On Mon, Apr 20, 2009 at 08:03:38PM -0400, Miles Fidelman wrote: I just got badly bit by this. I had root on lvm on md (RAID 1). After one of the component drives died, lvm came back up on top of the other component drive - during boot from initrd - making it impossible

Re: RAID5 (mdadm) array hosed after grow operation (there are two of us)

2009-04-20 Thread Alex Samad
On Mon, Apr 20, 2009 at 08:03:38PM -0400, Miles Fidelman wrote: > Alex Samad wrote: >> On Mon, Apr 20, 2009 at 08:26:21PM +0100, Seri wrote: >> >>> Hoping somebody might be able to provide me with some pointers that >>> may just help me recover a lot of data, a home system with no backups >>> bu

Re: RAID5 (mdadm) array hosed after grow operation (there are two of us)

2009-04-20 Thread Miles Fidelman
Alex Samad wrote: On Mon, Apr 20, 2009 at 08:26:21PM +0100, Seri wrote: Hoping somebody might be able to provide me with some pointers that may just help me recover a lot of data, a home system with no backups but a lot of photos, yes I know the admin rule, backup backup backup, but I ran out

Re: RAID5 (mdadm) array hosed after grow operation (there are two of us)

2009-04-20 Thread Alex Samad
On Mon, Apr 20, 2009 at 08:26:21PM +0100, Seri wrote: > Hoping somebody might be able to provide me with some pointers that > may just help me recover a lot of data, a home system with no backups > but a lot of photos, yes I know the admin rule, backup backup backup, > but I ran out of backup space