How to increase NSM storage in a distributed environment? #12270
-
I have a distributed environment that is in vCenter VMs. I increased the storage size of the drive and then partitioned it to sda3 with the remaining free space using 'cfdisk' command. However, is this not all that I have to do? The status does not seem to update to the new amount for nsm. Am I doing this right? |
Beta Was this translation helpful? Give feedback.
Answered by
petiepooo
Jan 31, 2024
Replies: 1 comment 5 replies
-
How about |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are layers. You always need to work from the lowest layer upwards...
If you have increased the size of the device presented to the VM, it should show up in your VM at the device level. Try the command
sudo blockdev --getsize64 /dev/sda
to see the raw byte count. If it hasn't increased yet, try rescanning the SCSI bus using the commandecho 1 | sudo tee /sys/class/block/sda/device/rescan
.If the new space is not yet used in a partition as shown in
sudo parted /dev/sda print
, increase the size of the last partition (in your case partition 3) with the commandsudo growpart /dev/sda 3
.If
sudo pvs
still shows PV /dev/sda3 as your old size, you need to increase it withsudo pvresize /dev…