Re: [Ocfs2-devel] FIEMAP problem

2013-08-08 Thread Sunil Mushran
So it's a test issue. The utility assumes the fs allocates in 4K units. That's why it only works when clustersize is 4K. On Thu, Aug 8, 2013 at 8:09 AM, David Weber wrote: > Am Donnerstag, 8. August 2013, 07:30:27 schrieb Sunil Mushran: > > Interesting. Please can you print the inode disk using

Re: [Ocfs2-devel] FIEMAP problem

2013-08-08 Thread David Weber
Am Donnerstag, 8. August 2013, 07:30:27 schrieb Sunil Mushran: > Interesting. Please can you print the inode disk using the command below. > The file path is minus the mounted dir. > > debugfs.ocfs2 -R "stat /relative/path/to/file" /dev/DEVICE > > It is saying that the fs has allocated a block wh

Re: [Ocfs2-devel] FIEMAP problem

2013-08-08 Thread Sunil Mushran
Interesting. Please can you print the inode disk using the command below. The file path is minus the mounted dir. debugfs.ocfs2 -R "stat /relative/path/to/file" /dev/DEVICE It is saying that the fs has allocated a block when it did not need to. It could be that the test utility does not handle

Re: [Ocfs2-devel] FIEMAP problem

2013-08-08 Thread David Weber
Am Mittwoch, 7. August 2013, 22:07:19 schrieb Jeff Liu: > On 08/07/2013 05:17 PM, David Weber wrote: > > Hi, > > > > We are trying to use OCFS2 as VM storage. After running into problems with > > qemu's disk_mirror feature we now think there could be a problem with the > > FIEMAP ioctl in OCFS2. >