Operating System - HP-UX
1761305 Members
3649 Online
108901 Solutions
New Discussion юеВ

"/sbin/rc1.d/S500swap_start start" FAILED

 
SOLVED
Go to solution
YLTan
Frequent Advisor

"/sbin/rc1.d/S500swap_start start" FAILED

Hi,

I have just extended my device swap using sam and add in another device swap on different disk and reboot the system. An /etc/rc.log reports an error occurs at swapon. Can someone tell me why? Here is my system snapshots and the log file. The system seems to work ok but I want to know if it will cause problems in the future.

Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 1048576 0 1048576 0% 0 - 1 /dev/vg00/lvol5
dev 1048576 0 1048576 0% 0 - 1 /dev/vg01/lvol2
reserve - 523956 -523956
memory 1564844 38896 1525948 2%


Enable auxiliary swap space
Output from "/sbin/rc1.d/S500swap_start start":
----------------------------
Enabling device paging on /dev/vg01/lvol2.
Enabling device paging on /dev/vg00/lvol5.
/usr/sbin/swapon: /dev/vg00/lvol5 is already enabled for paging.
Warning: swapon returned exit code: 1
"/sbin/rc1.d/S500swap_start start" FAILED


tyl
2 REPLIES 2
James R. Ferguson
Acclaimed Contributor
Solution

Re: "/sbin/rc1.d/S500swap_start start" FAILED

Hi:

It would appear that you have declared your primary swap device in your /etc/fstab. By default, primary swap is always enabled. Declare only secondary swap devices or files in /etc/fstab.

Regards!

...JRF...
Michael Tully
Honored Contributor

Re: "/sbin/rc1.d/S500swap_start start" FAILED

Hi,

I agree with James. You don't have an entry in your /etc/fstab file for your primary swap partition, only a secondary swap.

An example of how this entry is:

# Secondary swap
/dev/vgswap1/swap2 ... swap pri=1 0 0

Cheers
~Michael~
Anyone for a Mutiny ?