The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

getting repquota no such file

Discussion in 'General Discussion' started by durangod, Nov 7, 2014.

  1. durangod

    durangod Well-Known Member

    Joined:
    May 12, 2012
    Messages:
    251
    Likes Received:
    10
    Trophy Points:
    18
    cPanel Access Level:
    Website Owner
    Lately i have been getting this on a regular basis from some job thats running at night.

    repquota: Cannot resolve mountpoint path (deleted) /home/xxxx/cursoriu/home/cursoriu: No such file or directory
    repquota: Cannot resolve mountpoint path (deleted) /home/xxxx/goldwing/home/goldwing: No such file or directory

    these both are closed or expired domain/cpanel accounts so im not worried about sharing the names but how do i get this resolved.

    thanks
     
    #1 durangod, Nov 7, 2014
    Last edited: Nov 7, 2014
  2. Dave717

    Dave717 Member
    PartnerNOC

    Joined:
    Mar 29, 2013
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Same here. Started with the WHM upgrade a few days ago.
     
  3. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

    Please try to run following command on your server.

    Code:
    /scripts/fixquotas
     
  4. durangod

    durangod Well-Known Member

    Joined:
    May 12, 2012
    Messages:
    251
    Likes Received:
    10
    Trophy Points:
    18
    cPanel Access Level:
    Website Owner
    hi thanks here is my output i dont think it worked. Should i just delete the /goldwing and /cursoriu in the virtfs dir

    Code:
    
    # /scripts/fixquotas
    Installing Default Quota Databases......Done
    journaled quota support: not available with vzaquota (disabled)
    Warning virtual file systems are mounted. Quotas may be counted as double
    for users who are currently logged in. Please have jailshell users logout
    before running quotacheck in the future!
    
    All jailed users will be logged out in 60 seconds!
    
    
    Broadcast message from [email]root@xxxxxx.xxxxxxxx.com[/email] (Mon Nov 10 06:21:21 2014):
    
    Warning! The system is about to perform quota maintenance.
    All users will be logged out in 60 seconds.
    PLEASE Do not log back in for 30 minutes, or you may inadvertantly disable your
     account.
    jailshell: no process killed
    warn [clear_orphaned_virtfs_mounts] The directory “/home/virtfs/goldwing/home/goldwing” could not be removed from the virtfs device: Device or resource busy
    warn [clear_orphaned_virtfs_mounts] The directory “/home/virtfs/goldwing/home” could not be removed from the virtfs device: Directory not empty
    warn [clear_orphaned_virtfs_mounts] The directory “/home/virtfs/cursoriu/home/cursoriu” could not be removed from the virtfs device: Device or resource busy
    warn [clear_orphaned_virtfs_mounts] The directory “/home/virtfs/cursoriu/home” could not be removed from the virtfs device: Directory not empty
    Failed to unmount virtual file system. at /usr/local/cpanel/scripts/initquotas line 291.
    Reading package xxxxangod_WMSpecial
    edquota: Cannot resolve mountpoint path (deleted) /home/virtfs/cursoriu/home/cursoriu: No such file or directory
    edquota: Cannot resolve mountpoint path (deleted) /home/virtfs/goldwing/home/goldwing: No such file or directory
    Resetting quota for xxxexs to 0 M
    edquota: Cannot resolve mountpoint path (deleted) /home/virtfs/cursoriu/home/cursoriu: No such file or directory
    edquota: Cannot resolve mountpoint path (deleted) /home/virtfs/goldwing/home/goldwing: No such file or directory
    Resetting quota for xxxentl to 0 M
    Resetting quota for xxxiteowf to unlimited M
    edquota: Cannot resolve mountpoint path (deleted) /home/virtfs/cursoriu/home/cursoriu: No such file or directory
    edquota: Cannot resolve mountpoint path (deleted) /home/virtfs/goldwing/home/goldwing: No such file or directory
    Reading package xxxngod_maximum
    edquota: Cannot resolve mountpoint path (deleted) /home/virtfs/cursoriu/home/cursoriu: No such file or directory
    edquota: Cannot resolve mountpoint path (deleted) /home/virtfs/goldwing/home/goldwing: No such file or directory
    Resetting quota for xxxan6 to unlimited M
    Reading package DR-1 Reseller
    edquota: Cannot resolve mountpoint path (deleted) /home/virtfs/cursoriu/home/cursoriu: No such file or directory
    edquota: Cannot resolve mountpoint path (deleted) /home/virtfs/goldwing/home/goldwing: No such file or directory
    Resetting quota for xxxangod to 102400 M
    Reading package xxxngod_Premium
    Resetting quota for xxxdem to 2500 M
    edquota: Cannot resolve mountpoint path (deleted) /home/virtfs/cursoriu/home/cursoriu: No such file or directory
    edquota: Cannot resolve mountpoint path (deleted) /home/virtfs/goldwing/home/goldwing: No such file or directory
    edquota: Cannot resolve mountpoint path (deleted) /home/virtfs/cursoriu/home/cursoriu: No such file or directory
    edquota: Cannot resolve mountpoint path (deleted) /home/virtfs/goldwing/home/goldwing: No such file or directory
    Resetting quota for secretth to 0 M
    Reading package xxxxngod_Basic
    edquota: Cannot resolve mountpoint path (deleted) /home/virtfs/cursoriu/home/cursoriu: No such file or directory
    edquota: Cannot resolve mountpoint path (deleted) /home/virtfs/goldwing/home/goldwing: No such file or directory
    Resetting quota for xxxxpamb to 1000 M
    Resetting quota for xxxxros to 0 M
    edquota: Cannot resolve mountpoint path (deleted) /home/virtfs/cursoriu/home/cursoriu: No such file or directory
    edquota: Cannot resolve mountpoint path (deleted) /home/virtfs/goldwing/home/goldwing: No such file or directory
    Invalid line: /dev/simfs on (deleted) /home/virtfs/cursoriu/home/cursoriu type simfs (rw,relatime,usrquota,grpquota)
    Invalid line: /dev/simfs on (deleted) /home/virtfs/goldwing/home/goldwing type simfs (rw,relatime,usrquota,grpquota)
    root@xxxxxx [~]#
    
    
     
    #4 durangod, Nov 10, 2014
    Last edited: Nov 10, 2014
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
  6. durangod

    durangod Well-Known Member

    Joined:
    May 12, 2012
    Messages:
    251
    Likes Received:
    10
    Trophy Points:
    18
    cPanel Access Level:
    Website Owner
    oh ok sure thanks
     
  7. durangod

    durangod Well-Known Member

    Joined:
    May 12, 2012
    Messages:
    251
    Likes Received:
    10
    Trophy Points:
    18
    cPanel Access Level:
    Website Owner
    ticket 5681441
     
  8. ckh

    ckh Well-Known Member

    Joined:
    Dec 6, 2003
    Messages:
    356
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Phoenix, AZ
    cPanel Access Level:
    DataCenter Provider
    Was there a resolution to this? I have a few servers with the same problem, keep getting emails:

    repquota: Cannot resolve mountpoint path (deleted)/home/virtfs/username/home/username: No such file or directory

    Accounts were at one time terminated. There's no files within /home/virtfs/username but there is the path to /home/virtfs/username/home/username
     
  9. durangod

    durangod Well-Known Member

    Joined:
    May 12, 2012
    Messages:
    251
    Likes Received:
    10
    Trophy Points:
    18
    cPanel Access Level:
    Website Owner
    My apologies i meant to update this, you will need to do a ticket as they will have to manually remove the bad items. For some reason it was left mounted so they will have to unmount manually and then clean it up.


    i would post their code but i dont want someone to totally mess up their server because the commands do not apply to them or their server for some reason.
     
    #9 durangod, Nov 13, 2014
    Last edited: Nov 13, 2014
  10. cPanelPeter

    cPanelPeter Technical Analyst III
    Staff Member

    Joined:
    Sep 23, 2013
    Messages:
    569
    Likes Received:
    15
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    The above information is correct. This appeared to be a corruption in one or more of the virtfs mounts. Each one can be different. The fix that was used in this particular instance was similar to this:

    Code:
    # grep 'deleted' /etc/mtab
    
    You should get back something like this: 
    
    /dev/simfs (deleted)\040/home/virtfs/USERNAME/home/USERNAME simfs rw,relatime,usrquota,grpquota 0 0
    
    Then you can try the following: 
    
    # umount USERNAME
    
    Repeat that for each of the accounts that show (deleted).  
    
    When that's done, try the /scripts/clear_orphaned_virtfs_mounts again (you may have to run this several times).  
    Finally, type: 
    
    # /scripts/fixquotas
    
     
    postcd likes this.
  11. ckh

    ckh Well-Known Member

    Joined:
    Dec 6, 2003
    Messages:
    356
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Phoenix, AZ
    cPanel Access Level:
    DataCenter Provider
    That didn't work. What did work was:

    grep -i username /proc/mounts

    you should get something like:

    /dev/sdb1 \040(deleted)/home/virtfs/username/home/username ext4 rw,relatime,barrier=1,data=ordered,jqfmt=vfsv0,usrjquota=quota.user 0 0

    The path in the result is used to unmount:

    umount /home/virtfs/username/home/username

    and finally:

    /scripts/clear_orphaned_virtfs_mounts --user username

    which worked for me. (Thanks to Amanda, ticket 5696195)
     
    postcd likes this.
  12. durangod

    durangod Well-Known Member

    Joined:
    May 12, 2012
    Messages:
    251
    Likes Received:
    10
    Trophy Points:
    18
    cPanel Access Level:
    Website Owner
    why is this still being an issue, is there an update for cpanel that will fix this issue on the horizon ?

    what worked for me was eveything ckh did but the last line

    i used the shorter version because the attribute did not work on mine.

    /scripts/clear_orphaned_virtfs_mounts

    then it went thru each account no action needed until it deleted the one that needed to be cleaned. I guess if you have lots of accounts this could take awhile, but as i said i could not get this format
    /scripts/clear_orphaned_virtfs_mounts --user username
    to work for me.

    [~]# /scripts/clear_orphaned_virtfs_mounts --user datingsiteowf
    Argument 1 did not match (?^:^--(.)) at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/Class/Std.pm line 438.


    thanks
     
    #12 durangod, Mar 2, 2015
    Last edited: Mar 2, 2015
  13. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    The following document helps explain why this happens, and the steps you can take to address it:

    Jailed Shell - Remove VirtFS

    From what I can see in the posts to this thread, it's by design due to the nature of how jailshell operates.

    Thank you.
     
Loading...

Share This Page