Directio flags in dd command causes file corruption on ext4 filesystem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello All,

I am using linux 3.3.8 kernel on AP and trying to copy  5200  bytes
of data from AP to USB disk
( /dev/sda1 -contains ext4 ) using directio method .

For  example
  mount  /dev/sda1 /mnt/usb-ext4/

   dd if=inptu.data  of=/mnt/usb-ext4/output.data bs=4096
conv=notrunc oflag=append,direct

the input.data  file contains know pattern for example 0xaa55. and
after writing this file from AP to USB disk, randomly  i observed
that  the output.data  file was corrupted (instead of 0xaa55, zero is
written in the middle of the output file ) .

is there any patches already available to fix this issue ?

Thanks in advance for your help.

Regards
Ramesh
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux