Unmount /dev/mapper/lvm...

Discussion in 'Server Operation' started by suther, Dec 28, 2017.

  1. suther

    suther Member

    If I output mounted devices, one entry looks like this:
    /var/www/clients/client1/web16/log/verwaltung
    This entry is no longer needed (I have moved web16 to a reseller (client54) now, but can't delete thes old "web16" Directory.
    It throws an "device busy" message.
    What kind of mount is this, and how can I unmount this entry?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    That's probably a bind mount, you should be able to remove it with umount.
     
  3. suther

    suther Member

    The full line is:
    /dev/mapper/lvm--ssd-vm--105--disk--1 on /var/www/clients/client1/web16/log
    Umount didn't work before, but now after a restart it works.
    But strange is this: I had removed the Subdomain "verwaltung" via Ispconfig-GUI, but if I restart the server, the directory /client1/web16 will recreated, even if I remove it via shell and rm.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Take a look into the ispconfig database with phpmyadmin, table web_domain, is there a record with domain_id = 16 ?
     
  5. suther

    suther Member

    Yes it is:
    [​IMG]

    So no client1 entry in this Dataset. Wonder why client1/web16/logs will be created after bootup.
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Check /etc/fstab, maybe the old path is still there as a bind mount.
     
  7. suther

    suther Member

    Ok, that was the issue. Thank you.
     

Share This Page