On Sat, 2009-01-31 at 17:45 +0300, Samium Gromoff wrote:
> Package: xfsprogs
> Version: 2.10.2-1
> Severity: normal
> 
> 
> r...@auriga:~# dd if=/dev/zero of=betelheise.io.new bs=1048576 count=16384

What filesystem does ~root reside on?

> r...@auriga:~# mkfs.xfs betelheise.io.new 
...
> r...@auriga:~# mkfs.xfs -d file,name=betelheise.io.new,size=17179869184


The difference between these two invocations is the first one
uses direct I/O, the latter does not.  It seems like the FS
you are mkfs'ing on is failing to do direct I/O correctly.
You can see this by running the commands via:
  strace -e trace=open mkfs.xfs ...
and look for the open on your betelheise.io.new file each time.

Just testing these two commands here locally, on a local XFS 
filesystem, and both work as expected, so I'm interested to see
what the filesystem you're using there is.

cheers.

--
Nathan




-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to