[Freedombox-discuss] Mounted FreedomBox SD card, expanded partition, mount mounts old size.

A. F. Cano afc at shibaya.lonestar.org
Wed May 3 01:29:30 UTC 2017


Hi,

Since the expand partition function didn't work, the 3.8 GB FreedomBox
image got filled up with snapshots and eventually (presumably because
it got totally filled up) became unbootable and inaccessible by ssh.

So, I mounted it on a Debian testing system (the only one that seems to
be able to handle btrfs) and saw the 3.8 GB partition.  I could not
remove the .snapshots directory.  It claimed to be a read-only FS.  I
double-checked and the SD card was mounted RW.  Does the FreedomBox
somehow create a FS within the FS that is visible to mount?  So I
unmounted it and expanded the partition with parted.  After
a few tries parted sees the expanded partition (to 32GB), as does fdisk.

However, when I mount it again, df still reports the original 3.8 GB
size.  Maybe the resizing didn't transfer to the super-block?  I would
have thought that parted would have taken care of this and mounting the
new expanded partition would be shown properly to the system.

What am I missing? Also why can't I "rm -rf .snapshots"?

The FreedomBox image is just mounted, not booted.  It's not running any
of the FreedomBox software or kernel.

Augustine




More information about the Freedombox-discuss mailing list