Operating System - HP-UX
1834156 Members
2592 Online
110064 Solutions
New Discussion

Re: swap disk busy on boot up?

 
Ken Penland_1
Trusted Contributor

swap disk busy on boot up?

we had a power outage over the weekend, but before that we had halted all of our HPUX machines...one machine, an rp7420 running HPUX 11.11 started up after the outage in bad shape. Seems swap failed to start when it booted up, all it took after finally figuring out what the problem was a "swapon" in looking at the syslog, it appears it failed because the disk was busy...any ideas as to why the disk would be "busy" when the system is coming up?

Enable auxiliary swap space
Output from "/sbin/rc1.d/S500swap_start start":
----------------------------
Enabling device paging on /dev/dsk/c0t6d0.
/usr/sbin/swapon: /dev/dsk/c0t6d0: Device busy
Warning: swapon returned exit code: 1
"/sbin/rc1.d/S500swap_start start" FAILED
'
2 REPLIES 2
Stanimir
Trusted Contributor

Re: swap disk busy on boot up?

Obviously you has a problem with your swap LV. Try to comment rows for swap in /etc/fstab and reboot with:
#shutdown -r now

After rebooet use lvremove to remove swap
and to create it again. It will resolve the problem.

Regards.
A. Clay Stephenson
Acclaimed Contributor

Re: swap disk busy on boot up?

My best guess is that for some reason the savecore hung, was interuppted manually, or timed out so that dump device was still busy. By default, primary swap and the dump device are the same --- yours is yet another reason swap and dump should have nothing to do with each other.
If it ain't broke, I can fix that.