Hi *,
for some practical reason I need to replace the physical directory
/var/lib/vz
with a symolic link like
/var/lib/vz -> /container/vz
Problem is: the directory VZ is always busy, so replacement with a link is not possible:
host1:/# cd /var/lib
host1:/var/lib# mv vz vzold
mv: cannot move `vz' to `vzold': Device or resource busy
host1:/var/lib#
How can I ensure that the directory is movable resp deletable? I did shut down all pve* and the "vz" demons, but the dir was not released. So which process locks/uses it?
A lesser alternative would be to mount a Partition to /var/lib/vz ...
but for this it must be "unbusy" too ....
Kind regards,
Joachim
for some practical reason I need to replace the physical directory
/var/lib/vz
with a symolic link like
/var/lib/vz -> /container/vz
Problem is: the directory VZ is always busy, so replacement with a link is not possible:
host1:/# cd /var/lib
host1:/var/lib# mv vz vzold
mv: cannot move `vz' to `vzold': Device or resource busy
host1:/var/lib#
How can I ensure that the directory is movable resp deletable? I did shut down all pve* and the "vz" demons, but the dir was not released. So which process locks/uses it?
A lesser alternative would be to mount a Partition to /var/lib/vz ...
but for this it must be "unbusy" too ....
Kind regards,
Joachim