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
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
I'll put it on the devfs list and see what people think...
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.