cancel
Showing results for 
Search instead for 
Did you mean: 

rp3440

SOLVED
Go to solution
DAVID99_1
Advisor

rp3440

hi ,
in our rp3440 B.11.11 hp-ux system /.is gone to 100%
please guide me what steps i have to take.

bestregards
DAVID
17 REPLIES
Horia Chirculescu
Honored Contributor

Re: rp3440

Hello, David.

First, check /tmp. There is a chance that this temporary directory has a lot of trash that can be safely deleted.

Best regards,
Horia.

Best regards from Romania,
Horia.
Torsten.
Acclaimed Contributor

Re: rp3440

/tmp is usually a different LVOL.

However, check / for large files and wrongly placed directories and misspelled tape backups.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
DAVID99_1
Advisor

Re: rp3440

hi Horica ,

can u please provide a steps
Horia Chirculescu
Honored Contributor
Solution

Re: rp3440

You can print a list of large files (over 10M) using space on / like this:

cd /
find / ! -local -xdev -o -size +10000000c -exec ls -la {} \;

You can play with the size in order to find out files over some imposed limit

If those files are unecessary, you could delete/move them to another LVOL.

-xdev would limit the search to /, ignoring mountpoints.


Horia.
Best regards from Romania,
Horia.
Horia Chirculescu
Honored Contributor

Re: rp3440

The command:

du --total -x /

would list totals of each subdirecories residing on the same LVOL as /

Like this you can find out the biggest directories from /

Best regards
Horia.
Best regards from Romania,
Horia.
DAVID99_1
Advisor

Re: rp3440

thanks boss
i wil get u soon
DAVID99_1
Advisor

Re: rp3440

hi
thanQ .
one more

the vgdisplay comman is giving this below output.and what is mean by core file
it is not openn with #file /core
============
# vgdisplay -v /dev/vg00
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 9
Open LV 9
Max PV 16
Cur PV 2
Act PV 1
Max PE per PV 4350
VGDA 2
PE Size (Mbytes) 8
Total PE 4340
Alloc PE 4266
Free PE 74
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/stale
LV Size (Mbytes) 304
Current LE 38
Allocated PE 76
Used PV 1

vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
LV Name /dev/vg00/lvol2
LV Status available/stale
LV Size (Mbytes) 4096
Current LE 512
Allocated PE 1024
Used PV 1

vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
LV Name /dev/vg00/lvol3
LV Status available/stale
LV Size (Mbytes) 200
Current LE 25
Allocated PE 50
Used PV 1

vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
LV Name /dev/vg00/lvol4
LV Status available/stale
LV Size (Mbytes) 1000
Current LE 125
Allocated PE 250
Used PV 1

vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
LV Name /dev/vg00/lvol5
LV Status available/stale
LV Size (Mbytes) 24
Current LE 3
Allocated PE 6
Used PV 1

vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
LV Name /dev/vg00/lvol6
LV Status available/stale
LV Size (Mbytes) 2808
Current LE 351
Allocated PE 702
Used PV 1

vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
LV Name /dev/vg00/lvol7
LV Status available/stale
LV Size (Mbytes) 2288
Current LE 286
Allocated PE 572
Used PV 1

vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
LV Name /dev/vg00/lvol8
LV Status available/stale
LV Size (Mbytes) 4600
Current LE 575
Allocated PE 1150
Used PV 1

vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
LV Name /dev/vg00/oracle
LV Status available/stale
LV Size (Mbytes) 18808
Current LE 2351
Allocated PE 4702
Used PV 1


--- Physical volumes ---
PV Name /dev/dsk/c3t2d0
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
PV Status available
Total PE 4340
Free PE 74
Autoswitch On


#






# vgdisplay -v /dev/rdsk/c3t2do
vgdisplay: Volume group "/dev/rdsk/c3t2do" does not exist in the "/etc/lvmtab" .
vgdisplay: Cannot display volume group "/dev/rdsk/c3t2do".



vgdisplay -v /dev/rdsk/c2t0d0
vgdisplay: Volume group "/dev/rdsk/c2t0d0" does not exist in the "/etc/lvmtab" .
vgdisplay: Cannot display volume group "/dev/rdsk/c2t0d0".


diskinfo /dev/rdsk/c2t0d0
SCSI describe of /dev/rdsk/c2t0d0:
vendor: HP 36.4G
product id: MAX3036NC
type: direct access
size: 35566480 Kbytes
bytes per sector: 512



diskinfo /dev/rdsk/c3t2d0
SCSI describe of /dev/rdsk/c3t2d0:
vendor: HP 36.4G
product id: ST336754LC
type: direct access
size: 35566480 Kbytes
bytes per sector: 512


Horia Chirculescu
Honored Contributor

Re: rp3440

Seems to me that for some reason c2t0d0 is not anymore on lvmtab.

Did you do a vgreduce to remove the disk from the corresponding vg00?

You could do something like this:

vgreduce -f vg00
mv /etc/lvmtab /etc/lvmtab.old
vgscan -v

Best regards
Horia.

Best regards from Romania,
Horia.
Bijeesh
Respected Contributor

Re: rp3440

hi,
Core files are created by abnormal termination of ordinary programs.

For your vg related problem,please post the output of the following.
#lvlnboot -v
#strings /etc/lvmtab
#pvdisplay /dev/dsk/c2t0d0
#lvdisplay -v /dev/vg00/lvol1 | head -n 20
All of your LVs are in stale status.Did you make any changes in your LVM..??
Do you have latest ignite backup with you..??

DAVID99_1
Advisor

Re: rp3440

Dear Experts ,
now i am out of location.i will submitt the required output later.

bye
Best Regards
David Raj
Bill Hassell
Honored Contributor

Re: rp3440

> du --total -x /

There is no such option in HP-UX. To get the directory usage, use sort:

du / -kx | sort -rn | head -20

You look in the largest directories for big files:

ll /etc | sort -rnk5 | head -20

To find any core files, use:

find / -xdev -name core -exec ll -d {} \;

Before removing the core file, use the file command to determine the process name that created the core file.

file /somedir/core


Bill Hassell, sysadmin
Viktor Balogh
Honored Contributor

Re: rp3440

Hi David,

From the above vgdisplay output, there might be something wrong with your system. Post an "ioscan -fn" output to see what devices you have.

Regards,
Viktor
****
Unix operates with beer.
DAVID99_1
Advisor

Re: rp3440

Dear All experts ,
here i am attaching output as per you all request.i am not getting what the problem is
One harddisk(it's belongs to mirror)is not blinking currently the system doesn't have
ignite Please kindly advice on how to fix this problem?
Anybody can help on this issue?
Appreciate for your kind advice.

Thanks.
Horia Chirculescu
Honored Contributor

Re: rp3440

Hello David.

There is a step by step document related to bad disk problems. Please read:

http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf

It is possible that your disk is a defctive one. In this case you will need another disk. For recovery, you need to take the steps from the above document.

Best regards,
Horia.
Best regards from Romania,
Horia.
Horia Chirculescu
Honored Contributor

Re: rp3440

Bill Hassel pointed out that:

>> du --total -x /

>There is no such option in HP-UX

He is right. The option he is talking about is of course "--total".

du that I use is part of a package called GNU coreutils and has this option I was originally taked of.

GNU coreutils offer some more options which will make sysadmin's (at least one that was used before with Linux and some other UNIX-es) life a little easyer.

coreutils can be installed toghether with the orignial HP-UX utilities (du, df/etc...).


best regards,
Horia.
Best regards from Romania,
Horia.
Hakki Aydin Ucar
Honored Contributor

Re: rp3440

>Bill: du / -kx | sort -rn | head -20

it is better syntax;

# du -kx / | sort -rn | head -20
Bill Hassell
Honored Contributor

Re: rp3440

>Bill: du / -kx | sort -rn | head -20

Yes, my keyboard became confused...


Bill Hassell, sysadmin