Re: Problems with paging space

From: Green, Simon (SGreen@KRAFTEUROPE.COM)
Date: Thu Jun 27 2002 - 10:14:21 EDT


As you can see from rc.boot, the system assumes that the primary paging
space in rootvg is hd6. But it isn't on your system; sometime in the past
someone has removed hd6, but has messed it up.

As a first step, you could try editing /sbin/rc.boot so that it activates
/dev/paging02 at startup. You'll need to reboot, of course.

Personally, I would prefer to remove paging02 and re-create hd6 in its
place.

Take a look in the System Management Guide, Chapter 7: Paging Space and
Virtual Memory. There's a section "Resizing or Moving the hd6 Paging
Space".

Simon Green
Philip Morris ITSC Europe

AIX-L Archive at http://marc.theaimsgroup.com/?l=aix-l&r=1&w=2
AIX FAQ at http://www.faqs.org/faqs/aix-faq/

N.B. Unsolicited email from vendors will seldom be appreciated.

> -----Original Message-----
> From: Dave.Zarnoch@SUNGARD.COM [mailto:Dave.Zarnoch@SUNGARD.COM]
> Sent: 27 June 2002 14:49
> To: aix-l@Princeton.EDU
> Subject: Re: Problems with paging space
>
>
> grep -e hd6 -e paging /sbin/rc.boot
>
>
> # Start paging if no dump
> [ ! -f /needcopydump ] && swapon /dev/hd6
> # Don't configure the secondary dump device if it's a paging space
> # other than hd6.
> # Note: The primary should be hd6 if it's a paging space.
> # See if it's a paging space other than hd6
> if [[ -n "$dev" && "$dev" != "hd6" ]]
> then # Check for paging space.
> then # secondary is paging, don't set it now.
>
> lsvg -l rootvg
>
>
> LV NAME TYPE LPs PPs PVs LV STATE
> MOUNT POINT
> hd5 boot 1 2 2 closed/syncd N/A
> lv00 jfs 96 192 2 open/syncd /scs
> hd8 jfslog 1 1 1 open/syncd N/A
> hd4 jfs 16 32 2 open/syncd /
> hd2 jfs 63 126 2 open/syncd /usr
> hd9var jfs 8 16 2 open/syncd /var
> hd3 jfs 16 32 2 open/syncd /tmp
> hd1 jfs 32 64 2 open/syncd /home
> paging02 paging 128 256 2 open/syncd N/A
>
> Also:
>
> Here's my /etc/swapspaces file:
>
> paging02:
> dev = /dev/paging02
>
>
> paging00:
> dev = /dev/paging00
>
>
>
> paging01:
> dev = /dev/paging01
>
>
>
> Here's what's in alog:
>
> Activating all paging spaces
> 0517-072 swapon: Cannot activate paging device /dev/paging02.
> : The requested resource is busy.
> swapon: Paging device /dev/paging00 activated.
> swapon: Paging device /dev/paging01 activated.
>
> The error is the same one that I get when I try "swapon -a"



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:01 EDT