Commit Graph

12 Commits

Author SHA1 Message Date
DaneEveritt
b00d328107
attempt to update vhd on-the-fly
This is not currently working correctly — when setting the limit to 0 all existing files are destroyed. When setting it back to a non-zero value the old files are returned from the allocated disk.

This at least starts getting the code pathways in place to handle it and introduces some additional lock safety on the VHD management code.
2022-10-29 14:06:29 -07:00
DaneEveritt
ff4b7655c8
update config to support more vhd features down the road 2022-10-29 12:40:49 -07:00
DaneEveritt
99cb61a6ef
Set permissions on the created image path 2022-10-16 14:13:45 -07:00
DaneEveritt
0407f22147
Fallback to using dd if fallocate isn't available 2022-10-16 14:01:52 -07:00
DaneEveritt
a74ea6a9ff
Slight cleanup after rebase 2022-10-16 13:34:24 -07:00
Dane Everitt
37c52dd439
Shore up the logic for migrations to allow multiple passes if needed 2022-10-16 13:23:42 -07:00
Dane Everitt
f8a25cb040
Correct internal behavior to allow running when already mounted 2022-10-16 13:23:42 -07:00
Dane Everitt
d8a7bf2dde
Correctly handle migrations to a VHD setup 2022-10-16 13:23:40 -07:00
Dane Everitt
265f8a6b39
Add basic logic needed to correctly mount the VHD when initializing a server. 2022-10-16 13:22:46 -07:00
Dane Everitt
7fed6a68cb
Add test coverage for vhd; make commands and filesystem abstractable 2022-10-16 13:21:35 -07:00
Dane Everitt
b0f99e2328
Catch error that occurs when there is no valid disk even created at this point 2022-10-16 13:21:16 -07:00
Dane Everitt
957257ecc3
Add base logic to start implementing support for mounted filesystems 2022-10-16 13:21:14 -07:00