2

lsblock on an osboxes Ubuntu VM return this:

sda      8:0    0   500G  0 disk
├─sda1   8:1    0 220.6G  0 part /var/snap/firefox/common/host-hunspell
│                                /
├─sda2   8:2    0   286M  0 part /boot
├─sda3   8:3    0    95M  0 part
├─sda4   8:4    0   8.9G  0 part [SWAP]
└─sda5   8:5    0 270.1G  0 part /home

The 220.6G size of host-hunspell raises concern? Why would it be so big? Is this a strange problem with the osboxes VM?

guiverc
  • 33,561
AturSams
  • 225

1 Answers1

3

Your file-system mounted on / is ~220GB

That file-system (sda1 or drive SDA & partition 1) is mounted twice, firstly as the root (/) file-system, and secondly so it can be accessed by firefox (if you want to save/upload files*).

You'll find however that not all of / can be accessed from within firefox, as most snap packages run confined thus have only limited access to your / file-system, even though in theory the mount could allow for it.

For my current Ubuntu system, I have the following

guiverc@d7080-next:~/.config/liferea$   lsblk
(some details redacted for length)
├─sda5   8:5    0   512M  0 part /boot/efi
├─sda6   8:6    0  97.4G  0 part /var/snap/firefox/common/host-hunspell

guiverc@d7080-next:~/.config/liferea$ df -h Filesystem Size Used Avail Use% Mounted on tmpfs 1.6G 2.1M 1.6G 1% /run /dev/sda6 96G 39G 52G 43% / tmpfs 7.8G 301M 7.5G 4% /dev/shm tmpfs 5.0M 8.0K 5.0M 1% /run/lock tmpfs 7.8G 54M 7.7G 1% /tmp /dev/sda5 511M 6.1M 505M 2% /boot/efi tmpfs 1.6G 104K 1.6G 1% /run/user/1000

ie. you'll note it's the same, my ~96GB partition mounted as my root (/) is also mounted for use by the firefox snap package.

It's not strange, nor is it a concern (not ~220GB of wasted space for you, ~96GB for me), it's just how it works,

guiverc
  • 33,561