[Samba] SysVol questions
Sven Schwedas
sven.schwedas at tao.at
Thu May 22 08:44:22 MDT 2014
On 2014-05-22 16: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.
You can always use bind mounts/symlinks.
> 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.
LVM? *New?* Where have you been the past 15 years? :-) Also note that a
dedicated /usr is discouraged by modern Linux distributions, because it
doesn't do what you think it does.
(Most of our VMs have a single 8 GiB partition for the OS. 16 or 24 if I
feel generous. /var depends on your use case.)
--
Mit freundlichen Grüßen, / Best Regards,
Sven Schwedas
Systemadministrator
TAO Beratungs- und Management GmbH | Lendplatz 45 | A - 8020 Graz
Mail/XMPP: sven.schwedas at tao.at | +43 (0)680 301 7167
http://software.tao.at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 665 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba/attachments/20140522/ffe68493/attachment.pgp>
More information about the samba
mailing list