Re: swap not turned on at boot

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

 



On Wed, 2006-12-13 at 16:47 -0500, ron wrote:
> On Wed, 2006-12-13 at 16:18 -0500, ron wrote:
> 
> >> Here is some more output:
> >>
> >> # /sbin/swapon
> >>
> >> usage: swapon [-hV]
> >>        swapon -a [-e] [-v]
> >>        swapon [-v] [-p priority]
> > special|LABEL=volume_name ...
> >>        swapon [-s]
> >>
> >> [root coresix ron]# /sbin/swapon -v
> > LABEL=/dev/VolGroup00/LogVol01
> >>
> >> swapon on
> > LABEL=/dev/VolGroup00/LogVol01
> >>
> >> swapon: cannot find the device for
> >>LABEL=/dev/VolGroup00/LogVol01
> 
> On Wed, 13 Dec 2006 13:23:26 -0800, Rick  wrote:
> >
> > Do not include the "LABEL=" in the
> > swapon command.  Use:
> >
> > 	/sbin/swapon -v
> > /dev/VolGroup00/LogV
> 
> Rick,
> 
> Here goes:
> 
> [root@coresix ron]# /sbin/swapon -v /dev/VolGroup00/LogVol01
> 
> swapon on /dev/VolGroup00/LogVol01
> 
> swapon: cannot stat /dev/VolGroup00/LogVol01: No such file or directory
> 
> [root@coresix ron]#

Ok.  Then you really don't have an LVM-managed swap partition.  In a
previous post, I think Gparted said that your swap partition was
actually /dev/sda2.  If that's the case, try "swapon -v /dev/sda2"
and see if that works.  If it works, then change your /etc/fstab entry
from 

    /dev/VolGroup00/LogVol01     swap      swap  defaults    0 0

to

    /dev/sda2                    swap      swap  defaults    0 0

That should activate (at least) the raw swap partition.  As far as the
one under LVM control, I'm a bit stumped.  Have a look at the output
of "lvdisplay" and see if that /dev/VolGroup00/LogVol01 shows up in
there.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens@xxxxxxxxxxxxxxx -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-      "Microsoft is a cross between The Borg and the Ferengi.       -
-  Unfortunately they use Borg to do their marketing and Ferengi to  -
-               do their programming."  -- Simon Slavin              -
----------------------------------------------------------------------

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux