log on df command

Discussion in 'General' started by betafer, Sep 15, 2016.

  1. betafer

    betafer Member

    Hello,
    after replacing a fault hd in raid if ha use df command i got this output:

    /dev/root 20026172 9512332 9473512 51% /var/www/clients/client1/web1/log
    /dev/root 20026172 9512332 9473512 51% /var/www/clients/client2/web2/log
    /dev/root 20026172 9512332 9473512 51% /var/www/clients/client1/web3/log
    /dev/root 20026172 9512332 9473512 51% /var/www/clients/client1/web4/log
    /dev/root 20026172 9512332 9473512 51% /var/www/clients/client1/web5/log
    /dev/root 20026172 9512332 9473512 51% /var/www/clients/client1/web6/log
    /dev/root 20026172 9512332 9473512 51% /var/www/clients/client1/web7/log

    Why ? is it normal ?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    This is normal. The log directories are bind mounts. Btw, df should not show bind mounts in my opinion as they are similar to symlinks, so they have no space and are no partitions, but this can only be changed by the devs of the df command.
     
  3. betafer

    betafer Member

    Thanks, but why before changing the ssd, logs directories were not present in df command ?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Maybe they were not mounted correctly before from /etc/fstab.
     
  5. betafer

    betafer Member

    How can i fix ?
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    What do you want to fix? The df command shows bind mounts, so if they show up when you use df, then the system is working correctly. If you don't want to see them, try to find out who maintains the code of the df command and ask him to exclude bind mounts from being displayed.
     
  7. betafer

    betafer Member

    Ok,n thanks
     

Share This Page