Koozali.org: home of the SME Server

Global Filesystem ?

Offline dmajwool

  • *****
  • 180
  • +0/-0
Global Filesystem ?
« on: August 17, 2005, 03:11:26 PM »
Hi.
My SME 2TB RAID is nearly full and I need more storage.

I could build another server and leave it stand-alone, but I wonder is it possible to mount the storage of the new server in the file system of the old server.

This would allow the client machines to see the new storage as a new directory rather than a new drive letter.  This would greatly simplify things for me.

Any tips?
Thanks,  David.

Offline dmac

  • ****
  • 143
  • +0/-0
    • http://www.rylar.ca
Global Filesystem ?
« Reply #1 on: August 17, 2005, 08:39:43 PM »
Set up your new server as a NFS server and your Old Server as a NFS client.

http://nfs.sourceforge.net/nfs-howto/

HTH
Darin
"In a world without Fences, why do we need Gates and Windows"

Offline dmajwool

  • *****
  • 180
  • +0/-0
Global Filesystem ?
« Reply #2 on: August 18, 2005, 01:21:01 PM »
Thanks Darin. Very helpful. Lots of reading in there !

Do you know if SME 6.01 has the NFS server packages installed  by default, or must I find some suitable rpms?

Compared with accessing served files at a workstation directly from the server via samba, what amount of performance hit can I expect when accessing the NFS-served files via the NFS-client machine?

Thanks, David

Offline dmac

  • ****
  • 143
  • +0/-0
    • http://www.rylar.ca
Global Filesystem ?
« Reply #3 on: August 18, 2005, 08:50:41 PM »
David,

Quote
Do you know if SME 6.01 has the NFS server packages installed by default, or must I find some suitable rpms?

I believe that it is installed, since it uses the fstab and other applications to work.  From a command prompt type man nfs and you should get some manual pages about nfs.  If you type rpcinfo -p and get a return, then nfs is running.  (See section  3.4 of the how to, http://nfs.sourceforge.net/nfs-howto/server.html#VERIFY)
The how to is the best place to start, it has a very good write up on how to set up the server and client.  The only thing to be aware of is the templating system that SME uses.  Don't directly modify the files, but follow the paths as indicated in the files.  If you directly modify the base files, when SME reboots you will loose your changes.

Quote
Compared with accessing served files at a workstation directly from the server via samba, what amount of performance hit can I expect when accessing the NFS-served files via the NFS-client machine?

I have found from experience, but don't have any hard evidence to back this up, but between linux and unix systems using NFS is faster that using the samba route.  Keep in mind that NFS is an extension of the existing file system, and samba sits on top as another module.  I have also found that samba is a little more difficult to setup.

By default on a SME server, the /home/e-smith/files/ibays folder is shared to the local network (type more /etc/exports to view what is shared).  So the most you will need to do on the client side would be to connect to this existing share.

THT

Darin
"In a world without Fences, why do we need Gates and Windows"

martinhick

Global Filesystem ?
« Reply #4 on: August 19, 2005, 07:32:30 AM »
I have a NFS folder for my mp3's on a redhat server. The folder is mapped to SMB and I can view it from my Linux clients and my Windows ons.

Martin

Offline dmajwool

  • *****
  • 180
  • +0/-0
Global Filesystem ?
« Reply #5 on: August 19, 2005, 09:39:47 AM »
Quote
I have a NFS folder for my mp3's on a redhat server. The folder is mapped to SMB and I can view it from my Linux clients and my Windows ons.


Thanks, Martin.  I'm assuming a typo "SMB" should be "SME"
Do you feel that the speed of access and throughput of your .mp3 files at the workstation is Faster/Same/Slower when calling them directly from RedHat or via SME.
Thanks, David.