public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Richard Fish" <bigfish@asmallpond.org>
To: gentoo-user@lists.gentoo.org, gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] suspend2 with lvm
Date: Fri, 29 Sep 2006 12:17:13 -0700	[thread overview]
Message-ID: <7573e9640609291217k3d19dc67me5a9f463f13fc099@mail.gmail.com> (raw)
In-Reply-To: <20060929080226.GB6852@localhost>

On 9/29/06, Shaochun Wang <scwang@ios.ac.cn> wrote:
>         Unable to shutdown: /dev/vg/swap
>
> After some analyzing, I know it happens because the open count of
> /dev/vg/swap is 2 when the script /lib/rcscripts/addons/lvm-stop.sh is
> executed.
>
> Maybe this is the problem of baselayout or my initramfs.
> How can I resolve it?

I assume this is when you fully shutdown the system (shutdown -h now
or similar)?

If so, my first instinct is to simply ignore it, since it is totally
harmless.  But I suppose you could put this in your
/etc/conf.d/local.stop:

echo 0x0000 >/proc/suspend2/resume2

I'm not currently using suspend2, but IIRC, this should clear the
reference that suspend2 has on the device.

-Richard
-- 
gentoo-user@gentoo.org mailing list



      reply	other threads:[~2006-09-29 19:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-29  8:02 [gentoo-user] suspend2 with lvm Shaochun Wang
2006-09-29 19:17 ` Richard Fish [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=7573e9640609291217k3d19dc67me5a9f463f13fc099@mail.gmail.com \
    --to=bigfish@asmallpond.org \
    --cc=gentoo-user@lists.gentoo.org \
    /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