Skip to main content

All Questions

Tagged with
1 vote
1 answer
44 views

Why is an incorrect size reported on multi-partition USB flash drive?

I'm creating a custom Linux installer which uses two partitions on a 4GB USB flash drive: an EFI partition for booting and a data partition for installer files. The size reported by df is unexpected. ...
Danny's user avatar
  • 191
2 votes
1 answer
2k views

linux df -h not showing some info

I have Ubuntu 20.04 linux and I create a second disk, and second filesystem. Right now when I want to see info my second filesystem df is not showing. I use default mount specification. df -ah ...
thargalin's user avatar
0 votes
1 answer
2k views

Find mounted hard drives on ubuntu

I recently got a new dedicated server and I'm trying to mount all the drives it contains. $ sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL NAME FSTYPE SIZE MOUNTPOINT LABEL ...
nmpg's user avatar
  • 101
1 vote
2 answers
633 views

Unable to Detect Size of Brand new Hard Disk

I just purchased a 8TB hard drive today. I just put it in my USB enclosure. fdisk -l did see the device: Disk /dev/sdc: 1404.5 GB, 1404493455360 bytes, 2743151280 sectors Units = sectors of 1 * 512 ...
HCSF's user avatar
  • 165
15 votes
1 answer
19k views

Why might a partition show up in `mount` but not `df`?

If I compare this $> sudo mount | grep sdb /dev/sdb1 on /windows type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096) /dev/sdb2 on /store type ext4 (rw) with this $> ...
spraff's user avatar
  • 2,228
1 vote
1 answer
3k views

Can I hide BIND mount points from DF?

Is there a formal way to hide the mount points of BIND from df (in CentOS 6.4) ? It's ugly and distracting. Apparently people have been complaining about it for a decade but I cannot seem to google ...
ck_'s user avatar
  • 1,905