1753511 Members
5408 Online
108795 Solutions
New Discussion юеВ

Re: 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 17
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..??