xfs
[Top] [All Lists]

Re: swapon error

To: "Eric Sandeen" <sandeen@xxxxxxx>
Subject: Re: swapon error
From: "David Benigni" <benigni@xxxxxxxxxxx>
Date: Tue, 1 May 2001 22:15:14 -0400
Cc: <linux-xfs@xxxxxxxxxxx>
References: <Pine.BSI.4.33L2.0105020227080.18968-100000@xs4.xs4all.nl> <00b001c0d2a0$c16f6fc0$0a00a8c0@david> <3AEF5D7E.31544F90@sgi.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
Good, atleast I'm not the only one :)

I didn't get very far with XFS, installed it, did a df, and hit reset and
booted back up.  In about a week, I'll have more free time to see what's
going on.

David P. Benigni II


----- Original Message -----
From: "Eric Sandeen" <sandeen@xxxxxxx>
To: "David Benigni" <benigni@xxxxxxxxxxx>
Cc: <linux-xfs@xxxxxxxxxxx>
Sent: Tuesday, May 01, 2001 9:06 PM
Subject: Re: swapon error


> Yes, I have seen this as well.  Swap _does_ get enabled, and everything
> is fine, but there is this warning.
>
> I think it's YADT (Yet Another Devfs Thing).
>
> For the gory details, read on...
>
> Looking at rc.sysinit, it actually executes swapon twice.  Not sure why
> Red hat does this.
>
> If I do
>
> $ swapoff -a
> $ swapon -a -e
> $ swapon -a
>
> (essentially the same as rc.sysinit) I get the same "device busy" error
> message.  However, the man page says that for "swapon -a," "devices that
> are already running as swap are silently skipped" - but we're not seing
> this behavior.
>
> So my guess is that since the "device" (/dev/hda5 in my case) is
> actually just a symlink under devfs, it's confusing swapon somehow.
> Booting with "devfs = nomount" gets rid of the error, so that must be
> it.
>
> I'll put it on the devfs list and see what people think...
>
> -Eric
>
>
> David Benigni wrote:
> >
> > Ok, I downloaded an installed the XFS Redhat 7.1 install iso.  During
boot I
> > get this error when the swapon part of sysinit runs.
> > swapon /dev/hda6: Device or resource busy.
> >
> > This didn't happen with vanilla 7.1.  here's what I have.
> > /boot as xfs
> > / as xfs
> > and the swap partition.
> >
> > Anyone else experience this?
> >
> > David P. Benigni II
>
> --
> Eric Sandeen      XFS for Linux     http://oss.sgi.com/projects/xfs
> sandeen@xxxxxxx   SGI, Inc.


<Prev in Thread] Current Thread [Next in Thread>