VIDM upgrade to 3.3.7

It turns out there are some issues with the update.

You need to have at least 10GB of space in / (/dev/sda4). If you have a fresh install or a test one, this should be fine. However, LCM doesn’t check this correctly, and you will get an LCMUPGRADEVIDM71205 error.

What needs to be done: extend sda4

Follow these steps:

  1. make a backup (not a snapshot) of your vIDM.

  2. make sure you can SSH into the vIDM VM. You use sshuser and then sudo su - into root

  3. Delete all snapshots (else you won’t be able to extend the disk)

  4. Go into vCenter and extend the first disk (60GB) to 70GB

  5. ssh into vIDM

  6. sudo su - into root

  7. run the command echo 1 > /sys/class/block/sda/device/rescan

  8. fdisk -l /dev/sda should now show the new size

  9. run cfdisk /dev/sda

  10. select with [up]/[down] the sda4 partition

  11. select with [right]/[left] resize

  12. enter the new size 22G

  13. select with [right]/[left] write and answer yes

  14. select with [right]/[left] quite

  15. now run resize2fs /dev/sda4 to expand the partitions file system

  16. use df -h to check free space

That should do the trick.

Previous
Previous

Automated Model Train

Next
Next

Using Bluetooth and an 74HC595 to control Märklin Switch Points