Operating System - HP-UX
1752790 Members
6814 Online
108789 Solutions
New Discussion юеВ

Problem with SWAP device on HPUX 11.00

 
SOLVED
Go to solution
Hemalatha_1
Advisor

Problem with SWAP device on HPUX 11.00

AFter a system board replacement on HP A CLass 9000 Series, the SWAP device (configured in /vg00/lvol2) is reporting error. Specifically the error is returned from the Diagnostic System at startup,reporting excessive I/O logging. The system is stuck here for about 3 min , then finally the dump device /swap device is ignored and the system starts. Running swapinfo -ta reports that the volume on which swap is resident is disabled. What will be the consequences on the system performance and how can this problem be rectified?

Thanks in advance
There's more Joy in Giving than Taking
21 REPLIES 21
Steven E. Protter
Exalted Contributor

Re: Problem with SWAP device on HPUX 11.00

Shalom,

You should be able to fire up sam, and redo the swap/dump area anew.

It may require a couple of boots, one to get rid of it, one to reconfigure it.

You will need to make sure all the disks are actually working before you do this.

Having an Ignite make_tape_recovery tape handy is a good idea.

The dump not being used error is significant.

You need also to make sure device swap is enabled in the kernel.

Your system should improve performance once it has swap properly configured.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Prashanth Waugh
Esteemed Contributor

Re: Problem with SWAP device on HPUX 11.00

Hi Hemlata,

How many swap devices had configerd on ur system before the board replacement

Regards
Prashant
For success, attitude is equally as important as ability
Prashanth Waugh
Esteemed Contributor
Solution

Re: Problem with SWAP device on HPUX 11.00

Hi Hemalatha,

first give me the #swapinfo -tam output here. I think its a problem regarding secondary swap space. If the primary swap is working then and secondary device swap space is not working fine .Then your system may hamper performance point of view. the system will be sluggish when the load on system will increase and the physical mem and 1ry swap space is insufficent.

Regards
Prashant
For success, attitude is equally as important as ability
Prashanth Waugh
Esteemed Contributor

Re: Problem with SWAP device on HPUX 11.00

Hi Hemlata,
u mention that volume on which swap is resident is disabled.use the below command for testing vg
#lvdisplay /dev/vg00/lvol2
#vgdisplay /dev/vg00

Regards
Prashant
For success, attitude is equally as important as ability
Prashanth Waugh
Esteemed Contributor

Re: Problem with SWAP device on HPUX 11.00

Hi Hemlata,

Have u taken the ignite backup before replacing the board .Take the ignite backup

=========================================================
Here I am giving the prcedure for addition of device swap.pls convert it according to ur requirment.you take your decision according to situation. If you have any doubt pls revert back.

1)lvcreate -C y -r n -m 1 -L 8192 -n lvol2 /dev/vg01
L logical volume size in MB
m for mirring the swap space
2)create an entry in /etc/fstab
/dev/vg01/lvol1 . swap pri=1
You decide the priority according to ur requirment
3)activate it using
swapon -a

Regards
Prashant
For success, attitude is equally as important as ability
Prashanth Waugh
Esteemed Contributor

Re: Problem with SWAP device on HPUX 11.00

Hi Hemalatha,

I missed one step. after first step the second step should be
2)swapon -p 1 /dev/vg01/lvol2

Regards
Prashant
For success, attitude is equally as important as ability
Prashanth Waugh
Esteemed Contributor

Re: Problem with SWAP device on HPUX 11.00

Hi ,

Check the /var/adm/syslog/syslog.log

Regards
Prashant
For success, attitude is equally as important as ability
Hemalatha_1
Advisor

Re: Problem with SWAP device on HPUX 11.00

Hi

Being a first time user of this forum , I am mighty impressed by the response.Thanks SEP and thank you too Prashant, for such prompt replies. We have a normal file system backup of the root volumes.

This is the output of swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev - - - - 0 - 0 /dev/vg00/lvol2 disabled
reserve - 0 0
memory 401 132 269 33%
total 401 132 269 33% - 0 -


The portion of the syslog.log where the error occurs is :

Aug 29 03:32:56 hpaclass vmunix: Swap device table: (start & size given in 512-byte blocks)
Aug 29 03:32:56 hpaclass vmunix: entry 0 - major is 64, minor is 0x2; DIAGNOSTIC SYSTEM WARNING:
Aug 29 03:32:56 hpaclass vmunix: The diagnostic logging facility has started receiving excessive
Aug 29 03:32:56 hpaclass vmunix: errors from the I/O subsystem. I/O error entries will be lost
Aug 29 03:32:56 hpaclass vmunix: until the cause of the excessive I/O logging is corrected.
Aug 29 03:32:56 hpaclass vmunix: If the diaglogd daemon is not active, use the Daemon Startup command
Aug 29 03:32:56 hpaclass vmunix: in stm to start it.
Aug 29 03:32:56 hpaclass vmunix: If the diaglogd daemon is active, use the logtool utility in stm
Aug 29 03:32:56 hpaclass vmunix: to determine which I/O subsystem is logging excessive errors.
Aug 29 03:32:56 hpaclass vmunix: ignored - can't write to device
Aug 29 03:32:56 hpaclass vmunix: ERROR: dump device 64:0x2 cannot be used and will be ignored:
Aug 29 03:32:56 hpaclass vmunix: device is read-only
Aug 29 03:32:56 hpaclass vmunix: WARNING: no swap device configured, so dump cannot be defaulted to primary swap.
Aug 29 03:32:56 hpaclass vmunix: WARNING: No dump devices are configured. Dump is disabled.
Aug 29 03:32:56 hpaclass vmunix: Warning: file system time later than time-of-day register
Aug 29 03:32:56 hpaclass vmunix:
Aug 29 03:32:56 hpaclass vmunix: Getting time from file system
Aug 29 03:32:56 hpaclass vmunix: Starting the STREAMS daemons-phase 1

How do I check the integrity of the disk space in lvol2 where the dump has been configured? How can I through command line, enable lvol2 where the dump device is resident?

I would like to check these things before I create/recreate the swap space. Thanks again .

Hemalatha
There's more Joy in Giving than Taking
Prashanth Waugh
Esteemed Contributor

Re: Problem with SWAP device on HPUX 11.00

Hi Hema,


u mention that volume on which swap is resident is disabled.use the below command for testing vg
#lvdisplay /dev/vg00/lvol2
#vgdisplay /dev/vg00
Also try
#swapon -a
fpr activating swap space
For success, attitude is equally as important as ability