[linux-lvm] Swap on LVM - swapoff problem

Patrick Caulfield caulfield at sistina.com
Mon Apr 7 03:52:01 UTC 2003


On Mon, Apr 07, 2003 at 10:47:47AM +0300, George Karaolides wrote:
> 
> Hi all,
> 
> I am swapping on lvm devices and aving a strange problem with swapoff.
> 
> I have the swap device configured in /etc/fstab, the relevant line is:
> 
> /dev/vg1/swap   none   swap    sw    0   0
> 
> swap seems to work OK but I have a strange problem with swapoff:
> 
> # swapoff /dev/vg1
> swapoff: /dev/vg1: Invalid argument

swapoff /dev/vg1/swap 

might be a better command to use :-)

patrick





More information about the linux-lvm mailing list