Public bug reported:

Binary package hint: lvm2

During an Ubuntu update the default filter for lvm changed to

    filter = [ "a|/dev/sd[bc]|", "r/.*/" ]

from (as far as I can remember)

    filter = [ "a|.*|", "r/.*/" ]

(or something to that affect, really accepting every block device as the
above comment in the lvm.conf file states)

This is really silly because it only accepts only /dev/sdb* and /dev/sdc* as 
devices for lvm. Ony of my PVs was /dev/sda1.
As a result I was getting errors such as (for you googlers out there):

    Couldn't find device with uuid 'WUt5aA-O3fM-H21h-e0Dc-Fqrx-
flP2-obQF07'.

I didn't know what all this meant and nearly went as far as trying

    pvcreate --uuid "abc123..." --restorefile /etc/lvm/backup/bla
/dev/sda1

This kind of stuff is really difficult to debug for a newbie.

Using Ubuntu 10.04, lvm2 2.02.54-1ubuntu4.

** Affects: lvm2 (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  Binary package hint: lvm2
  
  During an Ubuntu update the default filter for lvm changed to
-     filter = [ "a|/dev/sd[bc]|", "r/.*/" ]
+ 
+     filter = [ "a|/dev/sd[bc]|", "r/.*/" ]
+ 
  from (as far as I can remember)
-     filter = [ "a|.*|", "r/.*/" ]
- (or something to that affect, really accepting every block device as the 
above comment in the lvm.conf file states)
  
- This is really silly because it only accepts only /dev/sdb and /dev/sdc
- as devices for lvm. Ony of my PVs was /dev/sda1.
+     filter = [ "a|.*|", "r/.*/" ]
+ 
+ (or something to that affect, really accepting every block device as the
+ above comment in the lvm.conf file states)
+ 
+ This is really silly because it only accepts only /dev/sdb* and /dev/sdc* as 
devices for lvm. Ony of my PVs was /dev/sda1.
+ As a result I was getting errors such as (for you googlers out there):
+ 
+     Couldn't find device with uuid 'WUt5aA-O3fM-H21h-e0Dc-Fqrx-
+ flP2-obQF07'.
  
  I didn't know what all this meant and nearly went as far as trying
-     pvcreate --uuid "abc123..." --restorefile /etc/lvm/backup/bla /dev/sda1
+ 
+     pvcreate --uuid "abc123..." --restorefile /etc/lvm/backup/bla
+ /dev/sda1
  
  This kind of stuff is really difficult to debug for a newbie.
  
  Using Ubuntu 10.04, lvm2 2.02.54-1ubuntu4.

-- 
Filter in default lvm.conf breaks most lvm setups
https://bugs.launchpad.net/bugs/594487
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to