[Samba] SysVol questions

Rowland Penny rowlandpenny at googlemail.com
Thu May 22 09:40:45 MDT 2014

On 22/05/14 15:55, Taylor, Jonn wrote:
> On 05/22/2014 09:48 AM, Rowland Penny wrote:
>> On 22/05/14 15:29, Steve Campbell wrote:
>>> On 5/22/2014 10:22 AM, Rowland Penny wrote:
>>>> On 22/05/14 15:10, Steve Campbell wrote:
>>>>> On 5/22/2014 9:49 AM, Rowland Penny wrote:
>>>>>> On 22/05/14 14:35, Steve Campbell wrote:
>>>>>>> I still haven't installed Samba, as I'm still in the planning 
>>>>>>> stages. Again, I'm new to Samba, and I discover our Windows pro 
>>>>>>> isn't quite up on the newer stuff since it's been years since he 
>>>>>>> ran domains.
>>>>>> Firstly, either your 'Windows pro' is lying to you, or doesn't 
>>>>>> deserve to use the word 'pro', Active Directory has been about 
>>>>>> since 2000 at least and NT domains before that ;-)
>>>>>>> I'm a little confused about this thing called "SysVol". Reading 
>>>>>>> up on it, it appears a real important part of an AD, but I don't 
>>>>>>> see how or when it's created.
>>>>>> Sysvol is where AD stores GPO's and scripts and will be created 
>>>>>> when the domain is provisioned.
>>>>>>> Can someone give me a clue as to when/how it's created? During 
>>>>>>> the provisioning, perhaps?
>>>>>>> Which brings me to wonder the following:
>>>>>>> On our current Netware system that is being replaced, we have 
>>>>>>> multiple volumes which we will use on our future Samba stuff. 
>>>>>>> When we create these volumes, which I assume will just be 
>>>>>>> directories and turned into shares, is the directory tree 
>>>>>>> important? Do these volumes have to be on the same partition? 
>>>>>>> Can each volume be a separate partition? Do these reside under 
>>>>>>> the SysVol partition or can they be anywhere?
>>>>>> You can put directories to share anywhere, you just have to 
>>>>>> create the entry for the share in smb.conf and enter put the path 
>>>>>> to the share into the entry i.e.
>>>>>> [sharename]
>>>>>>                  path = /path/to/directory
>>>>>>                  read only = No
>>>>>> Just dont put the shares into Sysvol.
>>>>>> Rowland
>>>>>>> Thanks for any insight.
>>>>>>> steve campbell
>>>>> I'm the one using the word 'Pro', and it's been ages since he's 
>>>>> done anything with this stuff. He only mentioned he'd used domains 
>>>>> in the military. So he may not be fibbing.
>>>>> Again, where does the sysvol get created and how do I control that 
>>>>> placement?
>>>> It all depends on how you install samba4, if you download the 
>>>> samba4 tarball, unpack and compile this , it will end up in 
>>>> '/usr/local/samba/', on the other hand, if you install via a 
>>>> package manager, it is likely to end up in '/var/lib/samba/'
>>>> The only way to control where it goes, is to compile it yourself 
>>>> and at configure, tell it where you want it to end up, but you will 
>>>> need to read up on that.
>>>> Rowland
>>>>> Thanks.
>>>>> steve
>>> I'm going to attempt to use the Sernet packages, but at least I know 
>>> now it's not going to be in a "special" place.
>>> Any idea how much extra space I should add for the /usr partition? 
>>> I've not switched over to the new style of LVM and such and still 
>>> use definite partitions since my Unix days for backup and restore 
>>> purposes in the event of corruption.
>>> steve
>> If you are going to use the sernet packages, then I believe that you 
>> will find sysvol in '/var/lib/samba' after provision and you need to 
>> have as much space as YOU think you will need, I personally use a 5G 
>> partition for /var, yours may be larger.
>> Rowland
> I would not use the 4.x branch for serving files. There are a lot of 
> good how to's on pacemaker, drbd, samba 3.6.x and ctdb. This is what 
> we use and it works very well. If you want to use samba 4.x on a 
> separate server or VM for AD function just beware of the limitations 
> and problems!
> Jonn
Samba 4 is more than just than an AD DC, it will do anything that samba 
3.x will do. This is a good thing really, seeing as how the 3.x branch 
will reach end of support sometime around the end of August.


More information about the samba mailing list