[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Swap on LVM - swapoff problem



George Karaolides said:

> /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

have you tried

swapoff /dev/vg1/swap ?

swapoff /dev/vg1 I would expect not to work, that's just a directory,
all the filesystems on the VG are devices inside that directory.


I run swap on lvm on my laptop and have no troubles

nate





Reply to: