Unix Technical Forum

hd6 is not active

This is a discussion on hd6 is not active within the AIX Operating System forums, part of the Unix Operating Systems category; --> Hello, I would appreciate if anyone can offer advice to my problem. So far I had encountered 2 instances ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 03:32 AM
tristarsg
 
Posts: n/a
Default hd6 is not active

Hello,
I would appreciate if anyone can offer advice to my problem.
So far I had encountered 2 instances whereby the systems running with
paging space hd6 not active. They were running AIX 4.3.2 version.
Below lsps commands revealed the respective result. I could not
activate hd6 nor create another paging space.

lsps -a

Page Space Physical Volume Volume Group Size %Used Active
Auto Type
hd6 hdisk0 rootvg 512MB 0 no
yes lv

lsps -s

Total Paging Space Percent Used
32MB 6%



Thank
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 03:33 AM
Laurenz Albe
 
Posts: n/a
Default Re: hd6 is not active

tristarsg <tristarsg@yahoo.com> wrote:
> I would appreciate if anyone can offer advice to my problem.
> So far I had encountered 2 instances whereby the systems running with
> paging space hd6 not active. They were running AIX 4.3.2 version.
> Below lsps commands revealed the respective result. I could not
> activate hd6 nor create another paging space.


It would be helpful if you showed us the commands you used to create
and activate paging space and the error messages you got.

Yours,
Laurenz Albe
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-05-2008, 03:33 AM
tristarsg
 
Posts: n/a
Default Re: hd6 is not active

Laurenz Albe <albe@culturallNOSPAM.com> wrote in message news:<clnp38$scm$1@at-vie-newsmaster01.nextra.at>...
> tristarsg <tristarsg@yahoo.com> wrote:
> > I would appreciate if anyone can offer advice to my problem.
> > So far I had encountered 2 instances whereby the systems running with
> > paging space hd6 not active. They were running AIX 4.3.2 version.
> > Below lsps commands revealed the respective result. I could not
> > activate hd6 nor create another paging space.

>
> It would be helpful if you showed us the commands you used to create
> and activate paging space and the error messages you got.
>
> Yours,
> Laurenz Albe


Hi Laurenz,
I don't have error message on hand. I used smitty lvm to try
re-activating the hd6 but failed. I also could not add another paging
space, say paging00.
By default, hd6 was 64MB during initial AIX install. It was increased
to 512MB.
Somehow, the total paging space was shown only 32MB with some
percentage usage when using lsps -s command.

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-05-2008, 03:34 AM
mr kay
 
Posts: n/a
Default Re: hd6 is not active

tristarsg@yahoo.com (tristarsg) wrote in message news:<c828b6e4.0410272047.7bc7c8ab@posting.google. com>...
> Laurenz Albe <albe@culturallNOSPAM.com> wrote in message news:<clnp38$scm$1@at-vie-newsmaster01.nextra.at>...
> > tristarsg <tristarsg@yahoo.com> wrote:
> > > I would appreciate if anyone can offer advice to my problem.
> > > So far I had encountered 2 instances whereby the systems running with
> > > paging space hd6 not active. They were running AIX 4.3.2 version.
> > > Below lsps commands revealed the respective result. I could not
> > > activate hd6 nor create another paging space.

> >
> > It would be helpful if you showed us the commands you used to create
> > and activate paging space and the error messages you got.
> >
> > Yours,
> > Laurenz Albe

>
> Hi Laurenz,
> I don't have error message on hand. I used smitty lvm to try
> re-activating the hd6 but failed. I also could not add another paging
> space, say paging00.
> By default, hd6 was 64MB during initial AIX install. It was increased
> to 512MB.
> Somehow, the total paging space was shown only 32MB with some
> percentage usage when using lsps -s command.
>
> Thanks


We can't help much if you can't provide us the error message. For a
start, give us the output of lsps, lsvg -l rootvg, lspv hdisk0.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-05-2008, 03:34 AM
tristarsg
 
Posts: n/a
Default Re: hd6 is not active

mrkhairy@yahoo.com (mr kay) wrote in message news:<61039684.0410281540.5e6c39af@posting.google. com>...
> tristarsg@yahoo.com (tristarsg) wrote in message news:<c828b6e4.0410272047.7bc7c8ab@posting.google. com>...
> > Laurenz Albe <albe@culturallNOSPAM.com> wrote in message news:<clnp38$scm$1@at-vie-newsmaster01.nextra.at>...
> > > tristarsg <tristarsg@yahoo.com> wrote:
> > > > I would appreciate if anyone can offer advice to my problem.
> > > > So far I had encountered 2 instances whereby the systems running with
> > > > paging space hd6 not active. They were running AIX 4.3.2 version.
> > > > Below lsps commands revealed the respective result. I could not
> > > > activate hd6 nor create another paging space.
> > >
> > > It would be helpful if you showed us the commands you used to create
> > > and activate paging space and the error messages you got.
> > >
> > > Yours,
> > > Laurenz Albe

> >
> > Hi Laurenz,
> > I don't have error message on hand. I used smitty lvm to try
> > re-activating the hd6 but failed. I also could not add another paging
> > space, say paging00.
> > By default, hd6 was 64MB during initial AIX install. It was increased
> > to 512MB.
> > Somehow, the total paging space was shown only 32MB with some
> > percentage usage when using lsps -s command.
> >
> > Thanks

>
> We can't help much if you can't provide us the error message. For a
> start, give us the output of lsps, lsvg -l rootvg, lspv hdisk0.


Hopefully the below information helps

Paging Space on rootvg (lsattr -El hd6)
=======================================
type paging Type description True
label None Information label True
intra m Policy for allocation on physical volume True
copies 2 Number of physical partitions for each logical partition True
inter m Policy for allocation over multiple physical volumes True
relocatable y Bad block relocatable policy True
strictness y Copies allocation policy True
upperbound 32 Number of physical volumes to allocate across True
size 32 Number of logical partitions in logical volume True
lvserial_id 00014751f4d72708.2 Volume group identifier . minor number False
stripe_width 0 Striping Width True
stripe_size Stripe Size True

System Paging Spaces (lsps -a)
==============================
Page Space Physical Volume Volume Group Size %Used Active Auto Type
hd6 hdisk0 rootvg 512MB 0 no yes lv

(lsps -s)
=========
Total Paging Space Percent Used
32MB 6%

System Volume Group - rootvg (lsvg rootvg)
==========================================
VOLUME GROUP: rootvg VG IDENTIFIER: 00014751f4d72708
VG STATE: active PP SIZE: 16 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 1084 (17344 megabytes)
MAX LVs: 256 FREE PPs: 822 (13152 megabytes)
LVs: 10 USED PPs: 262 (4192 megabytes)
OPEN LVs: 8 QUORUM: 1
TOTAL PVs: 2 VG DESCRIPTORS: 3
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 2 AUTO ON: yes
MAX PPs per PV: 1016 MAX PVs: 32

(lsvg -p rootvg)
=================
rootvg:
PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION
hdisk0 active 542 409 108..69..15..108..109
hdisk1 active 542 413 108..69..19..108..109

Logical Volumes - rootvg (lsvg -l rootvg)
=========================================
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd5 boot 1 2 2 closed/syncd N/A
hd6 paging 32 64 2 closed/syncd N/A
hd8 jfslog 1 2 2 open/syncd N/A
hd4 jfs 3 6 2 open/syncd /
hd2 jfs 82 164 2 open/syncd /usr
hd9var jfs 2 4 2 open/syncd /var
hd3 jfs 2 4 2 open/syncd /tmp
hd1 jfs 1 2 2 open/syncd /home
lv00 jfs 7 7 1 open/syncd N/A
lv01 jfs 7 7 1 open/syncd N/A

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-05-2008, 03:34 AM
dfrench@mtxia.com
 
Posts: n/a
Default Re: hd6 is not active


tristarsg wrote:
> mrkhairy@yahoo.com (mr kay) wrote in message

news:<61039684.0410281540.5e6c39af@posting.google. com>...
> > tristarsg@yahoo.com (tristarsg) wrote in message

news:<c828b6e4.0410272047.7bc7c8ab@posting.google. com>...
> > > Laurenz Albe <albe@culturallNOSPAM.com> wrote in message

news:<clnp38$scm$1@at-vie-newsmaster01.nextra.at>...
> > > > tristarsg <tristarsg@yahoo.com> wrote:
> > > > > I would appreciate if anyone can offer advice to my problem.
> > > > > So far I had encountered 2 instances whereby the systems

running with
> > > > > paging space hd6 not active. They were running AIX 4.3.2

version.
> > > > > Below lsps commands revealed the respective result. I could

not
> > > > > activate hd6 nor create another paging space.
> > > >
> > > > It would be helpful if you showed us the commands you used to

create
> > > > and activate paging space and the error messages you got.


SNIP

Have you checked the "/sbin/rc.boot" file to make sure hd6 is set to
swapon:
swapon /dev/hd6

Or is it set to some other device?

--
Dana French

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-05-2008, 03:34 AM
mr kay
 
Posts: n/a
Default Re: hd6 is not active

Laurenz Albe <albe@culturallNOSPAM.com> wrote in message news:<clnp38$scm$1@at-vie-newsmaster01.nextra.at>...
> tristarsg <tristarsg@yahoo.com> wrote:
> > I would appreciate if anyone can offer advice to my problem.
> > So far I had encountered 2 instances whereby the systems running with
> > paging space hd6 not active. They were running AIX 4.3.2 version.
> > Below lsps commands revealed the respective result. I could not
> > activate hd6 nor create another paging space.

>
> It would be helpful if you showed us the commands you used to create
> and activate paging space and the error messages you got.
>
> Yours,
> Laurenz Albe


It seems that hd6 is not active. Hence, AIX created it own temporary
paging space. Run

# chps -a y hd6

This will activate hd6 during reboot. You can also put an entry in
rc.boot if you want to. To use hd6 right away, run

# swapon /dev/hd6

Please post any errors you may find during running this command.
Confirm dev/hd6 is active by giving us the output of lsps -a, lsps -s,
lsvg -l rootvg.

Rgds
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 01-05-2008, 03:34 AM
mr kay
 
Posts: n/a
Default Re: hd6 is not active

Laurenz Albe <albe@culturallNOSPAM.com> wrote in message news:<clnp38$scm$1@at-vie-newsmaster01.nextra.at>...
> tristarsg <tristarsg@yahoo.com> wrote:
> > I would appreciate if anyone can offer advice to my problem.
> > So far I had encountered 2 instances whereby the systems running with
> > paging space hd6 not active. They were running AIX 4.3.2 version.
> > Below lsps commands revealed the respective result. I could not
> > activate hd6 nor create another paging space.

>
> It would be helpful if you showed us the commands you used to create
> and activate paging space and the error messages you got.
>
> Yours,
> Laurenz Albe


Sorry,

forgot one thing, make sure in your /sbin/rc.boot have entry like this :
swapon /dev/hd6

This will make sure yr hd6 is activate during reboot.

Hope this will help.

Rgds
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 01-05-2008, 03:35 AM
Laurenz Albe
 
Posts: n/a
Default Re: hd6 is not active

tristarsg <tristarsg@yahoo.com> wrote:
>>>>> I could not
>>>>> activate hd6 nor create another paging space.

>
> Hopefully the below information helps


The information is not enough - these listings show no problem.

I would like to see the following:

- The contents of the file /etc/swapspaces
- The result of 'grep swapon /sbin/rc.boot'
- The result of 'grep swapon /etc/rc'
- The response to the command 'swapon /dev/hd6'

Maybe that helps to determine the problem.

If all these do not point to an error, and the entry in /sbin/rc.boot
seems ok, maybe somebody changed the /sbin/rc.boot file after the
boot logical volume was created. You can find out if that is the problem
by issuing:

bosboot -a -d /dev/hdisk#

using any hdisk that contains a copy of /dev/hd5 (see lslv -p output,
usually it is hdisk0 or hdisk1).

Then reboot. If the problem is gone, it means that /sbin/rc.boot had been
chenged since the last bosboot.

Yours,
Laurenz Albe
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 01-05-2008, 03:40 AM
tristarsg@yahoo.com
 
Posts: n/a
Default Re: hd6 is not active


Laurenz Albe wrote:
> tristarsg <tristarsg@yahoo.com> wrote:
> >>>>> I could not
> >>>>> activate hd6 nor create another paging space.

> >
> > Hopefully the below information helps

>
> The information is not enough - these listings show no problem.
>
> I would like to see the following:
>
> - The contents of the file /etc/swapspaces
> - The result of 'grep swapon /sbin/rc.boot'
> - The result of 'grep swapon /etc/rc'
> - The response to the command 'swapon /dev/hd6'
>
> Maybe that helps to determine the problem.
>
> If all these do not point to an error, and the entry in /sbin/rc.boot
> seems ok, maybe somebody changed the /sbin/rc.boot file after the
> boot logical volume was created. You can find out if that is the

problem
> by issuing:
>
> bosboot -a -d /dev/hdisk#
>
> using any hdisk that contains a copy of /dev/hd5 (see lslv -p output,
> usually it is hdisk0 or hdisk1).
>
> Then reboot. If the problem is gone, it means that /sbin/rc.boot had

been
> chenged since the last bosboot.
>
> Yours,
> Laurenz Albe


Hello,

I have gathered the information on one of the systems for the following
:

1)/etc/swapspaces has entry

hd6:
dev = /dev/hd6

2) /sbin/rc.boot script has
# Start paging if no dump
[ ! -f /needcopydump ] && swapon /dev/hd6

3) /etc/rc script has
swapon -a

4)Using command line, swapon /dev/hd6, system prompt returned with no
error.
But by using smitty lvm to activate hd6, the status showed failed
without reporting error message.

I could create another paging space called paging00, it could not be
activated. When I issued swapon -a, below is the error message :

0517-072 swapon: Cannot activate paging device /dev/paging00.
: A system call received a parameter that is not valid.


I had issued bosboot -ad /dev/hdisk0 and would monitor the result on
the next reboot over the weekend.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:21 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com