[Samba] samba migration to another llinux distro
Gaiseric Vandal
gaiseric.vandal at gmail.com
Wed Jun 16 08:05:34 MDT 2010
If you are moving the RAID controller with the disks then it should be
OK. And in that case using RAID5 should be OK for /boot.
You can also, with the 3ware, configure all the disks in a single RAID5
(or maybe RAID5+1 or RAID6), and then use 3ware to create two separate
LUN's (logical drives) so that the OS see's two separate scsi drives.
This could let you allocate more disk space for your data "drive."
The latest samba rpm update for RHEL5.x is ver 3.0.33. It
should be similar for CentOS.
Re changes between versions- you will need to read through the release
notes for the various versions.
I do not think ext4 is available on Centos.
On 06/16/2010 04:33 AM, Hubert Choma wrote:
> Gaiseric Vandal<gaiseric.vandal<at> gmail.com> writes:
>
> Hello
> Thanks for help Gaiseric
>
> Probably you misunderstood me Gaiseric.
>
> I put 3 ware controller with new disks to test machine (gigabyte mobo).
> I have
> installed Cenots with samba on raid 5 on this controller and I want to
> move this
> discs with controller to server machine (Intel Server Board SE7320SP2)
> Will linux (centos ) boot ???
>
> I know that is 2 different motherboards so Anaconda will have to detect
> new
> hardware and install appropriate drivers.
>
> Another questions are:
> - what filesystem will be most efficient ext2,ext3,ext4 or xfs ?
> - what partition scheme use:
> - sda - 3xWDC RE3 1GB -RAID5 / /boot /var/ /home (on home partition will
> be data
> of samba users store)
> - sdb - 3xWDC RE3 1GB /mnt/scans (on this partition will be stored scans
> (.tif)
> the data for a large increase in)
>
> So I do not understand your sentences:
> "Don't use RAID5 for your /boot or OS slices. If your raid
>
>> configuration gets messed up the system can't boot."
>>
> Can you explain it ?? How to install boot when I have 6 disc (3 disc per
> raid5
> unit?)
>
> I dont' want to compile samba. I would like to use .rpm from centos or
> epel
> repos and update samba via yum. Is there any version compatibile with
> Win 7 in
> this repos ???
>
> - Where can I find changes beetwen samba Version 3.0.28a-1.fc7 and this
> from
> centos 5.5 repo ?
>
> - How to set test machine to BDC (to copy user tdbsam and policies from
> PDC and
> migrate to PDC ???)
> I understand that the domain SID will remain the same and do not have to
> re-add
> clients to domain ?
>
> There is my config form fedora 7
>
> # Global parameters
> [global]
> workgroup = geodezja
> server string = Samba Server %v
> interfaces = 10.10.10.0/255.255.255.0 127.0.0.1
> bind interfaces only = Yes
> ; encrypt passwords = yes
> update encrypted = Yes
> client ntlmv2 auth = yes
> log level = 2 vfs:3 auth:2 passdb:3
> log file = /var/log/samba/%U.%m.log
> ; max log size = 5000
> socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
> # DRUKOWANIE
> ; load printers = yes
> ; printing = cups
> printcap name = cups
> # cups options = raw
>
> logon script = %G.CMD
>
> logon path =
> logon home =
> domain logons = yes
> os level = 128
> preferred master = yes
> domain master = yes
> local master = yes
>
> remote browse sync = none
> remote announce = none
> dns proxy = No
> wins support = yes
> name resolve order = wins bcast host
> hosts allow = 10.10.10.0/255.255.255.0 127.0.0.1
> hosts deny = ALL
> ; unix password sync = no
> security = user
> ; password level = 0
> ; null passwords = no
> deadtime = 0
> map to guest = never
> create mask = 0777
> nt acl support = no
> time server = yes
> enable privileges = yes
> passdb backend = tdbsam
> username map = /etc/samba/smbusers
> hide dot files = yes
> guest ok = no
> name cache timeout = 60
> [homes]
> comment = Home Directories
> public = yes
> ; available = yes
> browseable = no
> writable = yes
> force create mode = 0775
>
> [printers]
> comment = drukarki
> path = /var/spool/samba
> browseable = no
> ; guest ok = no
> ; writable = Yes
> printable = yes
>
> [print$]
> comment = Printer Drivers
> path = /etc/samba/drivers
> ; browseable = yes
> ; guest ok = no
> writable = yes
> write list = @domadm, root, hubert,
> admin users = hubert
>
> [tmp$]
> comment = Smietnik
> ; browseable = yes
> writeable = yes
> invalid users = geo1$,geo21$, at geodeta, at ewidencja, at zud
> path = /home/samba/tmp
> force create mode = 0777
> valid users =
> @geo, at rastry, at praktykanci, at inspektor, at praktykanci_bez_zapisu, at skanery
> vfs object = full_audit
> full_audit:prefix = %u|%m|%I|%S
> full_audit:success = open pwrite write rename unlink rmdir mkdir
> full_audit:failure = read
> # nt acl support = yes
> # acl map full control = yes
> # admin users = @"GEODEZJA\Domain Admins"
>
>
> [geo$]
> comment = Mapa Numeryczna
> # level2oplocks = no
> ; locking = yes
> invalid users = @geodeta, at ewidencja,
> write list = @geo
> path = /home/samba/geo
> force group = geo
> force create mode = 0777
> vfs object = recycle full_audit
> recycle:repository = .recycle/%U
> recycle:touch = true
> recycle:keeptree = true
> recycle:versions = false
> recycle:exclude = *.TMP *.STP
> recycle:directory_mode = 773
> full_audit:prefix = %u|%m|%I|%S
> full_audit:success = read pwrite write rename unlink rmdir mkdir lock
> pread
> full_audit:failure = read write
>
>
>
>
> [rastry$]
> comment = Rastry
> public = yes !!!
> invalid users = @geodeta, at ewidencja,
> path = /home/samba/rastry
> write list = cheng, at rastry
> force create mode = 0777
> vfs object = full_audit recycle
> recycle:repository = .recycle/%U
> recycle:touch = true
> recycle:keeptree = true
> recycle:versions = false
> recycle:exclude = *.TMP
> recycle:directory_mode = 773
> full_audit:prefix = %u|%m|%I
> full_audit:failure = read
> full_audit:success = pwrite rename unlink rmdir mkdir
>
>
>
>
> [osrodek$]
>
> ## public = yes !!!
> invalid users = geo1$,geo21$, at geodeta, at ewidencja, at zud,
> path = /home/samba/geobid
> write list = @rastry,jankowski, at skanery
> read list = @praktykanci_bez_zapisu
> deny hosts = korytarz1, korytarz2, geo1, geo21,
> veto oplock files = /*.mdb/*.mdx/*.dbf/*.MDB/*.MDX/*.DBF/
> force create mode = 0777
> vfs object = recycle
> recycle:repository = .recycle/%U
> recycle:touch = true
> recycle:keeptree = true
> recycle:versions = false
> recycle:exclude = *.TMP
> recycle:directory_mode = 773
>
>
> [netlogon]
> browseable = no
> ; available = yes
> path = /home/samba/netlogon
> write list = hubert
>
>
>
> [profiles]
> browseable = no
> path = /home/samba/profile
> writable = yes
> create mask = 0777
>
>
>
> [wykonawcy$]
> create mode = 0777
> hosts deny = korytarz1, korytarz2, g1, g2, g3, g4
> ; browseable = yes
> writable = yes
> invalid users = @geodeta, at ewidencja, at zud,
> path = /home/samba/wykonawcy
> directory mask = 0777
>
> [skany]
> comment = Skany
> ; browseable = yes
> path = /mnt/skany/skany/
> write list = @skanery,jankowski
> force group = skanery
> valid users =
> @geo, at rastry, at skanery, at inspektor, at praktykanci, at praktykanci_bez_zapisu
> deny hosts = korytarz1, korytarz2
> invalid users = geo1,geo1$,geo21$, at geodeta, at ewidencja, at zud
> vfs objects = recycle full_audit
> recycle:repository = .recycle/%U
> recycle:touch = true
> recycle:keeptree = true
> recycle:versions = false
> recycle:exclude = *.TMP
> recycle:directory_mode = 773
> full_audit:success = write pwrite rename unlink rmdir mkdir connect
> read pread
> full_audit:prefix = %u|%m|%I|%S
> full_audit:failure = read write
> force create mode = 0775
> force directory mode = 0775
>
>
> Please Help
>
>
>
More information about the samba
mailing list