Score:0

How to see free space of permanently mounted drive (Ubuntu 22.04)

sx flag

I'm building from scratch a NAS with one 240 Gb NVME, to which I already added an other internal SSD of 250 Gb. Thing is, as I mounted it to /ssd as specified in the /etc/fstab, I can't seem to find the free space of that SSD anymore. In fact, even though I can create files in /ssd and it seems to work properly, Ubuntu only says that I have 240 Gbs of total space. What did I do wrong? Thanks :)

unixoid avatar
cg flag
What does `lsblk` say? Does it show separate devices? I take it the SSD is properly mounted and the filesystem is recognized.
Score:1
st flag

Go to a command line and use:

df -h

OR

lsblk -e 7 -f

It's possible with btrfs, zfs, or xfs filesystems Ubuntu gui tools will not read them correctly at all.

in flag
Why do they need to exclude devices? What exactly does "-e 7" do, don't you need details of their specific devices to know what digit to use there?
sean avatar
st flag
@pbhj Those exclude all the snap loop back devices which never have been anything but 7 on any system I've used.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.