Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-12-2010, 07:46 AM   #1
LQ Newbie
Registered: Jan 2009
Posts: 11

Rep: Reputation: 0
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.
Old 10-13-2010, 02:32 AM   #2
Senior Member
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,145
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get the bytes per sector in linux using c++? jaepi Programming 1 05-16-2008 04:03 AM
TX bytes vs. httpd bytes ovrload Linux - Networking 3 10-12-2005 04:19 PM
How much swap will be fit? shadkong Slackware 7 06-17-2005 02:17 AM
which is fit for old laptop? wangcity Linux - Laptop and Netbook 2 01-14-2004 01:09 PM
How does it all fit together? JoeLinux Linux - General 6 01-30-2002 05:28 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:49 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration