pulibrary / pul-it-handbook

Princeton Univ. Library Apps best practices and recommendations
BSD 3-Clause "New" or "Revised" License
10 stars 1 forks source link

automatically increase disk size #310

Closed kayiwa closed 1 month ago

kayiwa commented 2 months ago

User story

As a developer I would love to increase the size of my disk from 14G to 30GB due to the thin provisioning

Acceptance criteria

Concrete example

Implementation notes, if any

Save the shell script on the PATH of the pulsys user

Beck-Davis commented 2 months ago

@kayiwa I saved the shell script here.

It behaved as expected on my sandbox and said there was nothing to do (since the sandbox is already at 30gb). Since you said the more portable the better, the script prompts the user for the LV & VG. The current steps specify that LV varies between VMs.