I'm seeing the error below when creating an LVM2 snapshot. Has anyone run into something similar and have a clue what's going on?
# lvcreate --snapshot --size 1Gb --name sss /dev/vg0/debian_home
LV vg0/sss in use: not removing
Couldn't deactivate new snapshot.
I initially created the snapshot then immediately removed it and tried to recreate it again. I can't remember if I saw the error the FIRST time I ever created this snapshot. But I see it every time I try lvcreate now. I ran "modprobe dm-snapshot" before every trying to create the first snapshot. I did this because I had found earlier in the day, on a different Debian Sarge box, that the modprobe was required before snapshots would work. The Sarge box did not experience the error that I'm seeing with Sid.
After the above lvcreate, lvdisplay lists the /dev/vg0/sss LV, but with a line "#open 0"
. All other LV's have "#open 1
/var/log/syslog has this error, triggered by the lvcreate (where xxxx are digits):
hal.dev[xxxx]: DEVNAME is not set
lvremove /dev/vg0/sss appears to work without error. After running lvremove, lvdisplay no longer shows the /dev/vg0/sss LV.