fsclustadm errors with V-3-20308: ioctl failed, Invalid argument, error 22

book

Article ID: 100021926

calendar_today

Updated On:

Description

Details

The following error is seen:

2009/08/06 12:38:25 VCS WARNING V-16-20011-5512 () CFSMount::monitor:Cmd Failed: Status : 255 Cmd : /opt/VRTSvxfs/sbin/fsclustadm mounttype / Error : UX:vxfs fsclustadm: ERROR: V-3-20308: ioctl failed, Invalid argument, error 22


As part of the monitor for the cfsmount resource we issue an fsclustadm command to check the mount type.

The above error can be seen under the following conditions.

- The file system mounted on the mount-point is not a vxfs file system.

- The file system exists in mnttab although df shows the file system not mounted.

- Additional behaviour may show the file system as noted below. As we can see below the file system volume2 seems to show the same characteristics as that of volume1. In essence volume2 is not mounted.

$ more df_klat |grep udbdump
/dev/vx/dsk/diskgroup/volume1 316824576 204725780 105093036 67% /volume1
/dev/vx/dsk/diskgroup/volume2 316824576 204725780 105093036 67% /volume1/volume2
 

Resolution

umount the file system and remount it.

 

Issue/Introduction

fsclustadm errors with V-3-20308: ioctl failed, Invalid argument, error 22