OpenVZ Forum


Home » Mailing lists » Users » Ubuntu Template /dev Problems
Re: Ubuntu Template /dev Problems [message #684 is a reply to message #683] Fri, 06 January 2006 18:17 Go to previous messageGo to previous message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

this is probably due to your initscripts use /dev mounted over tmpfs.
You can check this in `mount` output.
I would recommend you to disable mounting it on tmpfs since it's a real
wastage of memory (~0.5-1MB of RAM per VPS). And this will solve your
problem also - device entries in /dev won't disappear after reboot.

Kirill Kolyshkin will be able to recommend you more concrete actions
tomorrow if you don't succeed.

Kirill

> I am creating an Ubuntu 5.04 template for OpenVZ and have run into a problem.
> There are no /dev/pty, /dev/random, and /dev/urandom devices in /dev. I have
> created these devices by the following:
>
> cd /vz/root/111/dev; /vz/root/111/sbin/MAKEDEV pty
>
> This creates the devices just fine. When I reboot Ubuntu the devices are not
> there and need to be created all over again. When I created templates for
> other linux distros I have had to create /dev/pty but they are there on reboot.
>
> drwxr-xr-x 4 root root 4096 Jan 1 14:18 dev
>
> How do I solve this problem on Ubuntu? Thanks
>
> *Also posted to ubuntu.com support forum
>
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: OpenVZ and Gentoo
Next Topic: Gentoo VPS Template Problems
Goto Forum:
  


Current Time: Tue Sep 09 21:07:24 GMT 2025

Total time taken to generate the page: 0.08367 seconds