Score:1

How to use 1TB harddisk in ubuntu server

in flag

I installed ubuntu server on my old laptop, to serve as a network share and file storage. I think I messed up the partitioning, there is a 215 Gb drive which I do not recognize.

As far as I know this laptop only has one drive of 1TB and no SSD.

The problem is samba shows me 215GB storage option only. Any suggestions?

Output of df -h -x{tmp,devtmp,squash}fs:

Filesystem                         Size  Used Avail Use% Mounted on
/dev/mapper/ubuntu--vg-ubuntu--lv  196G   38G  149G  21% /
/dev/sda2                          976M  206M  704M  23% /boot
/dev/sda1                          511M  5.3M  506M   2% /boot/efi

215 disk

1 TB disk

the 999GB is /dev/sda3.

I read about block devices online, but I don't remember setting one up.

oldfred avatar
cn flag
Is not the 215GB your LVM volumes that you have. But the LVM uses the entire sda3 partition. LVM volumes are easy to expand, so default install did not use all the available space for / & swap. https://askubuntu.com/questions/3596/what-is-lvm-and-what-is-it-used-for
Aditya Gupta avatar
in flag
Oh I see! Thank you for the explanation.
oldfred avatar
cn flag
Another new user resized LVM. https://askubuntu.com/questions/1388777/how-do-i-merge-partitions-on-this-hierarchy General info: https://wiki.ubuntu.com/Lvm
PonJar avatar
in flag
This is a good guide: https://www.tecmint.com/extend-and-reduce-lvms-in-linux/
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.