- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Swap partition is not mounted automatically.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2007 08:55 PM
тАО07-09-2007 08:55 PM
Swap partition is not mounted automatically.
At the customer site, swap partition is not mounted automatically.
[ENVIRONMENT]
RHEL ES 4 up2
HP Proliant BL25p 4G memory
[SITUATION]
One application has consumed physical memory.
The system has 2G swap memory, and when the application has gone down, swap space
seems be "0" by viewing free command.
The application is data transfer application by ftp command.
After reboot, the swap space is not mounted.
The swap partition is configured at /etc/fstab.
Nothing message appeared by viewing "swapon -s" command.
And the situation is not changed even if he executed "mount -a" command.
But he execute "swapon -a" command, the mount partition was mounted.
[QUESTION]
- Have you ever seen this phenomenon ?
- Why is not the swap partition mounted automatically ?
[ADDITIONAL INFORMATION]
When he executed "swapon -s" command, the following messages has appeared at messages file:
Jul 5 19:03:32 host123 kernel: Adding 2097112k swap on /dev/cciss/c0d0p2. Priority:-1 extents:1
But there is not information like following:
Jun 27 13:14:36 ssc0001 rc.sysinit: Enabling swap space: succeeded
Thank you for advice.
Best Regards.
/Minoru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2007 11:27 PM
тАО07-09-2007 11:27 PM
Re: Swap partition is not mounted automatically.
check /var/log/messages
There may be some deep ugly problem revealed elsewhere in that file.
Check for invisible characters in /etc/fstab or a mistake as compared the partition you ran the swapon command against.
Also fdisk -l
Make sure the partition is swap or LVM depedning on how you did the system.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-10-2007 03:17 AM
тАО07-10-2007 03:17 AM
Re: Swap partition is not mounted automatically.
The reason it fails to activate the swap is probably displayed to the console or written to a log while the machine boots. It may show up in /var/log/dmesg.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-10-2007 01:10 PM
тАО07-10-2007 01:10 PM
Re: Swap partition is not mounted automatically.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-10-2007 06:37 PM
тАО07-10-2007 06:37 PM
Re: Swap partition is not mounted automatically.
(I hope you didn't delete swapon command from /etc/rc.sysinit script!)