xfs
[Top] [All Lists]

upgrade scenario for samba server

To: <linux-xfs@xxxxxxxxxxx>
Subject: upgrade scenario for samba server
From: "Spyros Ioakim" <sioakim@xxxxxxxxxxxxx>
Date: Sat, 22 Feb 2003 20:02:18 +0200
Sender: linux-xfs-bounce@xxxxxxxxxxx
Dear all,
Recently I was asked to perform some Windows NT related file permissions on
our samba file server. What was asked was for people to have access to give
NTFS style permissions to specific files. e.g. The user who owned a file had
to be able to give permissions to just another user. I found out that I
couldn't do this and started looking around on the net and found out that
this wasn't a samba limitation but a filesystem one. The solutions were two.
Install kernel patches for acl support on my ext3 filesystem or "upgrade" it
to xfs.
I like the xfs solution better cause it seemed more stable and I'm also a
big SGI fan... I need your comments on my solution to upgrade my file server
to xfs. I understand that there isn't a tool to switch an ext3 fs to xfs
(like ext2->ext3)

I have the following scenerio and I need your comments on the following:
My system right now has a RAID-5 controller (HP Netraid) that works with the
megaraid driver. The system is running Redhat 7.2. I have set up my system
like this:
/dev/sda3 is / (133GB)
/dev/sda1 is /boot (38MB)
My files are on /samba (samba shares) and /home (user's home directories for
windows)
I go to / and do
tar cvzfp homebackup.tar.gz home/*
tar cvzfp sambabackup.tar.gz samba/*
I also do:
tar cvzfp etcbackup.tar.gz etc/*
to get the configuration files, passwords etc....
I copy the tar.gzs to another disk which has free disk space to accomodate
the above.

I reboot the machine and install RH 8.0 using the xfs boot cd.I want your
comments on the size of the partitions here.
Right now I had everything under / cause I wanted a dynamic use of /home and
/samba.
130GB to share between the two and redhat's files is much better for me than
having:
/home 50 GB
/samba 50 GB
/ 30 GB
Since the filesystem is journalized I don't have problems with fsck in case
of power failure (very rare since the system is on a UPS)
Even if I need to run fsck it takes about 15 minutes which is a good time
(for me) so I don't see why i would break it down...

So I'm thinking of having /boot 40MB ext3 and / 130 GB xfs.
The bootloader will go to the MBR so there shouldn't be any problems booting
(so I read....)

After the system boots up with xfs I untar everything to /home and /samba.
I also take the necessary files from /etc (I don't restore this don't worry)
for the samba configuration, smbpasswd, passwd, shadow and whatever else I
might need.

Any comments/ideas would be appreciated...
First of all will I get NT style permissions with samba or I'm just going to
get a system with XFS and no gain :-?
Is there anything special required for samba to use those acls?

Thanks for reading the whole lot and waiting for comments :-)

Spyros


<Prev in Thread] Current Thread [Next in Thread>