xfs
[Top] [All Lists]

Re: XFS filesystem claims to be mounted after a disconnect

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: XFS filesystem claims to be mounted after a disconnect
From: Martin Papik <mp6058@xxxxxxxxx>
Date: Fri, 06 Jun 2014 03:47:58 +0300
Cc: Linux fs XFS <xfs@xxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=zoRwDHuyK/V0OEYyvyG0ujdTq0V1/jJXL4HyaLIpNO4=; b=Dm9vsade+7NE+y17HLaO3MDerDDhsKblwmc1ravfXpKW3Dcln9VqQSx7GZ11C7Yr5C 3ZtOkyS/VEOPd7vfnJAY87EnY/NkxUY9/q3zEhYNaLA8aWb58y6ndQst0P7EkyIRVzwN RYtaFW/FjyHWV/+V1eoRAWBewAjtU1yDLzbGoHFlos1g4KR+SA2WRHs6JW9yqugEoEAc tMsTunNT0zTzDu+HmBi3+ALnJAaoP+fBC295a5jHfpycOQn59Z121zUb29pvAovcpL22 xsgONjpUwNcuFgC2POsVTwzymih4PTE/jbOnQMi1oC3fO3NVM+hylpIkFAnfKjeceQfv FShw==
In-reply-to: <20140605224140.GB4453@dastard>
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> <20140605224140.GB4453@dastard>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512


Thanks Dave

But wouldn't the same thing that prevents xfs_repair also prevent
dm-multipath from using the device? Or would you typically setup a
partitioning or volume scheme on top of dm-multipath?

Martin

> 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.
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCgAGBQJTkQ+yAAoJELsEaSRwbVYrJB4QAIyjUk7un+bth/5WnW/imwoh
CGlkS7kuU8Iu96VqwoojOZtY6RcUX5Yq+NoW7NDigFv0iEkaM2j0wg8JoNw6EFqX
uiJuCkBUI3/v8QkFU0GtA4/6NFsu9N709f8J0ilof20L0bNm2wh7SiXqrp28X3HS
8Y1G50PXbBnEM5yKbmXLpVTOhEw35NlaPKBYZ5gBFohPXDb4+J6+g0kJD5wZPSWK
lsHyW8tuuntGIZTtGZ4sHvak5THCXILClmFcPrdzzU110c601RTzJfeq9L7QXTMI
thrUH3KGvT2s4vTwqLLFHdBZNwEXi2X0PaiM7uO0/AYvaaoDfwnLh0lJmSSxRFZn
YYFa6Ko20l4nxFZoy6eRUh8vxvOat4VOlYowlyEcnPTE1nSeJfulun94ztjNXs2k
5VtWlFh12CXSVrynXBVnYKvFOAdecZcztqxjAjjTcjIrWHbZv0UXFtflG1V+zjgD
63SqxwShL2C/685gFXHh7mY0K2vAbnBK+IrRSTWMKVMZ16OuuIFA2WZebnskDfAf
vWWFv8mAEAUP/xYF7u4g4XVov2aQAVxjDosXxuqUbW8QHlTXNB/wc7akXgoD3fmZ
u0cB5Paw9JJeGt5eKYbtReL+Wt3STKtYGu2yNOZo/oiUr0uuoAkcjSfUGqrdu6HL
kQgRYDDjQt37JPVIyyNK
=55eH
-----END PGP SIGNATURE-----

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