dd if=/dev/zero of=/var/images/abc.img bs=1M count=0 seek=2097152
dd: truncating at 2199023255552 bytes in output file `/var/images/abc.img': File too large
The dd commad fails here saying its truncating if I try same command with less value for seek it works
dd if=/dev/zero of=/var/images/abc.img bs=1M count=0 seek=2088960
0+0 records in
0+0 records out
0 bytes (0 B) copied, 2.1e-05 seconds, 0.0 kB/s
Whats the reason behind this and how can this be solved ?
Note that there is 3.9T available on disk for the above commands to execute.
Well ... you're limiting it to a size 0 (0 * 1M), and skipping 2M on
that would be impossible, eh?
I admit the error message is misleading, though.