Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

The system is Ubuntu 10.04 running on a OpenVZ VPS

Here is the output:

root@s01:~# df -h
Filesystem            Size  Used Avail Use% Mounted on
varrun                256M   20K  256M   1% /var/run
varlock               256M     0  256M   0% /var/lock
varrun                256M   20K  256M   1% /var/run
varlock               256M     0  256M   0% /var/lock
varrun                256M   20K  256M   1% /var/run
varlock               256M     0  256M   0% /var/lock
varrun                256M   20K  256M   1% /var/run
varlock               256M     0  256M   0% /var/lock
varrun                256M   20K  256M   1% /var/run
varlock               256M     0  256M   0% /var/loc
root@s01:~# 
share|improve this question

1 Answer 1

up vote 1 down vote accepted

I do not know the ultimate source of the problem, something in the upstart scripts and running in openvz.

I do not think it is causing any problem and is safe to ignore.

If you wish, pastebin your /ect/init/openvz.conf and I will review it.

You can try commenting out these lines:

mount -t tmpfs varrun /var/run
mount -t tmpfs varlock /var/lock

BUT I would not do that if you do not have access to the VPS from the host as if your change prevents it from booting, you will have a useless VPS.

There is a discussion of this exact behavior on the OpenVZ Forums , but without any conclusion.

share|improve this answer
    
This is the /ect/init/openvz.conf : pastebin.com/rKVzF3br Also, on every restart df -h shows two more entries, so they keep incrementing... –  Hristo Hristov Dec 21 '11 at 17:31
    
Shut down the guest (from the host), comment out those two lines, and restart the guest. –  bodhi.zazen Dec 21 '11 at 17:37
    
Do you know why / is missing, how can I know the disk space used? Thanks! –  Hristo Hristov Dec 21 '11 at 17:38
    
This configuration is on the guest, not the host. The host is some VPS provider. –  Hristo Hristov Dec 21 '11 at 17:40
    
Yes, you edit /etc/init/openvz.conf in the guest, not the host. Again, if you do not have access to the host node, I would leave it as is ;) –  bodhi.zazen Dec 21 '11 at 17:43

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.