Changes

Jump to: navigation, search

Physical to container

87 bytes added, 11:55, 9 December 2009
/etc/fstab: also leave /proc, /sys and /dev/shm
=== /etc/fstab ===
Since you do not have any real disk partitions in a container, /etc/fstab (or most part of it) is no longer needed. Empty it (excluding the line lines for <code>/dev/pts</code>, <code>/proc</code>, <code>/sys</code> and such):
cp /vz/private/123/etc/fstab /vz/private/123/etc/fstab.old
grep devpts egrep '/dev/pts|/dev/shm|/proc|/sys' /vz/private/123/etc/fstab.old > /vz/private/123/etc/fstab
You can also mount a devpts in a running (but not fully functional) container:

Navigation menu