Skip to contentSkip to conversation

lvm-git doesnt set links

DISCUSSION Oliver Rath 3 participants 3 messages Aug 27, 2013 – Aug 28, 2013

lore
Share & tools
lore
#0 lore raw

Hi list,

the actual git-snapshot from today seems a bit broken:

If i generate a snapshot from an existing thinpool-device, the device is created (visible by lvdisplay), but no softlink will be created, nor in /dev/myvg/ neither in /dev/mapper.

Same config like in last mail today.

What happened?

Tfh
OIliver

#1 lore raw

Dne 27.8.2013 18:32, Oliver Rath napsal(a):

Quoted 4 lines

Hi list,

the actual git-snapshot from today seems a bit broken:

Quoted 8 lines

If i generate a snapshot from an existing thinpool-device, the device is created (visible by lvdisplay), but no softlink will be created, nor in /dev/myvg/ neither in /dev/mapper.

Same config like in last mail today.

What happened?

By default thin snapshots are no longer created as active devices.

If you want to create active snapshot - add option '-K' (lvcreate -K -s)

You could lvchange this activation behavior.

Zdenek

#2 lore raw
Quoted 14 lines · Zdenek Kabelac

Dne 27.8.2013 18:32, Oliver Rath napsal(a):

Quoted 4 lines

Hi list,

the actual git-snapshot from today seems a bit broken:

Quoted 8 lines

If i generate a snapshot from an existing thinpool-device, the device is created (visible by lvdisplay), but no softlink will be created, nor in /dev/myvg/ neither in /dev/mapper.

Same config like in last mail today.

What happened?

Quoted 7 lines

By default thin snapshots are no longer created as active devices.

If you want to create active snapshot - add option '-K' (lvcreate -K -s)

You could lvchange this activation behavior.

...also there's the activation/auto_set_activation_skip setting in lvm.conf to enable or disable this automatic skipping of certain LVs on activation (there's a short comment above that setting that explains it). This setting is enabled by default.

See also lvcreate/vgchange/lvchange man pages and the documentation for "-K/--ignoreactivationskip" and "-k/--setactivationskip {y|n}" options.

Peter