LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-12-2021, 06:07 PM   #1
merc718
LQ Newbie
 
Registered: Jan 2021
Posts: 11

Rep: Reputation: Disabled
Storage Config on a new install


Just installed ubuntu Server on 20.04 - ssd is 512gb. When i ssh into the system, my disk usage is 5.3 % of 195gb? i lsblk my hd and got:

Code:
nvme0n1                   259:0    0 476.9G  0 disk
├─nvme0n1p1               259:1    0   512M  0 part /boot/efi
├─nvme0n1p2               259:2    0     1G  0 part /boot
└─nvme0n1p3               259:3    0 475.4G  0 part
  └─ubuntu--vg-ubuntu--lv 253:0    0   200G  0 lvm  /
nvme1n1                   259:4    0 953.9G  0 disk
ot seems like i should have paid more attention to the install but there seems to be a lvm volumn of 200gb. i google what lvm is and dont exactly understand what it does. it the most simplest terms, can someone explain? i have one disk for the OS and a separate one(1tb) for storage.
 
Old 02-12-2021, 06:20 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
In a single sentence, LVM can be described as "flexible partitioning". It is flexible because logical volumes can be created, deleted and resized easily and span several storage devices. If you want your root filesystem to be larger than 200GB, use the lvextend command.

Further reading: The LVM HOWTO is old but still a useful introduction.

Last edited by berndbausch; 02-12-2021 at 06:23 PM. Reason: lvm howto added
 
Old 02-12-2021, 07:10 PM   #3
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
There are several LVM commands that will assist in visualizing what was done during the install. Your first drive, where the install was done is 500G. You have ~476G available to use with
0.5G at /boot/efi, 1.0G at /boot and 200G at /.
The remainder of the 475 G in nvme0n1p3 is part of the VG but is unallocated.

The commands pvscan, vgscan, and lvscan combined can tell you a lot about what is where and what is available. You could, for example, create a new LV within that VG to mount at /home and keep your personal data separate from the system data with the lvcreate command. All while still using space available on the first disk.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Which config: config.amd64-none_amd64 OR config.amd64_rt_amd64 mzsade Debian 2 11-27-2016 09:19 PM
LXer: Distributed Storage Across Four Storage Nodes With GlusterFS On Fedora 12 LXer Syndicated Linux News 0 03-04-2010 11:50 AM
LXer: Distributed Storage Across Four Storage Nodes With GlusterFS On Ubuntu 9.10 LXer Syndicated Linux News 0 01-14-2010 01:50 PM
LXer: Distributed Storage Across Four Storage Nodes With GlusterFS On Debian Lenny LXer Syndicated Linux News 0 06-25-2009 02:40 PM
REDHAT 6.2 config / modules : usb storage, wired network, x config audan Linux - Hardware 2 02-18-2006 05:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration