Sunday, July 1, 2012

Solaris 10 Io Error while running ls command on a filesystem

I have an io Error while running ls command on a file system, later I umounted the mount point & tried to mount it back, but received the same IO error. 

I have this Disk assigned on my X4150 server from the EMC Box. 

How can I scan & fix the IO error on the disk? will the fsck command help & if yes then what is the command line I need to provide.
Look at the disk using the format utility, can you see it? Is it in a 
funky state? Sounds like it may be corrupt or you have lost connection 
to it.
After running the format command I get the following disk list 

# format 
Searching for disks...done 


AVAILABLE DISK SELECTIONS: 
0. c0t0d0 <DEFAULT cyl 17830 alt 2 hd 255 sec 63> 
/pci@0,0/pci8086,25f8@4/pci108e,286@0/disk@0,0 
1. c0t1d0 <DEFAULT cyl 17830 alt 2 hd 255 sec 63> 
/pci@0,0/pci8086,25f8@4/pci108e,286@0/disk@1,0 
2. c0t2d0 <DEFAULT cyl 35665 alt 2 hd 255 sec 63> 
/pci@0,0/pci8086,25f8@4/pci108e,286@0/disk@2,0 
3. c1t600601604EC12400387954E02BA4DE11d0 <DGC-RAID 5-0428-350.00GB> 
/scsi_vhci/disk@g600601604ec12400387954e02ba4de11 
4. c3t5006016044600147d0 <drive type unknown> 
/pci@0,0/pci8086,25e2@2/pci8086,3500@0/pci8086,3510 @0/pci1077,142@0/fp@0,0/disk@w5006016044600147,0 
5. c3t5006016944600147d0 <drive type unknown> 
/pci@0,0/pci8086,25e2@2/pci8086,3500@0/pci8086,3510 @0/pci1077,142@0/fp@0,0/disk@w5006016944600147,0 
6. c4t5006016144600147d0 <drive type unknown> 
/pci@0,0/pci8086,25f9@6/pci1077,142@0/fp@0,0/disk@w 5006016144600147,0 
7. c4t5006016844600147d0 <drive type unknown> 
/pci@0,0/pci8086,25f9@6/pci1077,142@0/fp@0,0/disk@w 5006016844600147,0 
Specify disk (enter its number): 

of this the 3rd disk is a 350 Gb disk assigned from the EMC storage & this particular filesystem is from the same disk. 
But the problem is that this same disk is being assigned for many other filesystems also.
Can some one pls help me on this.
one process was kept it for sure.... 
So: 
fuser /dir/file # to see which process 
and ioestat -En # to see if physical error on HD Doccur 

0 comments:

Post a Comment

 
Design by BABU | Dedicated to grandfather | welcome to BABU-UNIX-FORUM