Answer the question
In order to leave comments, you need to log in
Is it possible in CentOS to extend the "/" partition at the expense of the "/home" partition?
Is it possible to increase the "/" partition at the expense of the "/home" partition?
This is a dedicated server at hetzner. When installing the OS, the disk was automatically partitioned (to be honest, I don’t even know how to manually set the layout there) in the ratio:
/ - 1TB (/dev/md2)
/home 1.7 TB (/dev/md3)
/swap 8GB (/dev/md0)
/boot 536 MB (/dev/md1) Raid
disk 1.
fdisk -l output
[[email protected] ~]# fdisk -l
Disk /dev/sdb: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x0008836b
Device Boot Start End Blocks Id System
/dev/sdb1 1 1045 8388608+ fd Linux raid autodetect
/dev/sdb2 1045 1110 524288+ fd Linux raid autodetect
/dev/sdb3 1110 134785 1073741824+ fd Linux raid autodetect
/dev/sdb4 134785 364802 1847607768 f W95 Ext'd (LBA)
/dev/sdb5 134785 364802 1847605720+ fd Linux raid autodetect
Disk /dev/sda: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000797d4
Device Boot Start End Blocks Id System
/dev/sda1 1 1045 8388608+ fd Linux raid autodetect
/dev/sda2 1045 1110 524288+ fd Linux raid autodetect
/dev/sda3 1110 134785 1073741824+ fd Linux raid autodetect
/dev/sda4 134785 364802 1847607768 f W95 Ext'd (LBA)
/dev/sda5 134785 364802 1847605720+ fd Linux raid autodetect
Disk /dev/md3: 1891.9 GB, 1891948101632 bytes
2 heads, 4 sectors/track, 461901392 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Disk /dev/md2: 1099.5 GB, 1099511431168 bytes
2 heads, 4 sectors/track, 268435408 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Disk /dev/md0: 8589 MB, 8589869056 bytes
2 heads, 4 sectors/track, 2097136 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Disk /dev/md1: 536 MB, 536805376 bytes
2 heads, 4 sectors/track, 131056 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question