Aravind_M
15 years agoLevel 3
cannot mount vxfs file system
Hi Friends,
After adding kernal patch not able to mount the below file systems.
After adding kernal patch not able to mount the below file systems.
root@wwdcssofa02$vxprint -htg wintshared_dg
DG NAME NCONFIG NLOG MINORS GROUP-ID
ST NAME STATE DM_CNT SPARE_CNT APPVOL_CNT
DM NAME DEVICE TYPE PRIVLEN PUBLEN STATE
RV NAME RLINK_CNT KSTATE STATE PRIMARY DATAVOLS SRL
RL NAME RVG KSTATE STATE REM_HOST REM_DG REM_RLNK
CO NAME CACHEVOL KSTATE STATE
VT NAME RVG KSTATE STATE NVOLUME
V NAME RVG/VSET/CO KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE
SC NAME PLEX CACHE DISKOFFS LENGTH [COL/]OFF DEVICE MODE
DC NAME PARENTVOL LOGVOL
SP NAME SNAPVOL DCO
EX NAME ASSOC VC PERMS MODE STATE
SR NAME KSTATE
dg wintshared_dg default default 1000 1268867476.33.wwdcssofa02
dm wintshared_dg01 c3t5006048AD52E6588d113s2 auto 2048 142761216 -
v oravol - ENABLED ACTIVE 142761216 SELECT - fsgen
pl oravol-01 oravol ENABLED ACTIVE 142761216 CONCAT - RW
sd wprd_dg01-01 oravol-01 wintshared_dg01 0 142761216 0 c3t5006048AD52E6588d113 ENA
DG NAME NCONFIG NLOG MINORS GROUP-ID
ST NAME STATE DM_CNT SPARE_CNT APPVOL_CNT
DM NAME DEVICE TYPE PRIVLEN PUBLEN STATE
RV NAME RLINK_CNT KSTATE STATE PRIMARY DATAVOLS SRL
RL NAME RVG KSTATE STATE REM_HOST REM_DG REM_RLNK
CO NAME CACHEVOL KSTATE STATE
VT NAME RVG KSTATE STATE NVOLUME
V NAME RVG/VSET/CO KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE
SC NAME PLEX CACHE DISKOFFS LENGTH [COL/]OFF DEVICE MODE
DC NAME PARENTVOL LOGVOL
SP NAME SNAPVOL DCO
EX NAME ASSOC VC PERMS MODE STATE
SR NAME KSTATE
dg wintshared_dg default default 1000 1268867476.33.wwdcssofa02
dm wintshared_dg01 c3t5006048AD52E6588d113s2 auto 2048 142761216 -
v oravol - ENABLED ACTIVE 142761216 SELECT - fsgen
pl oravol-01 oravol ENABLED ACTIVE 142761216 CONCAT - RW
sd wprd_dg01-01 oravol-01 wintshared_dg01 0 142761216 0 c3t5006048AD52E6588d113 ENA
root@wwdcssofa02$vxprint -htg oraoemdg
DG NAME NCONFIG NLOG MINORS GROUP-ID
ST NAME STATE DM_CNT SPARE_CNT APPVOL_CNT
DM NAME DEVICE TYPE PRIVLEN PUBLEN STATE
RV NAME RLINK_CNT KSTATE STATE PRIMARY DATAVOLS SRL
RL NAME RVG KSTATE STATE REM_HOST REM_DG REM_RLNK
CO NAME CACHEVOL KSTATE STATE
VT NAME RVG KSTATE STATE NVOLUME
V NAME RVG/VSET/CO KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE
SC NAME PLEX CACHE DISKOFFS LENGTH [COL/]OFF DEVICE MODE
DC NAME PARENTVOL LOGVOL
SP NAME SNAPVOL DCO
EX NAME ASSOC VC PERMS MODE STATE
SR NAME KSTATE
dg oraoemdg default default 12000 1235085883.14.wwdcssofa02
dm oraoemdg01 c3t5006048AD52E6588d48s2 auto 65536 8854528 -
v oemvol - ENABLED ACTIVE 8854528 SELECT - fsgen
pl oemvol-01 oemvol ENABLED ACTIVE 8854528 CONCAT - RW
sd oraoemdg01-01 oemvol-01 oraoemdg01 0 8854528 0 c3t5006048AD52E6588d48 ENA
root@wwdcssofa02$more /etc/vfstab
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/dsk/c0t0d0s1 - - swap - no -
/dev/dsk/c0t0d0s0 /dev/rdsk/c0t0d0s0 / ufs 1 no -
/dev/dsk/c0t0d0s3 /dev/rdsk/c0t0d0s3 /var ufs 1 no -
/dev/dsk/c0t0d0s7 /dev/rdsk/c0t0d0s7 /export/home ufs 2 yes -
#/dev/dsk/c0t0d0s4 /dev/rdsk/c0t0d0s4 /globaldevices ufs 2 yes -
/devices - /devices devfs - no -
sharefs - /etc/dfs/sharetab sharefs - no -
ctfs - /system/contract ctfs - no -
objfs - /system/object objfs - no -
swap - /tmp tmpfs - yes -
/dev/vx/dsk/wuatp_dg/oravol /dev/vx/rdsk/wuatp_dg/oravol /wuatp/ora/applmgr vxfs - yes suid
/dev/vx/dsk/oraoemdg/oemvol /dev/vx/rdsk/oraoemdg/oemvol /oraoem vxfs 0 yes suid
/dev/vx/dsk/wintshared_dg/oravol /dev/vx/rdsk/wintshared_dg/oravol /wint/ora/applmgr vxfs - no global,suid
10.230.135.25:/operations - /ops nfs - yes bg,rw,soft
10.230.135.25:/applications - /app nfs - yes bg,rw,soft
10.230.135.25:/wwwreports - /wwwreports nfs - yes bg,rw,soft
10.230.135.25:/otissrc - /otissrc nfs - yes bg,rw,soft
/dev/did/dsk/d2s4 /dev/did/rdsk/d2s4 /global/.devices/node@1 ufs 2 no global#df -h
/dev/vx/dsk/wuatp_dg/oravol
69G 59G 9.0G 87% /wuatp/ora/applmgr
df: `/wint/ora/applmgr': I/O error
root@wwdcssofa02$mountall
mount: /tmp is already mounted or swap is busy
UX:vxfs mount: ERROR: V-3-20002: Cannot access /dev/vx/dsk/oraoemdg/oemvol: No such file or directory
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
nfs mount: mount: /ops: Device busy
nfs mount: mount: /otissrc: Device busy
nfs mount: mount: /wwwreports: Device busy
nfs mount: mount: /app: Device busy
mount: /dev/dsk/c0t0d0s7 is already mounted or /export/home is busy
UX:vxfs mount: ERROR: V-3-21264: /dev/vx/dsk/wuatp_dg/oravol is already mounted, /wuatp/ora/applmgr is busy,
allowable number of mount points exceeded
root@wwdcssofa02$vxdisk list
DEVICE TYPE DISK GROUP STATUS
c0t0d0s2 auto:none - - online invalid
c0t1d0s2 auto:none - - online invalid
c3t5006048AD52E6588d47s2 auto:cdsdisk wuatp_dg01 wuatp_dg online
c3t5006048AD52E6588d48s2 auto:cdsdisk oraoemdg01 oraoemdg online
c3t5006048AD52E6588d51s2 auto:cdsdisk wintshared_dg01 bigwintshared_dg online
c3t5006048AD52E6588d53s2 auto:cdsdisk - - online
c3t5006048AD52E6588d113s2 auto:cdsdisk wintshared_dg01 wintshared_dg online
root@wwdcssofa02$vxdisk -o alldgs list
DEVICE TYPE DISK GROUP STATUS
c0t0d0s2 auto:none - - online invalid
c0t1d0s2 auto:none - - online invalid
c3t5006048AD52E6588d47s2 auto:cdsdisk wuatp_dg01 wuatp_dg online
c3t5006048AD52E6588d48s2 auto:cdsdisk oraoemdg01 oraoemdg online
c3t5006048AD52E6588d51s2 auto:cdsdisk wintshared_dg01 bigwintshared_dg online
c3t5006048AD52E6588d53s2 auto:cdsdisk - (scquorum_dg) online
c3t5006048AD52E6588d113s2 auto:cdsdisk wintshared_dg01 wintshared_dg online
DG NAME NCONFIG NLOG MINORS GROUP-ID
ST NAME STATE DM_CNT SPARE_CNT APPVOL_CNT
DM NAME DEVICE TYPE PRIVLEN PUBLEN STATE
RV NAME RLINK_CNT KSTATE STATE PRIMARY DATAVOLS SRL
RL NAME RVG KSTATE STATE REM_HOST REM_DG REM_RLNK
CO NAME CACHEVOL KSTATE STATE
VT NAME RVG KSTATE STATE NVOLUME
V NAME RVG/VSET/CO KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE
SC NAME PLEX CACHE DISKOFFS LENGTH [COL/]OFF DEVICE MODE
DC NAME PARENTVOL LOGVOL
SP NAME SNAPVOL DCO
EX NAME ASSOC VC PERMS MODE STATE
SR NAME KSTATE
dg oraoemdg default default 12000 1235085883.14.wwdcssofa02
dm oraoemdg01 c3t5006048AD52E6588d48s2 auto 65536 8854528 -
v oemvol - ENABLED ACTIVE 8854528 SELECT - fsgen
pl oemvol-01 oemvol ENABLED ACTIVE 8854528 CONCAT - RW
sd oraoemdg01-01 oemvol-01 oraoemdg01 0 8854528 0 c3t5006048AD52E6588d48 ENA
root@wwdcssofa02$more /etc/vfstab
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/dsk/c0t0d0s1 - - swap - no -
/dev/dsk/c0t0d0s0 /dev/rdsk/c0t0d0s0 / ufs 1 no -
/dev/dsk/c0t0d0s3 /dev/rdsk/c0t0d0s3 /var ufs 1 no -
/dev/dsk/c0t0d0s7 /dev/rdsk/c0t0d0s7 /export/home ufs 2 yes -
#/dev/dsk/c0t0d0s4 /dev/rdsk/c0t0d0s4 /globaldevices ufs 2 yes -
/devices - /devices devfs - no -
sharefs - /etc/dfs/sharetab sharefs - no -
ctfs - /system/contract ctfs - no -
objfs - /system/object objfs - no -
swap - /tmp tmpfs - yes -
/dev/vx/dsk/wuatp_dg/oravol /dev/vx/rdsk/wuatp_dg/oravol /wuatp/ora/applmgr vxfs - yes suid
/dev/vx/dsk/oraoemdg/oemvol /dev/vx/rdsk/oraoemdg/oemvol /oraoem vxfs 0 yes suid
/dev/vx/dsk/wintshared_dg/oravol /dev/vx/rdsk/wintshared_dg/oravol /wint/ora/applmgr vxfs - no global,suid
10.230.135.25:/operations - /ops nfs - yes bg,rw,soft
10.230.135.25:/applications - /app nfs - yes bg,rw,soft
10.230.135.25:/wwwreports - /wwwreports nfs - yes bg,rw,soft
10.230.135.25:/otissrc - /otissrc nfs - yes bg,rw,soft
/dev/did/dsk/d2s4 /dev/did/rdsk/d2s4 /global/.devices/node@1 ufs 2 no global#df -h
/dev/vx/dsk/wuatp_dg/oravol
69G 59G 9.0G 87% /wuatp/ora/applmgr
df: `/wint/ora/applmgr': I/O error
root@wwdcssofa02$mountall
mount: /tmp is already mounted or swap is busy
UX:vxfs mount: ERROR: V-3-20002: Cannot access /dev/vx/dsk/oraoemdg/oemvol: No such file or directory
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
nfs mount: mount: /ops: Device busy
nfs mount: mount: /otissrc: Device busy
nfs mount: mount: /wwwreports: Device busy
nfs mount: mount: /app: Device busy
mount: /dev/dsk/c0t0d0s7 is already mounted or /export/home is busy
UX:vxfs mount: ERROR: V-3-21264: /dev/vx/dsk/wuatp_dg/oravol is already mounted, /wuatp/ora/applmgr is busy,
allowable number of mount points exceeded
root@wwdcssofa02$vxdisk list
DEVICE TYPE DISK GROUP STATUS
c0t0d0s2 auto:none - - online invalid
c0t1d0s2 auto:none - - online invalid
c3t5006048AD52E6588d47s2 auto:cdsdisk wuatp_dg01 wuatp_dg online
c3t5006048AD52E6588d48s2 auto:cdsdisk oraoemdg01 oraoemdg online
c3t5006048AD52E6588d51s2 auto:cdsdisk wintshared_dg01 bigwintshared_dg online
c3t5006048AD52E6588d53s2 auto:cdsdisk - - online
c3t5006048AD52E6588d113s2 auto:cdsdisk wintshared_dg01 wintshared_dg online
root@wwdcssofa02$vxdisk -o alldgs list
DEVICE TYPE DISK GROUP STATUS
c0t0d0s2 auto:none - - online invalid
c0t1d0s2 auto:none - - online invalid
c3t5006048AD52E6588d47s2 auto:cdsdisk wuatp_dg01 wuatp_dg online
c3t5006048AD52E6588d48s2 auto:cdsdisk oraoemdg01 oraoemdg online
c3t5006048AD52E6588d51s2 auto:cdsdisk wintshared_dg01 bigwintshared_dg online
c3t5006048AD52E6588d53s2 auto:cdsdisk - (scquorum_dg) online
c3t5006048AD52E6588d113s2 auto:cdsdisk wintshared_dg01 wintshared_dg online
- /dev/vx/dsk/wuatp_dg/oravol is already mounted and when you are running "mountall" command it is clearly stating so.
You may have accidentally operated with the volume "/dev/vx/dsk/wintshared_dg/oravol" when the filesystem was already mounted, may be that is why its giving you an IO error.
Try following for`/wint/ora/applmgr':
# umount -f /wint/ora/applmgr
# df -h --> If you still see IO error against that FS is gone then do the following:
# fsck -F vxfs -o full -n /dev/vx/dsk/wintshared_dg/oravol --> If you are happy with the report then just run the same command by replacing "-n" with "-y". This is not a must but I would suggest you do it.
# mount -F vxfs /dev/vx/dsk/wintshared_dg/oravol /wint/ora/applmgr
# df -h --> Check if it got mounted.
And if the above "umount -f" does not removes IO error info from df command output then go for a reboot using following procedure:
# touch /etc/vx/state.d/reconfig.d/installdb
# vi /etc/vfstab --> Put a "#" mark infront of all volume manager's volumes.
# shutdown -y -g0 -i6
Once the system comes back
# rm /etc/vx/state.d/reconfig.d/installdb
# vi /etc/vfstab --> remove all # marks from this file that you inserted in the above step.
# vxconfigd -k
# vxrecover -bsE -g < DG names >
# Run fsck on the FS if possible
# Mount the file systems
There could be many ways to go about it, this is one of them.
Regards,
Dev