[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: LVM devices and symlinks



On Mon, Dec 10, 2012 at 11:09:50PM -0700, Bob Proulx wrote:
> Neil T. Dantam wrote:
> > I'm having an issue (not quite a problem) creating LVM logical
> > volumes.  It seems that the way device files and symlinks are created
> > has changed between Squeeze and Wheezy (or I have some bad
> > configuration).
> 
> >   Workarounds
> >   -----------
> > Here are a few workarounds I've figured out:
> > 
> > 1. Give lvcreate the '-Z n' flag.  This does create a usable logical
> >    volume, but won't work with snapshots.
> > 2. Manually create a symlink 
> >    '/dev/VGNAME/LVNAME -> /dev/mapper/VGNAME-LVNAME'
> >    before running lvcreate 
> > 3. Give lvcreate the '--noudevsync' option.  In this case, lvcreate
> >    makes a symlink for
> >    '/dev/VGNAME/LVNAME -> /dev/mapper/VGNAME-LVNAME'
> >    on its own (apparently).
> 
> What version of udev are you using?  I could see this being a udev issue.

and/or dmsetup.  Might be worth installing that if missing.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux    http://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-    GPG Public Key      F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800


Reply to: