[linux-lvm] Swap on LVM - swapoff problem

Koch, Steffen steffen.koch at sphinx-electronics.de
Mon Apr 7 03:33:01 UTC 2003

> 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
devices are no longer available due to system shutdown. LVM's are turned off
before swap space. Try to change that for shutdown.

More information about the linux-lvm mailing list