XFS filesystem claims to be mounted after a disconnect

Dave Chinner david at fromorbit.com
Thu Jun 5 17:41:40 CDT 2014


On Thu, Jun 05, 2014 at 10:39:42PM +0300, Martin Papik wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> 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
transparently.

	  XFS
	   |
	dm-mp-0
	/    \
      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
/dev/dm-mp-0....

Cheers.

Dave.

-- 
Dave Chinner
david at fromorbit.com



More information about the xfs mailing list