3

I wanted some advice on a file system to use on across 5-10 servers that have a shared block device (iSCSI), GlusterFS and LusterFS seem to be it, but they dont say anything about shared block device support

We are currently using Debian 6 for our projects as well

1
  • And any guides you might be able to provide on setup of the suggested file systems, they tend to be lacking in a lot of places
    – user554005
    Apr 19, 2012 at 0:10

1 Answer 1

5

The key thing for shared-block devices is SCSI-3 Reservation support. Many iSCSI stacks support it, and so does Fibre Channel over Ethernet (FCoE). This is what allows the cluster manager to reserve volumes for specific nodes and keep other nodes out and thus avoid file-system corruption. Without SCSI-3 PR, you can cause corruption by accidentally mounting a volume mounted elsewhere; you don't want that unless the filesystem specifically supports it (like OCFS2, GFS).

All of my shared-block support time has been spent on RPM-based distributions (specifically SLES and CentOS). You need to get the clustering layer up first, which can be a pure network setup. Once you have that, you can leverage Cluster LVM (clvm) to create the shared storage infrastructure between your nodes. At that point, you can use any normal filesystem you want on those volumes since the cluster manager will manage when they move around.

If you're looking for true multi-mount support, you're going to have to use a filesystem that supports it. That would be or as I recall. They don't perform nearly as well as regular filesystems since they have to implement file-locks at the filesystem level, but they're right handy when you're trying to set up something like a Xen cluster.

2
  • where can I find a cookbook/HowTo, to setup clvm on Debian 6? Google is not returning much for me
    – user554005
    Apr 19, 2012 at 0:23
  • @user554005 No I don't. As I said, all of my experience with this is with the non-deb platforms. All the packages are there and work, and it's just a matter of stringing them together right. I simply don't know what the state of this is on the debian side.
    – sysadmin1138
    Apr 19, 2012 at 1:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .