"V-5-1-2527 VX_GETFSOPT ioctl failed -- errno 19" appears when running vxresize

book

Article ID: 100040943

calendar_today

Updated On:

Description

Error Message

# vxresize -g testdg -F vxfs testprod +10G
VxVM vxresize WARNING V-5-1-2527 VX_GETFSOPT ioctl failed -- errno 19

 

Cause

VXFS Veritas File System was not mounted correctly because the wrong order was specified in the /etc/filesystems file for nested mounts of VXFS.

 

Resolution

Below was the sequence in /etc/filesystems where ideally /var/prod need to be mounted first since all other are nested mounts under /var/prod.

/var/prod/data:
        dev             = /dev/vx/dsk/testdg/testdata
        vfs             = vxfs
        mount           = true
        check           = true

/var/prod/logs:
        dev             = /dev/vx/dsk/testdg/testlog
        vfs             = vxfs
        mount           = true
        check           = true

/var/prod/app:
        dev             = /dev/vx/dsk/testdg/testapp
        vfs             = vxfs
        check           = true
        mount           = true


/var/prod/testapp1:
        dev             = /dev/vx/dsk/testdg/testapp-1
        vfs             = vxfs
        mount           = true
        check           = true

/var/prod:
        dev             = /dev/vx/dsk/testdg/testprod
        vfs             = vxfs
        mount           = true
        check           = true/var/prod/data:
        dev             = /dev/vx/dsk/testdg/testdata
        vfs             = vxfs
        mount           = true
        check           = true

/var/prod/logs:
        dev             = /dev/vx/dsk/testdg/testlog
        vfs             = vxfs
        mount           = true
        check           = true

/var/prod/app:
        dev             = /dev/vx/dsk/testdg/testapp
        vfs             = vxfs
        check           = true
        mount           = true


/var/prod/testapp1:
        dev             = /dev/vx/dsk/testdg/testapp-1
        vfs             = vxfs
        mount           = true
        check           = true

/var/prod:
        dev             = /dev/vx/dsk/testdg/testprod        <<<<<<<<<< This should be top of the list for VXFS.
        vfs             = vxfs
        mount           = true
        check           = true

 

After making changes as below, there was no error for vxresize.

 

/var/prod:
        dev             = /dev/vx/dsk/testdg/testprod
        vfs             = vxfs
        mount           = true
        check           = true

/var/prod/data:
        dev             = /dev/vx/dsk/testdg/testdata
        vfs             = vxfs
        mount           = true
        check           = true

/var/prod/logs:
        dev             = /dev/vx/dsk/testdg/testlog
        vfs             = vxfs
        mount           = true
        check           = true

/var/prod/app:
        dev             = /dev/vx/dsk/testdg/testapp
        vfs             = vxfs
        check           = true
        mount           = true


/var/prod/testapp1:
        dev             = /dev/vx/dsk/testdg/testapp-1
        vfs             = vxfs
        mount           = true
        check           = true

Getting Error in vxresize.. [root@qatcdes523:/root]# vxresize -g vgqatcdes523 lvvarproddata +10G VxVM vxresize WARNING V-5-1-2527 VX_GETFSOPT ioctl failed -- errno 19 [root@qatcdes523:/root]# vxassist -g vgqatcdes523 maxgrow lvvarproddata Volume lvvarproddata can be extended by 651499520 to: 756357120 (369315Mb) [root@qatcdes523:/root]# vxresize -g vgqatcdes523 lvvarproddata +10G VxVM vxresize WARNING V-5-1-2527 VX_GETFSOPT ioctl failed -- errno 19