Sponsored Content
Operating Systems Solaris How to solve this Error. I/O Error.? Post 302854447 by manalisharmabe on Tuesday 17th of September 2013 01:30:31 PM
Old 09-17-2013
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.
 

10 More Discussions You Might Find Interesting

1. Programming

how to solve error : Bind: Address Already in Use

hi i have created socket program with proper IP address and port no client side port no 1085 and 1086 gateway side port no 1086 and 1085 and port no 1087 and 1088 receiver side port no 1088 and 1087 well it works fine on client and gateway side not on receiver and gateway side... (2 Replies)
Discussion started by: bhakti
2 Replies

2. Solaris

Where/What/Howto solve warning/error msg about Kernel patch level?

required Solaris 5.10 Kernel patch 137111-03 required Solaris 5.10 Fibre Channel Device Driver patch 125184-08 I want to know about the descriptions and what the patches will do. I searched www.sun.com (patches/updates) but don't see I am looking for. (1 Reply)
Discussion started by: Y4Net
1 Replies

3. Shell Programming and Scripting

Test argument error, unable to solve

Here is an awk statement i am using to sum a series of numbers.. awk -F"," '{ for (i=1; i<=NF ; ++i) sum += $i;} # if (i > max) max=i } END { s=""; for (i=1; i<=max; ++i) { printf "%s%s", s, sum; s=","; } printf "\n" }' filename.csv It works fine for the summing part. But since my series... (19 Replies)
Discussion started by: pravsripad
19 Replies

4. UNIX for Dummies Questions & Answers

> 5 ")syntax error: operand expected (error token is " error

im kinda new to shell scripting so i need some help i try to run this script and get the error code > 5 ")syntax error: operand expected (error token is " the code for the script is #!/bin/sh # # script to see if the given value is correct # # Define errors ER_AF=86 # Var is... (4 Replies)
Discussion started by: metal005
4 Replies

5. UNIX for Dummies Questions & Answers

i dont know how to solve this error

can while do make aloop as do while in c language ? (1 Reply)
Discussion started by: teefa
1 Replies

6. Shell Programming and Scripting

What is this error log = hda: irq timeout: error=0x00 and how to solve?

what is this error log = hda: irq timeout: error=0x00 and how to solve? every day upon checking the logs i see this error. hda: irq timeout: error=0x00 hda: irq timeout: error=0x00 hda: irq timeout: error=0x00 hda: irq timeout: error=0x00 hw_client: segfault at 0000000000000046 rip... (3 Replies)
Discussion started by: avtalan
3 Replies

7. Shell Programming and Scripting

How to solve awk: line 1: runaway string constant error?

Hi All ! I am just trying to print bash variable in awk statement as string here is my script n=1 for file in `ls *.tk |sort -t"-" -k2n,2`; do ak=`(awk 'FNR=='$n'{print $0}' res.dat)` awk '{print "'$ak'",$0}' OFS="\t" $file n=$((n+1)) unset ak doneI am getting following error awk:... (7 Replies)
Discussion started by: Akshay Hegde
7 Replies

8. Solaris

Howto solve this disk error in Solaris in single user mode

Hi all, OS is Solaros 10 Sparc While doing Netbackup upgradation to 7.5 , the server was asked to reboot. But then it came up in single user mode, and after I typed format command it showed some disk error. bash-3.00# format Searching for disks...WARNING:... (2 Replies)
Discussion started by: manalisharmabe
2 Replies

9. Solaris

Can't solve the "Too many open files" error

I keep getting "Too many open files" in /var/adm/messages that I do not know how to fix. I've searched for solution on this forum and have increased the file descriptors limit but the problem persists. The problem is happening in a solaris zone.... /var/adm/messages log example May... (8 Replies)
Discussion started by: JT-KGY
8 Replies

10. Shell Programming and Scripting

How to solve ambigious redirect error?

hi all, i had the below script filename = /osa/data1/output.txt printf '%27s%53s\n' ' CURRENT DATE' 26-08-2014 >> $filename iam getting the ambigiuos redirect error in the 2nd line of the code...please guide me regards, vasa saikumar (3 Replies)
Discussion started by: hemanthsaikumar
3 Replies
vfstab(4)                                                          File Formats                                                          vfstab(4)

NAME
vfstab - table of file system defaults DESCRIPTION
The file /etc/vfstab describes defaults for each file system. The information is stored in a table with the following column headings: device device mount FS fsck mount mount to mount to fsck point type pass at boot options The fields in the table are space-separated and show the resource name (device to mount), the raw device to fsck (device to fsck), the default mount directory (mount point), the name of the file system type (FS type), the number used by fsck to decide whether to check the file system automatically (fsck pass), whether the file system should be mounted automatically by mountall (mount at boot), and the file system mount options (mount options). (See respective mount file system man page below in SEE ALSO for mount options.) A '-' is used to indicate no entry in a field. This may be used when a field does not apply to the resource being mounted. The getvfsent(3C) family of routines is used to read and write to /etc/vfstab. /etc/vfstab can be used to specify swap areas. An entry so specified, (which can be a file or a device), will automatically be added as a swap area by the /sbin/swapadd script when the system boots. To specify a swap area, the device-to-mount field contains the name of the swap file or device, the FS-type is "swap", mount-at-boot is "no" and all other fields have no entry. EXAMPLES
The following are vfstab entries for various file system types supported in the Solaris operating environment. Example 1: NFS and UFS Mounts The following entry invokes NFS to automatically mount the directory /usr/local of the server example1 on the client's /usr/local directory with read-only permission: example1:/usr/local - /usr/local nfs - yes ro The following example assumes a small departmental mail setup, in which clients mount /var/mail from a server mailsvr. The following entry would be listed in each client's vfstab: mailsvr:/var/mail - /var/mail nfs - yes intr,bg The following is an example for a UFS file system in which logging is enabled: /dev/dsk/c2t10d0s0 /dev/rdsk/c2t10d0s0 /export/local ufs 3 yes logging See mount_nfs(1M) for a description of NFS mount options and mount_ufs(1M) for a description of UFS options. Example 2: pcfs Mounts The following example mounts a pcfs file system on a fixed hard disk on an x86 machine: /dev/dsk/c1t2d0p0:c - /win98 pcfs - yes - The example below mounts a Jaz drive on a SPARC machine. Normally, the volume management daemon (see vold(1M)) handles mounting of remov- able media, obviating a vfstab entry. If you choose to specify a device that supports removable media in vfstab, be sure to set the mount- at-boot field to no, as below. Such an entry presumes you are not running vold. /dev/dsk/c1t2d0s2:c - /jaz pcfs - no - For removable media on a SPARC machine, the convention for the slice portion of the disk identifier is to specify s2, which stands for the entire medium. For pcfs file systems on x86 machines, note that the disk identifier uses a p (p0) and a logical drive (c, in the /win98 example above) for a pcfs logical drive. See mount_pcfs(1M) for syntax for pcfs logical drives and for pcfs-specific mount options. Example 3: CacheFS Mount Below is an example for a CacheFS file system. Because of the length of this entry and the fact that vfstab entries cannot be continued to a second line, the vfstab fields are presented here in a vertical format. In re-creating such an entry in your own vfstab, you would enter values as you would for any vfstab entry, on a single line. device to mount: svr1:/export/abc device to fsck: /usr/abc mount point: /opt/cache FS type: cachefs fsck pass: 7 mount at boot: yes mount options: local-access,bg,nosuid,demandconst,backfstype=nfs,cachedir=/opt/cache See mount_cachefs(1M) for CacheFS-specific mount options. Example 4: Loopback File System Mount The following is an example of mounting a loopback (lofs) file system: /export/test - /opt/test lofs - yes - See lofs(7FS) for an overview of the loopback file system. SEE ALSO
fsck(1M), mount(1M), mount_cachefs(1M), mount_hsfs(1M), mount_nfs(1M), mount_tmpfs(1M), mount_ufs(1M), swap(1M), getvfsent(3C) System Administration Guide: Basic Administration SunOS 5.10 21 Jun 2001 vfstab(4)
All times are GMT -4. The time now is 12:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy