Weird behaviour of mkfs.xfs

Emmanuel Florac eflorac at intellique.com
Mon Mar 28 10:18:16 CDT 2016


Le Sat, 26 Mar 2016 09:36:42 -0700
Christoph Hellwig <hch at infradead.org> écrivait:

> On Sat, Mar 26, 2016 at 03:46:19PM +0100, Emmanuel Florac wrote:
> > Actually I was too impatient; it finally ended avec 30 minutes of
> > burning bits to the flash. I don't understand the behaviour, though.
> > I'm used to mkfs.xfs making its magic extremely quickly, even on
> > humongous devices. Here it's a very fast array of only 3.2 TB...  
> 
> Trey doing a mkfs.xfs -K, without that it diascards the whole device.
> I've seen some NVMe device misbehaving under discard storms, up to
> the point of resetting the controller..

Ah, the discard is a nice touch, good to know :) It doesn't seem to be
mentioned in the man  page (except for the -K option), it would be a
good information to know.

-- 
------------------------------------------------------------------------
Emmanuel Florac     |   Direction technique
                    |   Intellique
                    |	<eflorac at intellique.com>
                    |   +33 1 78 94 84 02
------------------------------------------------------------------------



More information about the xfs mailing list