Ubuntu distro needs a patch for LVM

David Abrahams dave at boost-consulting.com
Mon Jul 10 20:49:56 UTC 2006


Alexander Skwar <listen at alexander.skwar.name> writes:

>> http://news.gmane.org/find-root.php?message_id=%3cu4pxpy4dx.fsf%40boost%2dconsulting.com%3e
>
> I'm too lazy. What's written there?

Oy.  OK, these messages contain nothing but the answers to your
questions, but:

  Here's what I did:

  * partition each of my 500GB SATA drives (sda,sdb) as follows:

      - one 100MB primary partition
      - ten 50GB logical partitions (I have my reasons)

  * Create md raid 1 devices containing pairs of corresponding
    partitions from sda,sdb.

  * Set the 100MB RAID device to ext3, mount on /boot

  * Set the ten 50GB RAID devices to LVM

  * Choose "Configure Logical Volume Manager."  The thing tells me it
    needs to write the current partitioning scheme to disk....

        The partition tables of the following devices are changed:

          RAID1 device #1
          RAID1 device #10
          RAID1 device #2
          RAID1 device #3
          RAID1 device #4
          RAID1 device #5
          RAID1 device #6
          RAID1 device #7
          RAID1 device #8
          RAID1 device #9

        The following partitions are going to be formatted:

          Partition #1 of RAID1 device #0 as ext3

        Write the changes to disk and configure LVM?

  * OK

        [!!] Partition disks

        Error invorming the kernel about modifications to partitino
        /dev/md/1p1 -- Invalid argument.  This means Linux won't know
        about any changes you made to /dev/md/1p1 until you reboot -- so
        you shouldn't mount it or use it in any way before rebooting.

        ERROR!!!

> Anyway, it's a fact that the installer supports LVM. Please show,
> how it does not.

See above.

>>> I still don't get you. With the installer, I could create logical
>>> volumes, could've removed lvs, could've modified vgs, could've created
>>> vgs and so on. As i said: Stop that FUD, please!
>> 
>> So it works for some and not for others.
>
> Ok.
>
>> http://news.gmane.org/find-root.php?message_id=%3cusll9wnr0.fsf%40boost%2dconsulting.com%3e
>
> What's written there?

Here:

  Furthermore, I've been here before, on different hardware.  This was
  on my Dell Inspiron laptop, not trying to do RAID:

  http://article.gmane.org/gmane.linux.ubuntu.user/58952 
  <link to report of same symptoms>

  And this seems to bear out that it's a known problem:

  http://groups.google.com/group/linux.debian.bugs.dist/browse_frm/thread/9d640dd46c19d081/db0acb6616203668%23db0acb6616203668
  <link to report of final solution>

  Now, what can I do about it?


> emacs... Well, try to use vi :)

For integrated mail/news reading?!

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com





More information about the ubuntu-users mailing list