I've just installed FreeBSD with xfce, nvidia drivers and some basic stuff like browser but it's already consumes more than 30 GiB of disk space. Is it how it's supposed to be?
That seems a bit to much. The base system takes ≈ 500 MB, application files are stored under /usr/local, you can check the size of that directory runninginstalled FreeBSD with xfce, nvidia drivers and some basic stuff like browser but it's already consumes more than 30 GiB of disk space
du -sh /usr/local
(du(1)), if the size is not near 30G run du -hd5 / | sort -hr > dspace.txt
(sort(1)) to check where the data with the most disk usage went. du -sk /* | sort -n
I used pkg to install everything, never used ports. Xfce file manager shows that there's only 177368 items, totalling 9.1 GiB (9755066953 bytes) but 30 GiB is still missing (404.3 GiB of 447.5 GiB free) so i assume it could be a filesystem problem(I use UFS).Did you build from ports or did you use packages? If you built from ports I'm guessing you have a lot of work directories now filled with various build artifacts. You should clean those.
In any case, look what's eating your disk space:du -sk /* | sort -n
Post the output fromTerminal commands gave me the same results
du -sk /* | sort -n
so we can have a look too.