diff options
author | John Terpstra <jht@samba.org> | 2005-07-05 22:53:29 +0000 |
---|---|---|
committer | Gerald W. Carter <jerry@samba.org> | 2008-04-23 08:47:01 -0500 |
commit | 9d1b99ed8eedf4fc14f5a61f5eea4c3496fabda3 (patch) | |
tree | 4addaad874d08d32462351e9a668a2365631b6bf /docs/Samba3-HOWTO/TOSHARG-VFS.xml | |
parent | a37bdd77ee7099c078a1885b7f0b5bee1ab3a66a (diff) | |
download | samba-9d1b99ed8eedf4fc14f5a61f5eea4c3496fabda3.tar.gz samba-9d1b99ed8eedf4fc14f5a61f5eea4c3496fabda3.tar.bz2 samba-9d1b99ed8eedf4fc14f5a61f5eea4c3496fabda3.zip |
Formatting fixes before publication.
(This used to be commit c1a463a3ca4fd76bfaa97e296dbe82711f3f2018)
Diffstat (limited to 'docs/Samba3-HOWTO/TOSHARG-VFS.xml')
-rw-r--r-- | docs/Samba3-HOWTO/TOSHARG-VFS.xml | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/docs/Samba3-HOWTO/TOSHARG-VFS.xml b/docs/Samba3-HOWTO/TOSHARG-VFS.xml index 78fecb3a54..1ed9cddd83 100644 --- a/docs/Samba3-HOWTO/TOSHARG-VFS.xml +++ b/docs/Samba3-HOWTO/TOSHARG-VFS.xml @@ -525,8 +525,11 @@ shown in <link linkend="multimodule">the smb.conf with multiple VFS modules</lin <indexterm><primary>mkdir</primary></indexterm> <indexterm><primary>permissions</primary></indexterm> <indexterm><primary>chmod</primary></indexterm> - Now we need to prepare the directory with something like <command>mkdir -p /data/shadow_share</command> or - whatever you want to name your shadow copy enabled Samba share. Make sure you set the permissions such that + Now we need to prepare the directory with something like +<screen> +&rootprompt; mkdir -p /data/shadow_share +</screen> + or whatever you want to name your shadow copy enabled Samba share. Make sure you set the permissions such that you can use it. If in doubt, use <command>chmod 777 /data/shadow_share</command> and tighten the permissions once you get things working. </para></listitem> @@ -589,7 +592,8 @@ xfs_freeze -f /data/shadow_share/ lvcreate -L10M -s -n $SNAPNAME /dev/shadowvol/sh_test xfs_freeze -u /data/shadow_share/ mkdir /data/shadow_share/@GMT-$SNAPNAME -mount /dev/shadowvol/$SNAPNAME /data/shadow_share/@GMT-$SNAPNAME -onouuid,ro +mount /dev/shadowvol/$SNAPNAME \ + /data/shadow_share/@GMT-$SNAPNAME -onouuid,ro </screen> Note that the script does not handle other things like remounting snapshots on reboot. </para></listitem> |