More bytes required to fit sector
I have an image which is 38434551744 bytes in size when i tried copying data into it from another image which had 7506937 sectors the copying failed saying no space left on device So i increased the file size to 3843552256 bytes and i was able to copy over the data now my question is why did it require that extra sector of 512 bytes since 7506937*512=38434551744 which should have fit in those sectors. Is it because of the MBR the first 512 bytes or I am doing something wrong.
So even if i create a file of size 38434551744 bytes I cant have 7506937 sectors? Also to mention is i am using fdisk for partitioning.
Last edited by amol28kulkarni; 10-12-2010 at 08:01 AM.
|