VMware Cloud Community
TomKalabis
Enthusiast
Enthusiast

reduce disk size of VCSA

Hi,

i have upgraded vcsa 6.7 from 6.5u1 and my vdmk8 have abou 514 GB, but only 1 % is used, now my vcenter size is about 800 GB:

root@vcenter [ ~ ]# df -h

Filesystem                                Size  Used Avail Use% Mounted on

devtmpfs                                  4.9G     0  4.9G   0% /dev

tmpfs                                     4.9G  800K  4.9G   1% /dev/shm

tmpfs                                     4.9G  696K  4.9G   1% /run

tmpfs                                     4.9G     0  4.9G   0% /sys/fs/cgroup

/dev/sda3                                  11G  5.7G  4.4G  57% /

tmpfs                                     4.9G  1.4M  4.9G   1% /tmp

/dev/sda1                                 120M   31M   81M  28% /boot

/dev/mapper/core_vg-core                   25G   44M   24G   1% /storage/core

/dev/mapper/log_vg-log                    9.8G  1.3G  8.0G  14% /storage/log

/dev/mapper/db_vg-db                      9.8G  260M  9.0G   3% /storage/db

/dev/mapper/dblog_vg-dblog                 15G  534M   14G   4% /storage/dblog

/dev/mapper/seat_vg-seat                  542G  660M  514G   1% /storage/seat

/dev/mapper/netdump_vg-netdump            985M  1.3M  916M   1% /storage/netdump

/dev/mapper/autodeploy_vg-autodeploy      9.8G   33M  9.2G   1% /storage/autodeploy

/dev/mapper/imagebuilder_vg-imagebuilder  9.8G   23M  9.2G   1% /storage/imagebuilder

/dev/mapper/updatemgr_vg-updatemgr         99G  1.8G   92G   2% /storage/updatemgr

/dev/mapper/archive_vg-archive             50G  5.1G   42G  11% /storage/archive

is there any way to reduce /dev/mapper/seat_vg-seat  (disk8) size?

STORAGE USAGE

829.71 GB

Tags (1)
0 Kudos
5 Replies
daphnissov
Immortal
Immortal

You'd have to go through the (moderately painful) process of adding a new disk, moving data, changing the mount point, and removing the old disk from the vCSA. There's no supported way to do it otherwise, AFAIK.

0 Kudos
GayathriS
Expert
Expert

Hi

as daphnissov​ said there is documented way to achieve this however I was reaserching on same and found this one which is related from VCSA 6.5

I see that storage/seat is used for purpose :  Stats, Events, Alarms and Tasks (SEAT) directory for VMware Postgres

pastedImage_1.png

I dont see specific blog or article to resize this particular partition but found a blog which talks about a different partition one among them , you cna check this :

https://www.virtuallyghetto.com/2016/11/updates-to-vmdk-partitions-disk-resizing-in-vcsa-6-5.html

NOTE: Make sure to take back up before you perform anything in worse scenario.

Please consider marking this answer as correct and helpful if this helps you.

regards

Gayathri

0 Kudos
a_p_
Leadership
Leadership

Did you use "Thick Provisioning" while deploying (upgrading) the vCSA?

Instead of modifying the guest OS disk size/partition size, it may be an option to use Storage vMotion to convert the disks to "Thin Porovisioned".


André

0 Kudos
TomKalabis
Enthusiast
Enthusiast

yes André,

i use "thick provisioning" while i upgrading vcsa.

ok, i will try it.

0 Kudos
Vijay2027
Expert
Expert

I worked with customer one of my customer recently and was able shrink the disk.

Here are the steps:

You will need to stop all services before you follow the process:

  • Copy the existing data from /storage/seat to /storage/core (or any volume) where we have 50 GB free space.
  • Deploy a new vCSA of the same build and expand /storage/seat to 100 GB.
  • Unmount /storage/seat from existing vCSA and mount /storage/seat from new vCSA to the existing one.
  • Post this you will have to copy the data from /storage/core to /storage/seat and start services.

Alternatively you can try using VMware converter. I have not tried this though.

0 Kudos