LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 09-17-2013, 12:23 PM   #1
manalisharmabe
Member
 
Registered: Dec 2010
Posts: 240

Rep: Reputation: 1
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.

EDIT:- looks like it is /dev/rdsk/c1t5006016C446023DEd5s2 storage path? Can I solve this problem from OS command line, I have no idea what is this all about.

Thanks.

Last edited by manalisharmabe; 09-17-2013 at 12:46 PM.
 
Old 09-17-2013, 02:37 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,589

Rep: Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558
Quote:
Originally Posted by manalisharmabe View Post
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:

Can't open /dev/rdsk/c1t5006016C446023DEd5s2: I/O error Can't open /dev/rdsk/c1t5006016C446023DEd6s2: I/O error

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

Please wait... PDMPROD CLONE (EU) are being mounted+shared! Do Not Interrupt!
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.

EDIT:- looks like it is /dev/rdsk/c1t5006016C446023DEd5s2 storage path? Can I solve this problem from OS command line, I have no idea what is this all about.
If you are the administrator of the system, isn't it your JOB to know what that is all about?? Who wrote that (VERY SIMPLE) script? Again, as with your other threads, did you TRY to do ANY research of your own? You're getting that message because the script is trying to mount a device that's not available or present. It's even TELLING YOU THAT....so, check your devices.

You don't say how it's connected (SAN? FC? NAS? Local disk?), what kind of disk it is, version of Solaris, what you've done/tried/checked so far, what your logs say, goals are, what you've changed since the last time this ran, etc. Short answer: the device isn't ready....fix whatever problem is causing it. How you fix it depends on your device and the setup.
 
1 members found this post helpful.
Old 09-17-2013, 10:14 PM   #3
manalisharmabe
Member
 
Registered: Dec 2010
Posts: 240

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by TB0ne View Post
If you are the administrator of the system, isn't it your JOB to know what that is all about?? Who wrote that (VERY SIMPLE) script? Again, as with your other threads, did you TRY to do ANY research of your own? You're getting that message because the script is trying to mount a device that's not available or present. It's even TELLING YOU THAT....so, check your devices.

You don't say how it's connected (SAN? FC? NAS? Local disk?), what kind of disk it is, version of Solaris, what you've done/tried/checked so far, what your logs say, goals are, what you've changed since the last time this ran, etc. Short answer: the device isn't ready....fix whatever problem is causing it. How you fix it depends on your device and the setup.
Thanks for the reply.
I don't have access/don't look storage part. may be guy who looks for storage needs to check the devices.I don't thing any metadevice related command can repair this.

Thanks.
 
Old 09-17-2013, 11:53 PM   #4
manalisharmabe
Member
 
Registered: Dec 2010
Posts: 240

Original Poster
Rep: Reputation: 1
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.
 
Old 09-18-2013, 08:56 AM   #5
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,589

Rep: Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558
Quote:
Originally Posted by manalisharmabe View Post
Thanks for the reply.
I don't have access/don't look storage part. may be guy who looks for storage needs to check the devices.I don't thing any metadevice related command can repair this.
If you're the systems administrator, it is also YOUR responsibility to check things, too. Like cables, connections, etc. Did you DO any of that? Check the logs?
Quote:
Originally Posted by manalisharmabe
It looks like it is mounted now. below is the output from destination system:-
Look like all is fine now, Am I right?
Is this a trick question??? You posted two different things, referencing different device names...how, exactly, is anyone here going to know if that's what your system is SUPPOSED to look like? And again, YOU are the administrator, aren't you? Do you not know what devices should be mounted, and where?
 
Old 09-26-2013, 11:53 AM   #6
manalisharmabe
Member
 
Registered: Dec 2010
Posts: 240

Original Poster
Rep: Reputation: 1
HI Guys,

I am facing this problem,
What could be the problem,
Can I do fsck on /dev/dsk/c1t5006016C446023DEd5s2 ?

But I guess /dev/rdsk/ has to be there.

I this this is LUN,


Code:
-bash-3.00$ sudo /usr/sbin/mount -o ro /dev/dsk/c1t5006016C446023DEd5s2 /pdmprod_u05
mount: I/O error
mount: Cannot mount /dev/dsk/c1t5006016C446023DEd5s2
-bash-3.00$ sudo  /usr/sbin/mount -o ro /dev/dsk/c1t5006016C446023DEd6s2 /pdmprod_u07
mount: I/O error
mount: Cannot mount /dev/dsk/c1t5006016C446023DEd6s2
-bash-3.00$
What can I do from OS side to resolve this error?

However it gets mounted sometimes, it got mounted through script since last 3 days, but failed today, it failed twice in a week, Please guide what else can I do from OS side as I don't look for SAN/Storage stuff ,there is another team for that.But I just want to be ready from my side.

Please suggest.

EDIT:- I could mount
/dev/dsk/c1t5006016C446023DEd5s2 on /pdmprod_u05 after some time.

Last edited by manalisharmabe; 09-26-2013 at 12:19 PM.
 
Old 09-26-2013, 12:44 PM   #7
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,589

Rep: Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558
Quote:
Originally Posted by manalisharmabe View Post
HI Guys,
I am facing this problem, What could be the problem, Can I do fsck on /dev/dsk/c1t5006016C446023DEd5s2? But I guess /dev/rdsk/ has to be there. I this this is LUN,
Code:
-bash-3.00$ sudo /usr/sbin/mount -o ro /dev/dsk/c1t5006016C446023DEd5s2 /pdmprod_u05
mount: I/O error
mount: Cannot mount /dev/dsk/c1t5006016C446023DEd5s2
-bash-3.00$ sudo  /usr/sbin/mount -o ro /dev/dsk/c1t5006016C446023DEd6s2 /pdmprod_u07
mount: I/O error
mount: Cannot mount /dev/dsk/c1t5006016C446023DEd6s2
What can I do from OS side to resolve this error?

However it gets mounted sometimes, it got mounted through script since last 3 days, but failed today, it failed twice in a week, Please guide what else can I do from OS side as I don't look for SAN/Storage stuff ,there is another team for that.But I just want to be ready from my side.

Please suggest.

EDIT:- I could mount /dev/dsk/c1t5006016C446023DEd5s2 on /pdmprod_u05 after some time.
We did suggest...did you not understand what we suggested? Again, from post #2:
  • You don't say how it's connected (SAN? FC? NAS? Local disk?)
  • What kind of disk is it?
  • Version of Solaris?
  • What you've done/tried/checked so far?
  • What your logs say?
Again: Short answer: the device isn't ready....fix whatever problem is causing it. How you fix it depends on your device and the setup.

Since you now mention SAN (but omit ALL the other details you were asked before), if the device isn't showing up, either your HBA is having problems, your switch is having problems, or the SAN itself is having problems. AGAIN, check those things, and work with your SAN team to figure it out. There is no magic command you can run to make a device appear. Since all your other devices are appearing, it's time to actually start looking at the system, involving the SAN team, the SAN vendor, and your Solaris support vendor.
 
1 members found this post helpful.
Old 09-26-2013, 11:26 PM   #8
manalisharmabe
Member
 
Registered: Dec 2010
Posts: 240

Original Poster
Rep: Reputation: 1
Quote:
Since you now mention SAN (but omit ALL the other details you were asked before), if the device isn't showing up, either your HBA is having problems, your switch is having problems, or the SAN itself is having problems. AGAIN, check those things, and work with your SAN team to figure it out. There is no magic command you can run to make a device appear. Since all your other devices are appearing, it's time to actually start looking at the system, involving the SAN team, the SAN vendor, and your Solaris support vendor.
Yes, I involve the SAN team now.

Can local disk have such long name ?
/dev/dsk/c1t5006016C446023DEd5s2

Last edited by manalisharmabe; 09-26-2013 at 11:29 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
want help to solve this error dalalami21 Linux - Software 1 03-02-2013 12:57 PM
sudo to solve this error "tar: Error exit delayed from previous errors" ? xombboxer Linux - Newbie 7 03-13-2012 02:26 AM
how to solve this error message cougarhead Programming 2 11-02-2009 02:31 AM
How can i solve this error? bala_adi Red Hat 5 04-25-2009 09:26 AM
help me how to solve this error?? MahARaJaAngKaSa Ubuntu 1 04-20-2009 03:23 AM


All times are GMT -5. The time now is 05:02 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration