M
M
metaltuman2017-10-05 09:04:03
Debian
metaltuman, 2017-10-05 09:04:03

How to safely enlarge a partition on Debian?

At the moment there is a working billing server.
The monitoring system began to remind me in the morning that the percentage of space on sda10 is quite small.
Not so long ago, the disk was cloned with clonezilla 1:1, but the source was 160 GB, and the target was 1 TB.
As far as I understand clonezilla partitioned 160 GB, the rest was left empty.
The picture looks like this:

df -h
System plików         rozm. użyte dost. %uż. zamont. na
/dev/sda5              37G  2,9G   32G   9% /
tmpfs                 489M     0  489M   0% /lib/init/rw
udev                   10M  708K  9,4M   7% /dev
tmpfs                 489M     0  489M   0% /dev/shm
/dev/sda2             942M   45M  850M   5% /boot
/dev/sda10             55G   42G   11G  81% /home</b>
/dev/sda8             9,2G  1,5G  7,3G  17% /root
/dev/sda6             4,6G  138M  4,3G   4% /tmp
/dev/sda7              37G   24G   11G  69% /var

fdisk -l

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xce51ee85

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1             123       19457   155308387+   f  W95 Ext'd (LBA)
/dev/sda2   *           1         122      979933+  83  Linux
/dev/sda5             123        4985    39062016   83  Linux
/dev/sda6            4986        5593     4883728+  83  Linux
/dev/sda7            5594       10456    39062016   83  Linux
/dev/sda8           10457       11672     9767488+  83  Linux
/dev/sda9           11673       12280     4883728+  82  Linux swap / Solaris
/dev/sda10          12281       19457    57649221   83  Linux

Please tell me how to increase the sda10 split and is it possible to increase the partition size in proportion to the size of the destination disk with such a disk cloning through clonezilla?
Thanks to.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
AVKor, 2017-10-05
@AVKor

Gparted. The partition must be unmounted.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question