[Top] [All Lists]

Re: XFS filesystem claims to be mounted after a disconnect

To: Martin Papik <mp6058@xxxxxxxxx>
Subject: Re: XFS filesystem claims to be mounted after a disconnect
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Fri, 6 Jun 2014 08:41:40 +1000
Cc: Linux fs XFS <xfs@xxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <5390C77E.4020003@xxxxxxxxx>
References: <20140503030221.GJ26353@dastard> <538C5E67.6090005@xxxxxxxxx> <20140602234135.GO6677@dastard> <538D9412.3040009@xxxxxxxxx> <CAAxjCEzz5n85zAH5HuUQkfxKvzZt5_+cPCj3uzZR7U69H+2tDw@xxxxxxxxxxxxxx> <538DA7FF.4080002@xxxxxxxxx> <20140603212834.GG14410@dastard> <538E4E1B.1020003@xxxxxxxxx> <20140605005538.GB4523@dastard> <5390C77E.4020003@xxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On Thu, Jun 05, 2014 at 10:39:42PM +0300, Martin Papik wrote:
> Hash: SHA512
> Dear Dave,
> Thanks for your patience, and I'd like to ask a few more questions if
> I may.
> You mentioned that XFS is primarily for server type environment and
> specifically mentioned multipath access to storage devices. I had a
> setup in the past, blade center with a shared SCSI array where
> everything was duplicated. The blades had two connections one to each
> of a pair of switches, the switches had duplicated connections to two
> controllers (4 connections) and the controllers had access to the SCSI
> drives (a dozen). So in this scenario each blade had two SCSI drives
> showing for each volume on the array. So.....
> Does XFS bind to both devices?

No. Use dm-multipath to make them appear as a single block device
made up as a pair of redundant paths in primary/secondary failover
or active/active load balancing configurations. dm-multipath handles
failover between the two block devices on path failure

        /    \
      sdc    sdd

The mounted filesystem doesn't even know there are multiple paths in
this configuration, however the XFS UUID trapping behaviour avoids
this problem by preventing you from doing XFS operations directly on
/dev/sdc or /dev/sdd while the filesystem is mount on



Dave Chinner

<Prev in Thread] Current Thread [Next in Thread>