Public bug reported:
10:50 < _ruben> another annoying thing btw (havent checked if there's a bug for
it already) .. say you create a /dev/md0 for /boot and a /dev/md1 for lvm ..
format /dev/md0 as ext2 and assign to /boot .. then go setup your lvm .. the
reference to /boot will be gone afterwards
10:54 < cjwatson> hmm, that's curious, I don't see why it should be doing that
10:54 < cjwatson> let me see if I can construct a reproduction for that in kvm
10:55 < _ruben> similar behaviour on both physical and vmware installs, so i
guess it should be easy to reproduce for you
10:56 < cjwatson> not sure if I have time to fix it for hardy now even if I can
reproduce it, but let's see
10:57 < _ruben> cjwatson: its not really a big issue, more a (small) annoyance
;)
11:19 < cjwatson> ok, let's see, md0 and md1
11:19 * cjwatson randomly opts for raid1
12:00 < cjwatson> _ruben: gosh, reproducible
12:12 < _ruben> cjwatson: as to be expected
12:13 < cjwatson> well, you might be surprised about partitioner bugs
12:37 < cjwatson> _ruben: hmm, it isn't specifically LVM, it's the process of
restarting the partitioner that loses it
12:40 < cjwatson> BLINK
12:40 < cjwatson> partman-md/init.d/md-devices is HORRIBLE
12:44 < cjwatson> so the problem is that when the partitioner restarts,
partman-md sets up all the RAID devices from scratch
12:44 < cjwatson> this is probably so that things work right first time round,
but of course when you're using RAID+LVM the RAID device is already set up and
this has the effect of trashing it
12:45 < cjwatson> _ruben: would you file a bug on partman-md about this? Just
copying and pasting this IRC discussion would be fine
12:50 < _ruben> cjwatson: figured as much
12:51 < _ruben> i'll file a bug in a bit
12:52 < cjwatson> _ruben: link it to
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=398668 in Debian partman-md
12:52 < ubotu> Debian bug 398668 in partman-md "partman-md: should not
recreated device dirs at each partman restart" [Normal,Open]
** Affects: partman-md (Ubuntu)
Importance: Undecided
Status: New
** Affects: partman-md (Debian)
Importance: Unknown
Status: Unknown
** Description changed:
- 10:50 < _ruben> another annoying thing btw (havent checked if there's a bug
for it already) .. say you create a /dev/md0 for /boot and a /dev/md1 for lvm
.. format /dev/md0 as ext2 and assign to /boot .. then go setup your lvm .. the
- reference to /boot will be gone afterwards
+ 10:50 < _ruben> another annoying thing btw (havent checked if there's a bug
for it already) .. say you create a /dev/md0 for /boot and a /dev/md1 for lvm
.. format /dev/md0 as ext2 and assign to /boot .. then go setup your lvm .. the
reference to /boot will be gone afterwards
10:54 < cjwatson> hmm, that's curious, I don't see why it should be doing that
10:54 < cjwatson> let me see if I can construct a reproduction for that in kvm
10:55 < _ruben> similar behaviour on both physical and vmware installs, so i
guess it should be easy to reproduce for you
10:56 < cjwatson> not sure if I have time to fix it for hardy now even if I
can reproduce it, but let's see
10:57 < _ruben> cjwatson: its not really a big issue, more a (small)
annoyance ;)
11:19 < cjwatson> ok, let's see, md0 and md1
11:19 * cjwatson randomly opts for raid1
12:00 < cjwatson> _ruben: gosh, reproducible
12:12 < _ruben> cjwatson: as to be expected
12:13 < cjwatson> well, you might be surprised about partitioner bugs
12:37 < cjwatson> _ruben: hmm, it isn't specifically LVM, it's the process of
restarting the partitioner that loses it
12:40 < cjwatson> BLINK
12:40 < cjwatson> partman-md/init.d/md-devices is HORRIBLE
12:44 < cjwatson> so the problem is that when the partitioner restarts,
partman-md sets up all the RAID devices from scratch
12:44 < cjwatson> this is probably so that things work right first time
round, but of course when you're using RAID+LVM the RAID device is already set
up and this has the effect of trashing it
12:45 < cjwatson> _ruben: would you file a bug on partman-md about this? Just
copying and pasting this IRC discussion would be fine
12:50 < _ruben> cjwatson: figured as much
12:51 < _ruben> i'll file a bug in a bit
12:52 < cjwatson> _ruben: link it to
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=398668 in Debian partman-md
12:52 < ubotu> Debian bug 398668 in partman-md "partman-md: should not
recreated device dirs at each partman restart" [Normal,Open]
** Bug watch added: Debian Bug tracker #398668
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=398668
** Also affects: partman-md (Debian) via
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=398668
Importance: Unknown
Status: Unknown
--
partman-md sets up all the RAID devices from scratch
https://bugs.launchpad.net/bugs/218141
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs