- CheckMates
- :
- Products
- :
- Quantum
- :
- Management
- :
- Creating more space on our Management server
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can use lvm_manager from maintenance mode per sk95566.
Backups/snapshots are recommended prior for safety.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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:
Cheers,
Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just to make sure, you did reboot?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Its sorted now, I used the /dev/sdb volume and its OK now, cheers
