trynd / wren

Linux boot platform that provides a portable, multi-system, run-in-memory Linux environment.
GNU General Public License v3.0
0 stars 1 forks source link

Active data capacity shrinking #21

Open codewithmichael opened 9 years ago

codewithmichael commented 9 years ago

Presently we can expand the active data capacity using sudo wren +active (as of v0.1.2) or via the underlying increase-save-size.sh. But with the planned shift to Btrfs for v0.2.0, we can just as easily shrink the active volume:

sudo btrfs filesystem resize -1G /mnt/wren/xx-volumes/active

We could easily turn that into a -active option. We could also create a basic active option that takes a size and sets it to that size.

Im thinking we ought to remove increase-save-size.sh entirely and just call resizing commands directly in wren (defined in platform-env).