Editing
Util-vserver:Fstab
From Linix VServer
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== About /etc/vservers/<name>/fstab == The file has the format as described by man 5 fstab *except*: * the fifth and sixth fields (fs_freq and fs_passno) are ignored. If you need fsck to run on a device before mounting it, you have to do so by a separate means, e.g. by running it from <tt>scripts/initialize</tt> (*not* prepre-start as fstab entries are already mounted at the time prepre-start is being run). But be sure that either fsck's input/outputs are tied to some tty (by setting <tt>/etc/vservers/guest/apps/init/tty</tt> or <tt>/etc/vservers/.defaults/apps/init/tty</tt>), or you supply one of the -y or -n options (man e2fsck) so that it can run non-interactively. But a better idea might be to run fsck from a startup script during the *host* boot process. <small>There has been some discussion between <tt>Bertl</tt>, <tt>daniel_hozac</tt> and <tt>pflanze</tt> on #vserver on 2007/02/10 about adding support for the "fs_passno" ("fsck") field, but the benefit is not entirely clear.</small> <small><tt>Jon Bendtsen</tt> wanted fsck of the filesystem and has made patches to util-vserver after <tt>daniel_hozac</tt> said where in util-vserver to make the hook. The patches uses normal fsck and normal fstab behavior. The patches can be seen and downloaded at https://savannah.nongnu.org/patch/?6213</small> === See also === * [[util-vserver:Logging]] on how stdin/out/err are being setup when booting vservers [[Category:Configuration]]
Summary:
Please note that all contributions to Linix VServer may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Linix VServer:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Page actions
Page
Discussion
Read
Edit
History
Page actions
Page
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
About
Overview
Paper
News
Developers
Donations
Search
Getting Started
Downloads
FAQs
Documentation
Support
Participate
How to participate
Report a Bug
Communicate
Teams/Projects
Hall of Fame
Resources
Archives
Recent Wiki Changes
Pastebin
Related Projects
VServer Hosting
Happy VServer Users
Tools
What links here
Related changes
Special pages
Page information