Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 01-31-2008, 09:25 AM   #1
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES / FC/ OES / CentOS
Posts: 611

Rep: Reputation: 32
tmpfs for samba share


I would like to install a fast share.

As we allready use tmpfs for temporary files ( like ClamAV ) I tought about installing a share ( samba ) on a tmpfs.

So when the server starts the files would be copied for a directory on the normal disk to a tmpfs directory ( where there only be read never changed ).

Did anybody ever tought of such a installation, test it or have any hinds what could go wrong ?
Old 01-31-2008, 12:06 PM   #2
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Unless you have a lot of disk activity in the background, I don't know how much that is really going to increase your performance. Your network throughput is going to be the bottleneck here, not the read speed of the drive.

Unless you have gigabit Ethernet in place, but even then, there are inherent speed limitations in the SMB/CIFS protocol that will fall short of the drive's speed.

That said, there is no reason you couldn't do it. Write up a little script to copy the files into tmpfs at boot, and have clients mount it read-only.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
can't mount samba share and then write to the share calbazon Linux - Software 8 10-10-2010 01:35 AM
show the samba share but can't mount the share badall Linux - Server 3 05-30-2007 04:24 AM
searching samba share breaks connection to share Elomis Linux - Server 1 05-11-2007 12:28 AM
samba: linux mounted share = choppy playback, windows mounted share = smooth kleptophobiac Linux - Software 2 04-10-2005 08:23 AM
Simple Samba Setup, Share & Not Share timmywo Linux - Software 4 07-30-2004 07:27 AM

All times are GMT -5. The time now is 09:06 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration