LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-07-2009, 03:46 PM   #1
Linville79
Member
 
Registered: Nov 2006
Location: Indiana, U.S.A.
Distribution: Red Hat Enterprise Linux, Fedora, CentOS
Posts: 134

Rep: Reputation: 16
Symlink vs. Mountpoint Performance ?


I'm setting up a server cluster using RHEL5. It's a two-node cluster for servering web content. I'll be pointing by Apache configuration to a shared /web directory that is served via NFS by a Network Appliance NAS device.

I'm interested in the performance considerations in choosing to create a separate /web mountpoint in my server's local filesystem using /etc/fstab vs. creating a /netapp mountpoint and then creating a /web symlink that would point to /netapp/web.

Keep in mind that both cluster nodes will need to have access to the content within /web for redundancy during a cluster node failover.

Does anyone out there have any advice for me on this?

Thanks!
 
Old 12-07-2009, 04:06 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
symlinks will not give anything notable in terms of a performance hit, but you've not said why you would want to do this... seems totally arbitrary to me. I don't understand the reasons for this apparent separation. Maybe you want to look at a bind mount for multiple mount points rather than a symlink??
 
Old 12-08-2009, 08:43 AM   #3
Linville79
Member
 
Registered: Nov 2006
Location: Indiana, U.S.A.
Distribution: Red Hat Enterprise Linux, Fedora, CentOS
Posts: 134

Original Poster
Rep: Reputation: 16
A bind mount point won't really get me what I need. I have to have a /web directory due to the custom application that was created to run on this cluster (the app code isn't mine) but there will still be other shares from the NetApp NAS device also... such as /home which will point to /netapp/home via either symlink or mount point.

I'm migrating from an old non-clustered configuration that I didn't set up to a new cluster which I am setting up, and I've been told that the choice of mount point vs. symlink was due to some filesystem backup considerations at the time. Those are going away too.

There will be a considerable amount of disk I/O to the /web directory, which is what raised the question of any known performance benefit of symlink vs. mount point.

This is my first experience with this sort of configuration, so it's not inconceivable that I've gotten myself completely confused over this detail either.

Thanks!
 
  


Reply



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
mountpoint permissions Meson Linux - General 7 09-22-2008 10:07 AM
changing mountpoint in vfstab linuxsun Solaris / OpenSolaris 13 03-29-2007 08:22 AM
Mountpoint cthomas Linux - Networking 1 02-23-2006 02:28 PM
Partition vs Mountpoint Dahak Linux - Newbie 7 01-11-2005 12:06 AM
permissions problems on mountpoint Little devil Linux - General 2 06-24-2003 01:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:55 AM.

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