[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [SLUG] swap file creation



On Thu, 15 Jun 2000, Ben Donohue wrote:

> hi again slugs,
> sorry about this,
> the swap partition is not being very friendly.
> 
> i've created the swap partition with fdisk
> i've changed the id to linux swap (82)
> rebooted. (yeah i know... just like windows)
> 
> mkswap /dev/hda3
> setting up swapspace version 0, size = 103215104 bytes
> 
> swapon -a
> swapon: /dev/hda3: device or resource busy.
> 
> fstab has swap in /dev/hda3. this is where swap was origionally.
> reboot again but swap failing
> always busy when swapon /dev/hda3 is typed as well.
> 
> any more ideas grandmasters?

I get the above error if I run swapon -a too - because the device is
already being used as swap.

Check if the device is already being used for swap:

swapon -s


--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to slug-request@nospam.slug.org.au with
unsubscribe in the text