Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • A arch-boxes
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare
    • Locked Files
  • Issues 5
    • Issues 5
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Arch LinuxArch Linux
  • arch-boxes
  • Issues
  • #116
Closed
Open
Issue created Oct 12, 2020 by Greyson Christoforo@greyltc💬Contributor

2GB disk size

I've been using the Vagrant virtualbox images made here for a few months and I find them very useful, thank you!

I recently started running out of space while setting up my environment.

I guess that's because of the 2GB number here https://gitlab.archlinux.org/archlinux/arch-boxes/-/blob/master/build-inside-vm.sh#L7

To work around this, I tell vagrant to resize the "physical" disk in my Vagrantfile, and then I've done the following in my phase 1 provisioning script:

sudo bash -c "yes | pacman -S gptfdisk parted"

sudo sgdisk --resize-table=2 /dev/sda
sudo partprobe

sudo sgdisk -N 0 -t 0:8300 /dev/sda
sudo partprobe
sudo btrfs device add /dev/sda3 /
sudo btrfs filesystem balance /

but it would be nice to be 10 or 20 GB by default to avoid having to do this. Are the virtual disks dynamically allocated? What is the advantage of the number being so small?

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking