How to solve this Error. I/O Error.? | Unix Linux Forums | Solaris

  Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

How to solve this Error. I/O Error.?

Solaris


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 09-17-2013
manalisharmabe manalisharmabe is offline
Registered User
 
Join Date: Jul 2011
Last Activity: 13 June 2014, 4:26 AM EDT
Posts: 159
Thanks: 103
Thanked 2 Times in 2 Posts
How to solve this Error. I/O Error.?

Hi Guys,

I just got this error:-


Code:
Your "cron" job on server2
/usr/5bin/ssh sysmgr@server1 /usr/local/bin/sudo /opt/local/pdm/bin/mount_pdmprod

produced the following output:

** /dev/rdsk/c1t5006016C446023DEd0s2
** /dev/rdsk/c1t5006016C446023DEd1s2
** /dev/rdsk/c1t5006016C446023DEd2s2
** /dev/rdsk/c1t5006016C446023DEd3s2
** /dev/rdsk/c1t5006016C446023DEd4s2
Can't open /dev/rdsk/c1t5006016C446023DEd5s2: I/O error Can't open /dev/rdsk/c1t5006016C446023DEd6s2: I/O error
** /dev/rdsk/c1t5006016C446023DEd7s2
** /dev/rdsk/c1t5006016C446023DEd8s2

PDMPROD Clones File System Checking are not OK and need repairing!

Please wait... PDMPROD CLONE (EU) are being mounted+shared! Do Not Interrupt!

mount: I/O error
mount: Cannot mount /dev/dsk/c1t5006016C446023DEd5s2
mount: I/O error
mount: Cannot mount /dev/dsk/c1t5006016C446023DEd6s2

here is the script;-

Code:
FS_CHK=`/usr/ucb/df | /usr/bin/egrep 'pdmprod_u' | /usr/bin/wc -l`
if [ $FS_CHK != 8 ]
then

   #
   # Call PDMPROD CLONE fsck routine()
   #
   /opt/local/pdm/bin/fsck_pdmprod
   #
   # Mount all PDMPROD CLONE
   #
   echo "\nPlease wait... PDMPROD CLONE (EU) are being mounted+shared! Do Not Interrupt!\n"
        /usr/sbin/mount -o ro /dev/dsk/c1t5006016C446023DEd0s2 /pdmprod_users
        /usr/sbin/mount -o ro /dev/dsk/c1t5006016C446023DEd1s2 /pdmprod_u01
        /usr/sbin/mount -o ro /dev/dsk/c1t5006016C446023DEd2s2 /pdmprod_u02
        /usr/sbin/mount -o ro /dev/dsk/c1t5006016C446023DEd3s2 /pdmprod_u03
        /usr/sbin/mount -o ro /dev/dsk/c1t5006016C446023DEd4s2 /pdmprod_u04
        /usr/sbin/mount -o ro /dev/dsk/c1t5006016C446023DEd5s2 /pdmprod_u05
        /usr/sbin/mount -o ro /dev/dsk/c1t5006016C446023DEd6s2 /pdmprod_u07
        /usr/sbin/mount -o ro /dev/dsk/c1t5006016C446023DEd7s2 /pdmprod_u08
        /usr/sbin/mount -o ro /dev/dsk/c1t5006016C446023DEd8s2 /pdmprod_u06
else
  echo "\nPDMPROD CLONE (EU) are already mounted+shared! Please, do not run this script now!\n"
  exit 0
fi

Looks like can not mount /pdmprod_u05 and /pdmprod_u07


How to solve this error, sorry to say but I have no idea as how to go about this.

Please guide me.

Thanks.
Sponsored Links
    #2  
Old 09-17-2013
DustinT DustinT is offline
Registered User
 
Join Date: Jan 2013
Last Activity: 11 July 2014, 1:45 PM EDT
Posts: 170
Thanks: 27
Thanked 19 Times in 19 Posts
You need to start with your SAN admin and confirm the disk is still present and visible. It looks like your server isn't seeing it for some reason.
The Following User Says Thank You to DustinT For This Useful Post:
manalisharmabe (09-17-2013)
Sponsored Links
    #3  
Old 09-18-2013
manalisharmabe manalisharmabe is offline
Registered User
 
Join Date: Jul 2011
Last Activity: 13 June 2014, 4:26 AM EDT
Posts: 159
Thanks: 103
Thanked 2 Times in 2 Posts
Quote:
Originally Posted by DustinT View Post
You need to start with your SAN admin and confirm the disk is still present and visible. It looks like your server isn't seeing it for some reason.
Wow ! Wonderful that means/ look like someone from storage team has something to do to clear this error and not me as OS admin.

right ?

Thanks

---------- Post updated 09-18-13 at 10:24 AM ---------- Previous update was 09-17-13 at 11:49 PM ----------

Hi,

It looks like it is mounted now.

below is the output from destination system:-


Code:
-bash-3.00$ df -k
Filesystem            kbytes    used   avail capacity  Mounted on
/dev/md/dsk/d0       33053541 17865352 14857654    55%    /
/devices                   0       0       0     0%    /devices
ctfs                       0       0       0     0%    /system/contract
proc                       0       0       0     0%    /proc
mnttab                     0       0       0     0%    /etc/mnttab
swap                 34813104    1720 34811384     1%    /etc/svc/volatile
objfs                      0       0       0     0%    /system/object
sharefs                    0       0       0     0%    /etc/dfs/sharetab
/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1
                     33053541 17865352 14857654    55%    /platform/sun4u-us3/lib/libc_psr.so.1
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
                     33053541 17865352 14857654    55%    /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd                         0       0       0     0%    /dev/fd
/dev/md/dsk/d4       17197130 4420774 12604385    26%    /var
swap                 34813224    1840 34811384     1%    /tmp
swap                 34811464      80 34811384     1%    /var/run
/dev/dsk/emcpower8c  78480870 60700102 16995960    79%    /users
/dev/dsk/emcpower9c  78480870 21522932 56173130    28%    /u01
/dev/dsk/emcpower11c 78480870 20284644 57411418    27%    /u03
/dev/dsk/emcpower10c 78480870 30275388 47420674    39%    /u02
/dev/dsk/emcpower12c 78480870 18006796 59689266    24%    /u04
/dev/dsk/emcpower13c 78480870  123330 77572732     1%    /u05
/dev/dsk/emcpower0c  235448228 154705526 78388220    67%    /u06
/dev/dsk/emcpower14c 78480870 25468750 52227312    33%    /u07
/dev/dsk/emcpower17c 156962501 96799436 58593440    63%    /u08
-bash-3.00$ cd /u05
-bash-3.00$ ls -l
total 22
drwxr-xr-x   4 oracle   dba          512 Jul 24  2006 arch
drwx------   2 root     root        8192 May 17  2009 lost+found
drwxr-xr-x   2 oracle   dba          512 Jun 19  2007 PIfYouPutOradataHereBackupMustBeFIXED
drwxr-xr-x   2 oracle   dba          512 Jun  5  2007 PleaseDoNotUseThisFileSystem
-bash-3.00$

Look like all is fine now, Am I right?

Thanks.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to solve awk: line 1: runaway string constant error? Akshay Hegde Shell Programming and Scripting 7 03-22-2013 12:47 PM
What is this error log = hda: irq timeout: error=0x00 and how to solve? avtalan Shell Programming and Scripting 3 11-04-2012 12:19 PM
i dont know how to solve this error teefa UNIX for Dummies Questions & Answers 1 12-03-2011 09:22 PM
Test argument error, unable to solve pravsripad Shell Programming and Scripting 19 08-27-2010 07:06 AM
how to solve error : Bind: Address Already in Use bhakti Programming 2 07-27-2006 03:12 PM



All times are GMT -4. The time now is 02:58 AM.