+ Reply to Thread
Results 1 to 6 of 6

Thread: multiple machines mounting same filesystem on vmware

  Share/Bookmark
  1. #1

    Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation

    Join Date
    Jan 2006
    Posts
    4,454
    Thank Post
    143
    Thanked 366 Times in 286 Posts
    Rep Power
    84

    Default multiple machines mounting same filesystem on vmware

    I'm building a new webserver (RHEL5.4 on ESXi)
    the /var/www partition is going to be a separate partition on an FC SAN.

    in the future I would like a separate smb fileserver to also be able to read/write to the same filesystem at the same time as the webserver

    I know that I can do this with GFS, but I don't have very much experience of it so I am wondering if I can create a vmware filesystem and have another vmware server mount the same filesystem. Does vmware manage multiple read/writes at the lower level or does the native (RHEL) fs need to deal with that.

    please forgive me if this doesn't make sense.

  2. #2

    Reputation
    Reputation Reputation Reputation Reputation Reputation Reputation
    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    Lancashire
    Posts
    7,612
    Thank Post
    90
    Thanked 619 Times in 477 Posts
    Rep Power
    143

    Default

    You can't do that... you will get data corruption.

    What you need to do is export an NFS or SMB share from your webserver and write to that instead.

  3. Thanks to Ric_ from:

    CyberNerd (26-10-2009)

  4. #3

    Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation

    Join Date
    Jan 2006
    Posts
    4,454
    Thank Post
    143
    Thanked 366 Times in 286 Posts
    Rep Power
    84

    Default

    Thanks. That was (sort of) the answer I was looking for.

    I'll setup a GFS2 partition and do it that way. I know that redhat can use clustered filesystems, just wasn't sure about vmware.

    The ultimate goal is to somehow merge the shared staff area (mapped drive) into the moodle file repository - when v2 arrives. somehow.

  5. #4

    Reputation
    Reputation Reputation Reputation Reputation Reputation Reputation
    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    Lancashire
    Posts
    7,612
    Thank Post
    90
    Thanked 619 Times in 477 Posts
    Rep Power
    143

    Default

    Quote Originally Posted by CyberNerd View Post
    The ultimate goal is to somehow merge the shared staff area (mapped drive) into the moodle file repository - when v2 arrives. somehow.
    A simple, but effective, way of managing all that rubbish I suppose.

  6. #5

    Reputation Reputation Reputation Reputation Reputation Reputation
    apaton's Avatar
    Join Date
    Jun 2009
    Location
    Kings Norton
    Posts
    213
    Thank Post
    39
    Thanked 71 Times in 58 Posts
    Rep Power
    22

    Default

    Quote Originally Posted by CyberNerd View Post
    I'll setup a GFS2 partition and do it that way. I know that redhat can use clustered filesystems, just wasn't sure about vmware..
    I'm with Ric_ that I would use NFS.
    GFS2 seems over kill, but must admit I've never used GFS.

    Just read, redhat.com | Red Hat GFS vs. NFS: Improving performance and scalability which says good things about GFS. I know NFS, it is so simple to setup and will work. .

    Is GFS simple to set up and manage?

    Andy
    Last edited by apaton; 27-10-2009 at 06:36 PM. Reason: Grammar

  7. Thanks to apaton from:

    CyberNerd (27-10-2009)

  8. #6

    Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation

    Join Date
    Jan 2006
    Posts
    4,454
    Thank Post
    143
    Thanked 366 Times in 286 Posts
    Rep Power
    84

    Default

    I was reading up on GFS this morning, GFS itself looks simple enough - just partition the filesystem as an LVM volume and then mkfs.gfs2. same as any other filesystem (although quotas are a bit different). However, it looks to me that to get the full functionality and do what I want, I would need to setup a cluster and use RH Advanced server (more money) or revert to centos.
    As this is a distant project, I'll hedge my bets and setup a GFS partition - then I can either export it as an NFS or do the cluster thing at a later date.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. MP3 Player with FAT filesystem
    By rhyds in forum General Chat
    Replies: 8
    Last Post: 11-09-2008, 03:42 PM
  2. Remote desktop view of multiple machines
    By danIT in forum Windows
    Replies: 11
    Last Post: 11-01-2007, 11:31 AM
  3. Replies: 7
    Last Post: 19-05-2006, 11:53 AM
  4. Mounting Printers
    By ZeroHour in forum How do you do....it?
    Replies: 11
    Last Post: 18-01-2006, 09:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts