Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
carl_t
Contributor

Creating more space on our Management server

Hi All

We have a management server that is for management and logs. I would like to create more space for logs, the server is on vmware.

If i run the command parted -l I get the below

Model: VMware Virtual disk (scsi)
Disk /dev/sda: 644GB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:

Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/vg_splat-lv_SNAP29032022: 23.8GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:

Number Start End Size File system Flags
1 0.00B 23.8GB 23.8GB xfs


Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/vg_splat-lv_current: 34.4GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:

Number Start End Size File system Flags
1 0.00B 34.4GB 34.4GB xfs


Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/vg_splat-lv_log: 376GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:

Number Start End Size File system Flags
1 0.00B 376GB 376GB xfs

!

df -h

Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_splat-lv_current 32G 17G 16G 52% /
/dev/sda1 291M 43M 233M 16% /boot
tmpfs 7.8G 28M 7.7G 1% /dev/shm
/dev/mapper/vg_splat-lv_log 350G 341G 9.1G 98% /var/log
cgroup 7.8G 0 7.8G 0% /sys/fs/cgroup

 

My server engineers have provisioned me 1TB now, how do I expand this?

Cheers

 

 

0 Kudos
6 Replies
PhoneBoy
Admin
Admin

0 Kudos
Chris_Atkinson
Employee Employee
Employee

You can use lvm_manager from maintenance mode per sk95566. 

Backups/snapshots are recommended prior for safety.

CCSM R77/R80/ELITE
0 Kudos
the_rock
Legend
Legend

Guys are right, yes, you can use lvm_manager...BUT, be vigilant about it. Reason I say that is because I saw customers use it before and though it does resizing the way you want it, upon reboot, there were times when box did not come up properly and then when it was physically power cycled, it had database issues. 

Here is what I do personally...say if you wish to free space in certain directory, lets say /var/log and delete any files bigger than say 200 MB, you can run below:

find /var/log -size +200000000c

You can apply same logic for different size or directory, just be careful not to inadvertently delete any relevant jumbo hotfix files.

You can also refer to below sk, its very helpful:

https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solut...

Cheers,

Andy

0 Kudos
carl_t
Contributor

Hi Guys

I am struggling with SK94671, When we add the disk, when I do an fdisk -l its not showing up.

I can see the below, anything I am missing?

cheers

 

[Expert@CPMGNT]# fdisk -l

Disk /dev/sda: 859.0 GB, 858993459200 bytes, 1677721600 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: dos
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sda1 1 1048575999 524287999+ ee GPT

Disk /dev/sdb: 536.9 GB, 536870912000 bytes, 1048576000 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

 

0 Kudos
the_rock
Legend
Legend

Just to make sure, you did reboot?

0 Kudos
carl_t
Contributor

Its sorted now, I used the /dev/sdb volume and its OK now, cheers

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events