Good Afternoon all,
I need to create a separate partition for /var and /tmp on my fresh RHEL 8 install. When I run FDISK -l the output is as follows:
Disk /dev/sda: 120 GiB, 128849018880 bytes, 251658240 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 75084612-2288-4B31-94B2-4D077B14CAA7
Device Start End Sectors Size Type
/dev/sda1 2048 1230847 1228800 600M EFI System
/dev/sda2 1230848 3327999 2097152 1G Linux filesystem
/dev/sda3 3328000 251656191 248328192 118.4G Linux LVM
Disk /dev/mapper/rhel-root: 70 GiB, 75161927680 bytes, 146800640 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/mapper/rhel-swap: 3.9 GiB, 4173332480 bytes, 8151040 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/mapper/rhel-home: 44.5 GiB, 47806676992 bytes, 93372416 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
I was looking at the parted command but have never done this before so thought I would ask the pros. Looking for cleanest way to do this keeping in mind that I can't add another drive to this system but only use the one single HDD it has.
-Thanks for your time
I need to create a separate partition for /var and /tmp on my fresh RHEL 8 install. When I run FDISK -l the output is as follows:
Disk /dev/sda: 120 GiB, 128849018880 bytes, 251658240 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 75084612-2288-4B31-94B2-4D077B14CAA7
Device Start End Sectors Size Type
/dev/sda1 2048 1230847 1228800 600M EFI System
/dev/sda2 1230848 3327999 2097152 1G Linux filesystem
/dev/sda3 3328000 251656191 248328192 118.4G Linux LVM
Disk /dev/mapper/rhel-root: 70 GiB, 75161927680 bytes, 146800640 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/mapper/rhel-swap: 3.9 GiB, 4173332480 bytes, 8151040 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/mapper/rhel-home: 44.5 GiB, 47806676992 bytes, 93372416 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
I was looking at the parted command but have never done this before so thought I would ask the pros. Looking for cleanest way to do this keeping in mind that I can't add another drive to this system but only use the one single HDD it has.
-Thanks for your time