All of lore.kernel.org
 help / color / mirror / Atom feed
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	[thread overview]
Message-ID: <1049701667.3010.22.camel@ariel> (raw)

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

             reply	other threads:[~2003-04-07  2:48 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-07  2:48 George Karaolides [this message]
2003-04-07  3:52 ` [linux-lvm] Swap on LVM - swapoff problem Patrick Caulfield
  -- strict thread matches above, loose matches on Subject: below --
2003-04-07  3:33 Koch, Steffen
2003-04-07  7:30 George Karaolides
2003-04-07  8:22 ` Patrick Caulfield
2003-04-07  7:33 George Karaolides
2003-04-07  8:31 George Karaolides
2003-04-07  8:41 ` Patrick Caulfield
2003-04-07  9:10 George Karaolides
2003-04-07  9:22 ` Patrick Caulfield
2003-04-07  9:29 George Karaolides
2003-04-07  9:35 ` Patrick Caulfield

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1049701667.3010.22.camel@ariel \
    --to=george.karaolides@planitis.net \
    --cc=linux-lvm@sistina.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.