Operating System - HP-UX
1832964 Members
2621 Online
110048 Solutions
New Discussion

Re: command exeution prob. at /root

 
SOLVED
Go to solution
Jack_126
Frequent Advisor

command exeution prob. at /root

Dear All,
I am not able the run the ls or bdf at the root. Whereas if I go to some directory, I cal run ls command. The error in syslog I am attaching , so far server is running and oracle users are working.Why this happend and how to come out without shutting down the server.

Oct 20 08:46:26 ERP3 vmunix: LVM: Path (device 0x1f040200) to PV 1 in VG 3 Faile
d!
Oct 20 08:46:26 ERP3 vmunix: LVM: Path (device 0x1f040300) to PV 2 in VG 3 Faile
d!
Oct 20 08:46:26 ERP3 vmunix: LVM: vg[3]: pvnum=0 (dev_t=0x1f040100) is POWERFAIL
ED
Oct 20 08:46:26 ERP3 vmunix: LVM: vg[3]: pvnum=1 (dev_t=0x1f040200) is POWERFAIL
ED
Oct 20 08:46:26 ERP3 vmunix: LVM: vg[3]: pvnum=2 (dev_t=0x1f040300) is POWERFAIL
6 REPLIES 6
Steve Steel
Honored Contributor
Solution

Re: command exeution prob. at /root

Hi


Looks like HW problem coming up .

Look at ls -1 /root

If that works you have corruption or a file name with a space or something in it in the root directory

try

cd /root
ls -1|while read line
do
echo $line
ll -d $line
done

If it hangs the last line printed is the problem.


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Sยภเl Kย๓คг
Respected Contributor

Re: command exeution prob. at /root

An HArdware failure can be any of the disks in VG3 or the SCSI channel which consists VG3 is going to fail.What is look in #ioscan -fnC disk

do u have any EMS configured,check if available

regards
SK
Your imagination is the preview of your life's coming attractions
Cheryl Griffin
Honored Contributor

Re: command exeution prob. at /root

An NFS (remotely mounted) filesystem can cause ls and bdf to hang. Check for a networking problem here.

The syslog messages indicate a problem with the 3 disks in volume group 3:
device 0x1f040200
device 0x1f040300
dev_t=0x1f040100

To determine the devices:
# ll /dev/dsk |grep 040?00

If these disks are in a cabinet, check cabling and power. It might be as simple as that.

# ioscan -fnC disk
Look for NO_HW or completely missing disks. (This is a hardware problem.)
# diskinfo -v /dev/rdsk/cXtXdX
Look for problems. (This is a hardware problem.)

If there are no SCSI lbolt messages, this is probably not a hardware fault, but you may only need to increase the timeout.

Check the timeout with pvdisplay. If it says default, increase it with:
# pvchange -t 180 /dev/dsk/cXtXdX

Watch for further errors. If they continue or if there are other SCSI errors, then contact Hardware Support.
"Downtime is a Crime."
Jack_126
Frequent Advisor

Re: command exeution prob. at /root

Dear All,
The following error found. Its VA7110 having two controllers. itseems one controller is not working/faulty. But as its configured as RAID 0+1. I should be able to work with the volumes created on it. Here I ma not able to connect to the volumes. So far I have not restarted my server. The HDD in array showing all green lights which means there should not be any prob. with the HDDs.The o/p of ioscan is this...
disk 3 0/3/1/0/4/0.1.0.0.0.0.0 sdisk NO_HW DEVICE HP A6189B
/dev/dsk/c4t0d0 /dev/rdsk/c4t0d0
disk 11 0/3/1/0/4/0.1.0.0.0.0.1 sdisk NO_HW DEVICE HP A6189B
/dev/dsk/c4t0d1 /dev/rdsk/c4t0d1
disk 16 0/3/1/0/4/0.1.0.0.0.0.2 sdisk NO_HW DEVICE HP A6189B
/dev/dsk/c4t0d2 /dev/rdsk/c4t0d2
disk 19 0/3/1/0/4/0.1.0.0.0.0.3 sdisk NO_HW DEVICE HP A6189B
/dev/dsk/c4t0d3 /dev/rdsk/c4t0d3
disk 4 0/3/1/0/4/0.1.1.0.0.0.0 sdisk NO_HW DEVICE HP A6189B
/dev/dsk/c6t0d0 /dev/rdsk/c6t0d0
disk 8 0/3/1/0/4/0.1.1.0.0.0.1 sdisk NO_HW DEVICE HP A6189B
/dev/dsk/c6t0d1 /dev/rdsk/c6t0d1
disk 12 0/3/1/0/4/0.1.1.0.0.0.2 sdisk NO_HW DEVICE HP A6189B
/dev/dsk/c6t0d2 /dev/rdsk/c6t0d2
disk 15 0/3/1/0/4/0.1.1.0.0.0.3 sdisk NO_HW DEVICE HP A6189B
/dev/dsk/c6t0d3 /dev/rdsk/c6t0d3
disk 5 0/4/1/0/4/0.1.0.0.0.0.0 sdisk CLAIMED DEVICE HP A6189B
/dev/dsk/c8t0d0 /dev/rdsk/c8t0d0
disk 10 0/4/1/0/4/0.1.0.0.0.0.1 sdisk CLAIMED DEVICE HP A6189B
/dev/dsk/c8t0d1 /dev/rdsk/c8t0d1
disk 14 0/4/1/0/4/0.1.0.0.0.0.2 sdisk CLAIMED DEVICE HP A6189B
/dev/dsk/c8t0d2 /dev/rdsk/c8t0d2
disk 18 0/4/1/0/4/0.1.0.0.0.0.3 sdisk CLAIMED DEVICE HP A6189B
/dev/dsk/c8t0d3 /dev/rdsk/c8t0d3
disk 6 0/4/1/0/4/0.1.1.0.0.0.0 sdisk CLAIMED DEVICE HP A6189B
/dev/dsk/c10t0d0 /dev/rdsk/c10t0d0
disk 9 0/4/1/0/4/0.1.1.0.0.0.1 sdisk CLAIMED DEVICE HP A6189B
/dev/dsk/c10t0d1 /dev/rdsk/c10t0d1
disk 13 0/4/1/0/4/0.1.1.0.0.0.2 sdisk CLAIMED DEVICE HP A6189B
/dev/dsk/c10t0d2 /dev/rdsk/c10t0d2
disk 17 0/4/1/0/4/0.1.1.0.0.0.3 sdisk CLAIMED DEVICE HP A6189B
/dev/dsk/c10t0d3 /dev/rdsk/c10t0d3

any way to make it work without restarting the server.
Geoff Wild
Honored Contributor

Re: command exeution prob. at /root

You can try:

ioscan -fuC disk
insf -C disk

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Jack_126
Frequent Advisor

Re: command exeution prob. at /root

Dear All,

Thanks for the response. The problem is resolved.
I had to restart the Array and the server.
So its got connected to that Controller, may be some link failure was there.

Rgds
Jack