Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
KostasGR
Advisor

How to assign unallocated space 3022 to /var/log partition?

Hello Community

How to assign unallocated space 3022 Gb to /var/log partition?

[Expert@XYZ:0]# df -h
Filesystem                                                                                Size Used Avail Use% Mounted on
/dev/mapper/vg_splat-lv_current                                         100G 11G 90G 11% /
/dev/sda1                                                                                   291M 27M 249M 10% /boot
tmpfs                                                                                          32G 2.1M 32G 1% /dev/shm
/dev/mapper/vg_splat-lv_log                                                 800G 663G 137G 83% /var/log
cgroup                                                                                        32G 0 32G 0% /sys/fs/cgroup
[Expert@XYZ:0]# fdisk -l
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.

Disk /dev/sda: 4398.0 GB, 4398046511104 bytes, 8589934592 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: gpt
Disk identifier: <reducted>


# Start End Size Type Name
1 34 614433 300M EFI System
2 614434 132861514 63.1G Linux swap
3 132861515 8589934558 4T Linux LVM
[Expert@XYZ:0]# lvm_manager
Select action:

1) View LVM storage overview
2) Resize lv_current/lv_log Logical Volume
3) Quit
Select action: 1
LVM overview
============
Size(GB)                                                       Used(GB) Configurable Description
lv_current                                                     100 11 yes Check Point OS and products
lv_log                                                             800 664 yes Logs volume
upgrade reserved                                        110 N/A no Reserved space for version upgrade
swap                                                              64 N/A no Swap memory volume
unallocated space                                       3022 N/A no Unused space
------- ----
total 4096 N/A no Total size

press ENTER to continue.

 

BR,

Kostas

0 Kudos
3 Replies
PhoneBoy
Admin
Admin

It would be option 2 from that screen.

0 Kudos
KostasGR
Advisor

Hello @PhoneBoy 

Correct!Just wanted a confirmation because i hadn't observed in the past that field (unallocated space)

Thank you

Kostas

0 Kudos
G_W_Albrecht
Legend Legend
Legend

You have to have unused space to see this field - usually, you do use all space in  partitioning 😎

CCSP - CCSE / CCTE / CTPS / CCME / CCSM Elite / SMB Specialist
0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events