Re: Can't remove LVM swap device

2009-06-27 Thread Klaus Pieper
groucho:~# cat /etc/initramfs-tools/conf.d/resume RESUME=/dev/mapper/vg01-swap Replace with the new logical volume, update-initramfs -u, reboot et voilĂ : groucho:~# lvremove -fv /dev/vg01/swap Using logical volume(s) on command line Archiving volume group "vg01" metadata (seqno 4).

Re: Can't remove LVM swap device

2009-06-27 Thread me
Hi found this on http://www.idevelopment.info/data/Unix/Linux/LINUX_ManagingPhysicalLogicalVolumes.shtml : *Delete Physical / Logical Volumes* Before going into the details of how to drop all of the physical and logical volumes created in this article, it is very common to only want to remove

Re: Can't remove LVM swap device

2009-06-27 Thread Klaus Pieper
try: swapoff remove the LV swapon groucho:~# swapoff -a groucho:~# lvremove -fv /dev/vg01/swap Using logical volume(s) on command line Can't remove open logical volume "swap" -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Con

Re: Can't remove LVM swap device

2009-06-27 Thread me
hi, try: swapoff remove the LV swapon greetings, vitaminx 2009/6/27 Klaus Pieper > Hi, > > I have to replace a disk that contains a lvm volume group with a logical > partition previously used as swap device (dev/vg01/swap). > > I replaced the swap partition with another one, changed /etc/f

Can't remove LVM swap device

2009-06-27 Thread Klaus Pieper
Hi, I have to replace a disk that contains a lvm volume group with a logical partition previously used as swap device (dev/vg01/swap). I replaced the swap partition with another one, changed /etc/fstab and removed the uswsusp package since I noticed that there was an entry for /dev/vg01/swap