Editing
Msg11799.html
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!
----- [<nowiki/>[[msg11798.html|Date Prev]]][<nowiki/>[[msg11800.html|Date Next]]][<nowiki/>[[msg11795.html|Thread Prev]]][<nowiki/>[[msg11828.html|Thread Next]]][<nowiki/>[[index.html#11799|Date Index]]][<nowiki/>[[threads.html#11799|Thread Index]]] <span id="vserver-vserver-and-reiserfs3"></span> = [Vserver] Vserver and Reiserfs3 = ----- * '''From:''' Michael S. Zick * '''Date:''' Mon, 19 Dec 2005 00:25:15 +0100 (CET) ----- <pre>Group, A collection of notes on adding vserver to a system with an existing ReiserFS-3 filesystem. When configuring your shiny new vps-linux: Under Filesystems on menuconfig; enable ReiserFS extended attributes and ReiserFS POSIX access control lists if not already configured (mine where not). - - - - Continue with configuration as described in the on-line documents. Build and Install this kernel as described. - - - - Build and Install the util-vserver tools as described. - - - - If the ReiserFS on your system has ever been used by a kernel WITHOUT the above two options, then: boot the shiny new vps-linux in 'single user' mode and run: reiserfsck --clean-attributes <device> on any devices with a ReiserFS-3 filesystem on them. - - - - Edit the lines in your /etc/fstab for the ReiserFS-3 filesystems to include the additional options: "attrs,acl" - - - - Reboot now, using your shiny new vps-linux - - - - The "testme.sh" script should run without errors. - - - - The "testfs.sh" script expects there to be a mkfs.reiserfs, so: locate where your mkfs.* programs are and where the mkreiserfs program is hiding - create a sym-link to meet the expectations of "testfs.sh" - the following works for me: ln -s /usr/sbin/mkreiserfs /sbin/mkfs.reiserfs - - - - Create the test device as a file of zeros that is loop mounted: # dd bs=1024k count=1024 if=/dev/zero of=1gb.test # losetup /dev/loop0 ./1gb.test - - - - Now the "testfs.sh" script should run, try it: # ./testfs.sh -D /dev/loop0 -M /mnt or for only ReiserFS: # ./testfs.sh -F reiser -D /dev/loop0 -M /mnt - - - - Running the test script for the ReiserFS-3 filesystem only leaves the loop file formated as a ReiserFS-3 and unmounted. - - - - Mount it again so you can play with it: mount -o attrs,acl /dev/loop0 /mnt - - - - I worked through the examples in the SuSE in the administrators guide, found here: <www.suse.de/~agruen/acl/chapter/fs_acl-en.pdf> A note on those examples: use a user name and a group name that already exists on your machine, not the names in the examples. Note how a subdirectory inherits the default acl of its parent. Now you have an alternative or supplement to hard linking files into all of your vserver contexts. - - - - Backing up a filesystem with acl information requires an "acl aware" program - the "star" program is one such. - - - - One more note - you had better find the most recent versions of all system utilities this involves - I can't give minimum versions, since I just built the 'most current' of everything to get this to work. - - - - enjoy Mike </pre> ----- * Prev by Date: '''[[msg11798.html|Re: [Vserver] Hostname confusion inside vserver]]''' * Next by Date: '''[[msg11800.html|[Vserver] VServer patch and OpenAFS kernel module]]''' * Previous by thread: '''[[msg11795.html|[Vserver] You can save few hundreds every month broaden]]''' * Next by thread: '''[[msg11828.html|Re:[Vserver] Vserver and Reiserfs3]]''' * Index(es): ** [[index.html#11799|'''Date''']] ** [[threads.html#11799|'''Thread''']]
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