[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[linux-lvm] Swap on LVM - swapoff problem
- From: George Karaolides <george karaolides planitis net>
- To: linux-lvm sistina com
- Subject: [linux-lvm] Swap on LVM - swapoff problem
- Date: Mon Apr 7 02:48:01 2003
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
If I comment out the swap line in /etc/fstab and start the swap manually
with swapon after system boot, then swapoff and swapon seem to work as
expected.
OS: Debian 3.0r1 "woody"
Kernel: 2.4.18, 2.4.18 patched with VFS lock patch, and 2.4.20 patched
with VFS lock patch (problem is the same on various machines running all
these kernels).
The problem occurs in the same way on LVM swap devices built on disk
partition physical volumes, and also on software-RAID physical volumes.
Any ideas?
--
Best regards,
| George Karaolides Planitis Communications Ltd.,
|
| tel: +357 22 45 65 00 Office 102, 11 Florinis Street,
|
| web: www.planitis.net Nicosia CY 1065,
|
| email: george karaolides planitis net Republic of Cyprus.
|
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]