From 78591a1e654389d5412d98d87d96ee82c87677c3 Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Tue, 1 Oct 2013 21:32:48 +0200 Subject: [PATCH] Adds in the doc how to configure SAMBA to share the pool directory. --- snapraid.1 | 46 ++++++++++++++++++++++++++++++++++++++++++++++ snapraid.d | 15 +++++++++++++++ snapraid.txt | 15 +++++++++++++++ 3 files changed, 76 insertions(+) diff --git a/snapraid.1 b/snapraid.1 index 1cf6c8cf..beb0fc9f 100644 --- a/snapraid.1 +++ b/snapraid.1 @@ -404,6 +404,52 @@ snapraid pool .PP .PD .RE +.PP +If you are using a Unix platform and you want to configure SAMBA to +share such directory, you should add to your /etc/samba/smb.conf the +following options: +.PP +.RS 4 +# In the global section of smb.conf +.PD 0 +.PP +.PD +unix extensions = no +.PD 0 +.PP +.PD +.RE +.PP +.RS 4 +# In the share section of smb.conf +.PD 0 +.PP +.PD +[pool] +.PD 0 +.PP +.PD +comment = Pool +.PD 0 +.PP +.PD +path = /pool +.PD 0 +.PP +.PD +read only = yes +.PD 0 +.PP +.PD +guest ok = yes +.PD 0 +.PP +.PD +wide links = yes +.PD 0 +.PP +.PD +.RE .SH COMMANDS SnapRAID provides some simple commands that allow to: .PD 0 diff --git a/snapraid.d b/snapraid.d index 1e37c502..4c3c736f 100644 --- a/snapraid.d +++ b/snapraid.d @@ -224,6 +224,21 @@ Getting Started :snapraid pool + If you are using a Unix platform and you want to configure SAMBA to + share such directory, you should add to your /etc/samba/smb.conf the + following options: + + :# In the global section of smb.conf + :unix extensions = no + + :# In the share section of smb.conf + :[pool] + :comment = Pool + :path = /pool + :read only = yes + :guest ok = yes + :wide links = yes + Commands SnapRAID provides some simple commands that allow to: diff --git a/snapraid.txt b/snapraid.txt index 5d5e6263..dad87a57 100644 --- a/snapraid.txt +++ b/snapraid.txt @@ -243,6 +243,21 @@ and then run the "pool" command. snapraid pool +If you are using a Unix platform and you want to configure SAMBA to +share such directory, you should add to your /etc/samba/smb.conf the +following options: + + # In the global section of smb.conf + unix extensions = no + + # In the share section of smb.conf + [pool] + comment = Pool + path = /pool + read only = yes + guest ok = yes + wide links = yes + 5 COMMANDS ==========