Hello List,
I'm facing a weird problem with lvm on 2.4.21-40 and
lvm tools 1.0.8-13;
[root@shinwey root]# lvremove /dev/nr_180/B_FDB
lvremove -- can't remove open logical volume "/dev/nr_180/B_FDB"
[root@shinwey root]# lvchange -a n /dev/nr_180/B_FDB
lvchange -- operation not permitted for (open) logical volume
"/dev/nr_180/B_FDB"
After looking into list archives, I tried the two things
below without success;
[root@shinwey root]# vgscan -f
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- found active volume group "nr_300"
vgscan -- found active volume group "nr_180"
vgscan -- found active volume group "nr_120"
vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
vgscan -- WARNING: This program does not do a VGDA backup of your volume
groups
[root@shinwey root]# ls /dev/*/group | sed 's!/group!!' | xargs rm -r ;
vgmknodes
vgmknodes -- successfully made all nodes of volume group "nr_120"
vgmknodes -- successfully made all nodes of volume group "nr_180"
vgmknodes -- successfully made all nodes of volume group "nr_300"
[root@shinwey root]# lvremove /dev/nr_180/B_FDB
lvremove -- can't remove open logical volume "/dev/nr_180/B_FDB"
[root@shinwey root]# lvchange -a n /dev/nr_180/B_FDB
lvchange -- operation not permitted for (open) logical volume
"/dev/nr_180/B_FDB"
Can someone help me with this ?
Best Regards,
Olivier Kaloudoff
_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/