Operating System - HP-UX
1827413 Members
4772 Online
109965 Solutions
New Discussion

IO error I've never seen before....

 
Mona Buck
Occasional Advisor

IO error I've never seen before....

This one's new to me. When I try to do an ls on the /var/adm/sw/products/make directory, I get ". not found" and on my backups, I am getting "IO error" when it tries to access the directory. I can't remove it, I can't look in it, I can't chmod it, zip. Any ideas?

TIA, Mona
"No matter where you go, there you are"
6 REPLIES 6
Sajid_1
Honored Contributor

Re: IO error I've never seen before....

Look like you have a hardware problem (disk). Unmount the file system and check it with:
# fsck

Check the disk which is holding the file system with:
# dd
# stm

If errors found, then replace it with new disk
learn unix ..
Eric Buckner
Regular Advisor

Re: IO error I've never seen before....

Hi Mona!

Is this an NFS mount? It has symptoms of an NFS mount gone awry.

What is the uptime on the box? It may be necessary for a fsck on the filesystem if it isn't an NFS.

HTH,
Eric
Time is not a test of the truth.
Martin Johnson
Honored Contributor

Re: IO error I've never seen before....

It sounds like it it time to run fsck on the file system.

HTH
Marty
Joaquin Gil de Vergara
Respected Contributor

Re: IO error I've never seen before....

Perhaps the directory entry has some strange characters.... try to rename from the X-Windows File Browser...

or to do something like this

# for i in $(ls /var/adm/sw/products | grep "*[m]*[a]*[k]*[e]*")
>do
>mv /var/adm/sw/products/$i /var/adm/sw/products/make
>done

Teach is the best way to learn
Mona Buck
Occasional Advisor

Re: IO error I've never seen before....

I can't take the box down unless there's no alternative; I tried to mirror it off, and then split the mirrors, but it says there are stale extents on c1t3d0. This box reboots every night, so I guess I know what I'll be doing tomorrow morning....at least I've narrowed it down to a single disk. Thanks for all your help!
"No matter where you go, there you are"
Reston Tech Support
Occasional Contributor

Re: IO error I've never seen before....

2 suggestions:

1. Find the disk(s) that belongs to the volume group of the mounted filesytems and run a pvdisplay and a diskinfo on it. Also check the volume group and make sure PV and Active PV #'s match.

2. Unmount the filesystem and then check the parent directory to see if you get the directory entry. CD into the mount directory (while it is unmounted) and check "ls -l". You should get . and .. If you don't, see #1 for base directory problems.

HTH
FD
Where's the beef?