Hot answers tagged

4

The MBR partition format is three decades old, and subject to weirdness for historical reasons. Back then, the computer needed to know the geometry of the hard disk. How is data organized on a hard disk? In three dimensions: cylinder, heads and sectors. (Diagram by LionKimbro) The geometry was stored with maximum values that were large enough for the ...


1

The default action of resize2fs is to grow the filesystem to occupy the whole partition, so you just need to run resize2fs /dev/sda4. Indeed, this is what I think most people do to shrink a filesystem: shrink the FS to some size that lies between the minimum size (defined by the volume of files already in the filesystem) and the desired size resize the ...



Only top voted, non community-wiki answers of a minimum length are eligible