Link to home
Start Free TrialLog in
Avatar of Mike R.
Mike R.

asked on

RedHat 9: Swap not mounting

Hey!

I have a RedHat 9 machine (Intel) and everything seems to funcion fine, except the swap partition is not mounting which is slowing the machine way down.  I am wondering if it is because everything in fstab is mounting with "LABEL"?  If so, what do I need to correct?

Thanks!
M

# swapon -s
Filename                        Type            Size    Used    Priority
(nothing listed here)

# swapon -a
swapon: /dev/hda2: Invalid argument

#cat /etc/fstab
LABEL=/               /                       ext3     defaults        1 1
LABEL=/boot        /boot                 ext3     defaults        1 2
none                    /dev/pts             devpts  gid=5,mode=620  0 0
LABEL=/home      /home                ext3     defaults        1 2
none                    /proc                  proc     defaults        0 0
none                    /dev/shm            tmpfs   defaults        0 0
/dev/hda2            swap                   swap   defaults        0 0


ASKER CERTIFIED SOLUTION
Avatar of ravenpl
ravenpl
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Mike R.
Mike R.

ASKER

The mkswap /dev/hda2 worked.

Thanks!