Linux LVM users
 help / color / mirror / Atom feed
From: Alasdair G Kergon <agk@uk.sistina.com>
To: linux-lvm@sistina.com
Cc: debian-user@lists.debian.org
Subject: Re: [linux-lvm] Swap on LVM - swapoff problem - more info
Date: Wed Apr  9 06:38:01 2003	[thread overview]
Message-ID: <20030409123754.A476@uk.sistina.com> (raw)
In-Reply-To: <1049881311.8416.142.camel@ariel>; from george.karaolides@planitis.net on Wed, Apr 09, 2003 at 12:41:51PM +0300

On Wed, Apr 09, 2003 at 12:41:51PM +0300, George Karaolides wrote:
> The problem is caused by running vgscan while swap is active on the LVM
> device (not necessarily actually using swap space; just active).  

> I modified the "start" case of the lvm init script to run swapoff before
> running vgscan, and swapon after.

If you really want to experiment with swap on an LVM volume (why?) you 
should resequence your startup so that vgscan gets run *after* /etc
is mounted but *before* setting up swap.

It's rather late running vgscan after you've *already* started up LVM.
vgscan should be run to detect LVM-related disk configuration changes
*before* using LVM proper.

Alasdair
-- 
agk@uk.sistina.com

      reply	other threads:[~2003-04-09  6:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-09  4:42 [linux-lvm] Swap on LVM - swapoff problem - more info George Karaolides
2003-04-09  6:38 ` Alasdair G Kergon [this message]

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=20030409123754.A476@uk.sistina.com \
    --to=agk@uk.sistina.com \
    --cc=debian-user@lists.debian.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox