AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
Expand all | Collapse all

chfs problem (mount device busy)

  • 1.  chfs problem (mount device busy)

    Posted Fri October 09, 2015 10:29 AM

    Originally posted by: NQ0M_Khalid_Benhayoune


    hello guys,

    I can't extend a filesystem using chfs command.

    root:oragl1:/>$ chfs -a size=+10G /oragldb2
    mount: /dev/oragldb2_lv on /oragldb2: Device busy

    root:oragl1:/>$ fuser -Vuc /oragldb2

    /oragldb2: 
    vfs    fd=149   6357048(oraprod)
    vfs    fd=121   7274720(oraprod)
    vfs    fd=117   7405794(oraprod)
    vfs    fd=147   7471332(oraprod)
    vfs    fd=20    17956936(oraprod)
    vfs    fd=62    20054264(oraprod)
    vfs    fd=38    29098106(oraprod)
    vfs    fd=31    30081082(oraprod)
    vfs    fd=13    30933064(oraprod)
    vfs    fd=73    33685548(oraprod)
    vfs    fd=17    34537660(oraprod)
    vfs    fd=13    36438264(oraprod)
    vfs    fd=27    36962532(oraprod)
    vfs    fd=30    37486660(oraprod)
    vfs    fd=22    37814468(oraprod)
    vfs    fd=15    39190630(oraprod)
    vfs    fd=22    39518284(oraprod)
    vfs    fd=10    40304690(oraprod)
    vfs    fd=22    40894510(oraprod)
    vfs    fd=22    41680986(oraprod)
    vfs    fd=22    42467346(oraprod)
    vfs    fd=13    43319320(oraprod)

     

    the filesystem needs to stay mounted. any workaround to make chfs work on it?



  • 2.  Re: chfs problem (mount device busy)

    Posted Wed October 14, 2015 05:03 AM

    Originally posted by: Wouter Liefting


    chfs would normally work perfectly on a mounted filesystem. So under normal circumstances this would need to work.

    Since you're dealing with Oracle, I suspect the whole filesystem, or certain files on the filesystem, were mounted/opened with Direct I/O (dio), and that this may be blocking certain operations on the filesystem. If that is indeed the case, you'd have to stop Oracle and possibly remount the fs (mount -o remount) for chfs to work.