Asahi Installed - Can I now increase allociated GB?

Hi All…

Vary new to Linux, but LOVE this project. Have installed on my MBP M1… now I need to INCREASE my storage as I only gave it 40GB to try it out at installation… Is this possible… if so, how… ?

Thanks healps… really want to move from macOS to Asahi :]

VAULT

Yes, you can increase the storage capacity by rebalancing the BTRFS filesystem.

First, create a volume with the desired capacity in MacOS.

Next, switch to Asahi and type lsblk to view device information containing the volume.

NAME         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
zram0        252:0    0     8G  0 disk [SWAP]
nvme0n1      259:0    0 931.8G  0 disk
├─nvme0n1p1  259:1    0   500M  0 part
├─nvme0n1p2  259:2    0 301.6G  0 part
├─nvme0n1p3  259:3    0   2.3G  0 part
├─nvme0n1p4  259:4    0   500M  0 part /boot/efi
├─nvme0n1p5  259:5    0  1000M  0 part /boot
├─nvme0n1p7  259:7    0 463.2G  0 part
└─nvme0n1p10 259:8    0     5G  0 part
nvme0n2      259:9    0     3M  0 disk
nvme0n3      259:10   0   128M  0 disk

Assuming the device is /dev/nvme0n1p7, add it to btrfs devices.

sudo btrfs device add /dev/nvme0n1p7 /

Afterwards, you balance the endpoint by:

sudo btrfs filesystem balance /

Finally, your storage increased.

1 Like

Hi HH… Thanks for the reply.

I have next to no linux experience, so did NOT manage to get the above instructions to work. It wanted me to add a “-f” and other commands, which lead to a fail. So I went the other way, removed all the partitions from macOS side, then did a fresh install.

I have FINALLY left macOS after 25 years, and am now 100% on Linux, and now with 250 GB drive space :] I have just spent two days configing Asahi and am LOVING IT.

Thanks again…
VAULT

2 Likes

I was able to get it to work with

sudo btrfs device add -f /dev/nvme0n1p3 /

Performing full device TRIM /dev/nvme0n1p3 (42.21GiB) …

followed by

sudo btrfs filesystem balance start /

WARNING:

    Full balance without filters requested. This operation is very
    intense and takes potentially very long. It is recommended to
    use the balance filters to narrow down the scope of balance.
    Use 'btrfs balance start --full-balance' option to skip this
    warning. The operation will start in 10 seconds.
    Use Ctrl-C to stop it.

10 9 8 7 6 5 4 3 2 1
Starting balance without any filters.
Done, had to relocate 27 out of 36 chunks

Despite the warnings it only took a minute or two and the space was added successfully. I have a small disk on an m1 so I only added a little over 43GB