Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

chps -d

327 views
Skip to first unread message

Pons

unread,
Jan 7, 2003, 1:28:09 AM1/7/03
to
can I reduce the default paging space hd6 from 3G to 2G on a fly, and how?
I think via "chps -d" or not ....
I am using 5L 5.1 with ML3

-Pons


Pons

unread,
Jan 7, 2003, 2:55:47 AM1/7/03
to
# chps -d 30 -a y hd6
0517-099 shrinkps: Insufficient free disk space on the volume group and
current occupation imposes a temporary paging space, adjust
configuration.
0517-031 chps: Cannot change paging space hd6.
-Pons


Pons

unread,
Jan 7, 2003, 7:01:39 AM1/7/03
to

"Pons" <po...@gmx.li> wrote in message
news:ave0re$emcjj$1...@ID-172702.news.dfncis.de...

I will do it manually
- create a temp. paging space
- mark the new one active for the next boot and deactivate the original ps
- reboot
- remove original ps

-Pons


Jan Huijsmans

unread,
Jan 7, 2003, 9:27:53 AM1/7/03
to

No need to:

- create new paging space and activate
- edit /sbin/rc.boot (It's from heart, so you'll need to check this)
- bosboot -ad /dev/hdisk0 (and/or any others in the bootlist)
- deactivate hd6
- remove hd6

After this do the same, but then create hd6 and remove temp paging.

It can all be done on a running system without the reboot. (bin there,
done it)

---

Jan Huijsmans

... cannot activate /dev/brain, no response from main coffee server


Pons

unread,
Jan 7, 2003, 9:51:53 AM1/7/03
to
>
> No need to:
>
> - create new paging space and activate
> - edit /sbin/rc.boot (It's from heart, so you'll need to check this)
> - bosboot -ad /dev/hdisk0 (and/or any others in the bootlist)
> - deactivate hd6
> - remove hd6
>
> After this do the same, but then create hd6 and remove temp paging.
>
> It can all be done on a running system without the reboot. (bin there,
> done it)

You are right, I used RedBook aix sys admin
chapter 7. page 207-209 to do it.
Many thanks for your reply.

-Pons
po...@gmx.li

Jose Pina Coelho

unread,
Jan 12, 2003, 9:56:54 PM1/12/03
to
With AIX 5.1 it's easy:

create a temporary swap

swapon to it

swapoff /dev/hd6

remove hd6

re-create hd6

swapoff temporary

remove temporary


--
Doing AIX support was the most monty-pythonesque
activity available at the time.
Eagerly awaiting my thin chocolat mint.

0 new messages