resize_ext3_filesystem

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
resize_ext3_filesystem [21.02.2014 14:15] Pascal Suterresize_ext3_filesystem [21.02.2014 14:16] (current) Pascal Suter
Line 11: Line 11:
 </code> </code>
 use parted or fdisk to delete the partition and create a new one in the desired increased size starting at the same place (DO NOT create a new filesystem!!) use parted or fdisk to delete the partition and create a new one in the desired increased size starting at the same place (DO NOT create a new filesystem!!)
-<code> +  parted /dev/sda 
-parted /dev/sda +  print (shows the current beginig and ending of partition) 
->print (shows the current beginig and ending of partition) +  rm 1 
->rm 1 +  mkpart primary START END (end can be -1s to be at the last possible sector of the disk)  
->mkpart primary START END (end can be -1s to be at the last possible sector of the disk)  +  quit
->quit+
   resize2fs /dev/sda1   resize2fs /dev/sda1
   tune2fs -j /dev/sda1   tune2fs -j /dev/sda1
  • resize_ext3_filesystem.1392988514.txt.gz
  • Last modified: 21.02.2014 14:15
  • by Pascal Suter