Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

lvm device not created in /dev directory

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
1 post • Page 1 of 1
Author
Message
duxsco
n00b
n00b
Posts: 45
Joined: Sat Jun 05, 2010 6:48 am

lvm device not created in /dev directory

  • Quote

Post by duxsco » Sun Dec 08, 2013 4:33 pm

Afaik lvm devices are created in the /dev directory and a symlink is created in /dev/mapper thats point to that lvm device:

Code: Select all

latitude ~ # ls -la /dev/mapper/vg-*
lrwxrwxrwx 1 root root 7  8. Dez 16:10 /dev/mapper/vg-root -> ../dm-4
lrwxrwxrwx 1 root root 7  8. Dez 16:10 /dev/mapper/vg-swap -> ../dm-3
But, from one day to another the lvm device vgroup-root, which holds the operating system, is created directly in /dev/mapper on bootup:

Code: Select all

latitude ~ # ls -la /dev/mapper/vgroup-*
brw------- 1 root root 254, 1  8. Dez 15:28 /dev/mapper/vgroup-root


In /etc/lvm/lvm.conf the line scan = [ "/dev" ] is set. Therefore, pvdisplay, vgdisplay and lvdisplay doesn't show the device, that was created in /dev/mapper, making the creation of snapshots impossible. This can be solved by changing that line to scan = [ "/dev", "/dev/mapper" ].

I am wondering why the creation of lvm devices changed. How do I regain the old behavior?
Top
Post Reply
1 post • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic