Fresh Ubuntu Server install not showing all available space. Wrong mount points maybe?

SlickStretch

New Member
Credits
33
I installed Ubuntu Server and Samba, and was surprised when I tried to start copying files and it told me there was not enough space.

fdisk -l shows all of the space (sda3):

Disk /dev/loop0: 54.98 MiB, 57626624 bytes, 112552 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop1: 29.9 MiB, 31334400 bytes, 61200 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop2: 71.28 MiB, 74735616 bytes, 145968 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sda: 1.84 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: ST2000VN0001-1SF
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 542A927E-D68B-430E-9D17-C8C9CA077387

Device Start End Sectors Size Type
/dev/sda1 2048 4095 2048 1M BIOS boot
/dev/sda2 4096 2101247 2097152 1G Linux filesystem
/dev/sda3 2101248 3907026943 3904925696 1.8T Linux filesystem


Disk /dev/mapper/ubuntu--vg-ubuntu--lv: 200 GiB, 214748364800 bytes, 419430400 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


But, when I use df -h, the Filesystem and Size for / mount looks off: (My connected Windows PC also seems to think there's about 200G available)

Filesystem Size Used Avail Use% Mounted on
udev 1.5G 0 1.5G 0% /dev
tmpfs 299M 2.6M 296M 1% /run
/dev/mapper/ubuntu--vg-ubuntu--lv 196G 5.2G 181G 3% /
tmpfs 1.5G 0 1.5G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 1.5G 0 1.5G 0% /sys/fs/cgroup
/dev/sda2 976M 104M 806M 12% /boot
/dev/loop0 55M 55M 0 100% /snap/core18/1880
/dev/loop2 72M 72M 0 100% /snap/lxd/16099
/dev/loop1 30M 30M 0 100% /snap/snapd/8542
tmpfs 299M 0 299M 0% /run/user/1000


How can I make the full 2T available in my Samba share?

Thanks!
 


jglen490

Well-Known Member
Credits
4,106
Sigh ...
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Members online


Top