You are not logged in.

#1 2008-12-13 10:17:39

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,000
Website

Working lvm VG but no /dev/mapper/myvg file?

Hi,
I do:

pvcreate /dev/sda1
vgcreate myvg /dev/sda1
lvcreate -L 5G myvg -n mylv

All that works fine.  When I do vgdisplay and lvdisplay the VG and the LV appear nicely.
But check this:

ls /dev/mapper
control myvg-mylv

Why is there no devicefile for the volumegroup?  Also activating the LV's with 'vgchange -a y myvg' didn't change this.
I'm doing this in Virtualbox with the arch 2008.06 cd booted and module dm-mod loaded.  lvm2 version 2.02.36-1


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#2 2008-12-13 11:39:34

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Working lvm VG but no /dev/mapper/myvg file?

Try vgscan --mknodes.

Offline

#3 2008-12-13 11:44:49

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,000
Website

Re: Working lvm VG but no /dev/mapper/myvg file?

tomk wrote:

Try vgscan --mknodes.

It says 'Found volume group "myvg" using metadata lvm2', exits cleanly but unfortunately still no file in /dev/mapper


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

Board footer

Powered by FluxBB