Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Swap Wont Mount at boot

Status
Not open for further replies.

100mbs

MIS
Feb 14, 2002
142
US
Can some one help with this?

I have a LUN on the SAN that i want to use for swap, it is 40GB in size.

I created the swap partiton i added it to my fstab but it wont mount when i boot.

I type "free" and it wont show up.
# free
total used free shared buffers cached
Mem: 74047884 781280 73266604 0 187880 410888
-/+ buffers/cache: 182512 73865372
Swap: 0 0 0

Here is my FSTAB:

/dev/mapper/mpath1p1 swap swap defaults 0 0



Any Ideas???

 
Are there no messages during boot-up giving you a clue why it's failing to mount?

It's possible that the SAN disks are not visible/available early enough in the boot process to mount swap.

That is one massive swap device; are you sure you need one that big? Personally, if a system is using more than a couple of gig of swap then I think a memory upgrade is in order.

Annihilannic.
 
I like this thread, iSCSI???

Is the iSCSI kernel modules loaded at the time net and disk are?

I want to see this work!

[root@netwatch ~]# yum remove windows
Loaded plugins: fastestmirror
Setting up Remove Process
No Match for argument: windows
No Packages marked for removal

OH YEAH!
 
We followed the redhat doc to create swap to the "T".

The swap is very large but according to the Oracle DB which Oracle is going to be installed on this server he needs that large of a swap space. I dont buy it but whatever.

The server has 72GB of RAM in it.
 


I see this in the dmesg and messages file.

Jul 30 08:47:17 lvporacle3 kernel: Adding 75497428k swap on /dev/mapper/mpath1p1. Priority:-1 extents:1 across:75497428k
 
disregard the last post that was done manually.

 
My gosh, thats the fatest SWAP I've seen. hehe.

[root@netwatch ~]# yum remove windows
Loaded plugins: fastestmirror
Setting up Remove Process
No Match for argument: windows
No Packages marked for removal

OH YEAH!
 
i do see during boot that it says:

Red Hat Nash Version 5.1.19.6 starting
Unable to access device (dev/mapper/mpath1p1)
Welcome to Enterprise Linux Server
Press "I" to enter interactive startup.

But i dont see this in the dmesg or messages.
 
In that case why not add a swapon command to rc.local to mount it manually later in the boot process?

Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top