1754020 Members
7391 Online
108811 Solutions
New Discussion юеВ

Re: rp3440

 
SOLVED
Go to solution
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