LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   More bytes required to fit sector (https://www.linuxquestions.org/questions/linux-newbie-8/more-bytes-required-to-fit-sector-837579/)

amol28kulkarni 10-12-2010 07:46 AM

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.

prayag_pjs 10-13-2010 02:32 AM

window file system default size on disk is one sector i.e. 512 and for extN/linux file system default size on disk is 4k i.e. 8 sectors


All times are GMT -5. The time now is 06:30 PM.