I have a 2 Tb hard drive.
Using both Thunar and Caja, they show 140 Tb which is a rather large error.
How can I tell how many bytes are in use by my hard drive ?
I have a 2 Tb hard drive.
Using both Thunar and Caja, they show 140 Tb which is a rather large error.
How can I tell how many bytes are in use by my hard drive ?
See - https://askubuntu.com/questions/5444/how-to-find-out-how-much-disk-space-is-remaining
A sufficient tool for what I think you want is pydf. Good luck fixit7.
Pydf shows
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 1834G 8775M 1735G 0.5 […] /
But Gparted shows 37.93 Gb.
??
Maybe you are reading Gparted wrong. Pydf matches my conky almost exactly. Don't know what to tell you ifixit7. Sorry.
Edit: My pydf shows this:
michael@D830:~$ pydf
Filesystem Size Used Avail Use% Mounted on
/dev/sda7 20G 9475M 9515M 47.3 [###############.................] /
/dev/sda6 345G 262G 66G 75.9 [########################........] /home/data4
conky shows this:
Edit2 & 3: Or you could use inxi -D. When I used this command, I got -
michael@D830:~$ inxi -D
Drives: HDD Total Size: 2500.5GB (68.8% used) ID-1: /dev/sda model: WDC_WD5000BPVT size: 500.1GB
ID-2: USB /dev/sdb model: My_Passport_0830 size: 2000.4GB
this may be more to your liking being information about all of the HDs? Good luck again.
The value listed for my sda and sdb drives matches the sticker on the drives.
andy@7:/$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 3.4G 0 3.4G 0% /dev
tmpfs 693M 9.4M 683M 2% /run
/dev/sda1 1.8T 8.0G 1.7T 1% /
tmpfs 3.4G 656K 3.4G 1% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 3.4G 0 3.4G 0% /sys/fs/cgroup
/dev/sdb2 100G 4.1G 91G 5% /media/andy/MAXTOR_SDB2
/dev/sdb1 97G 9.2G 83G 10% /media/andy/MAXTOR_SDB1
tmpfs 693M 36K 692M 1% /run/user/1000
/dev/sdb5 98G 60M 93G 1% /media/andy/MAXTOR_SDB5
I checked my install disk and it uses 3.3 Gb.
So I think that dfs figure of 8 Gb is probably pretty close.
Bottom line is that I have a ton of free space.
I do not know what to say.
I think that you’ve said all that you can. I’m done here fixit7. Maybe someone else will try to help you. As always, good luck.
I thought it had been fixed since Caja 1.10…
not sure if this is what your looking for...
df -hl --total | grep total
or
df -hlT --exclude-type=tmpfs --exclude-type=devtmpfs
thanks mdooley for your help.
@fixit7 You are entirely welcome fixit7.