Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to activate a lvm in a group. In the group, there are a total of 3 lvms. This one is not mounting though:
Code:
--- Logical volume ---
LV Name data
VG Name pve
LV UUID GSlWfw-Y3aH-6C7l-iJ62-rqJD-TVQV-KxRO3y
LV Write Access read/write
LV Creation host, time proxmox, 2020-04-04 20:07:21 -0400
LV Pool metadata data_tmeta
LV Pool data data_tdata
LV Status available
# open 17
LV Size <794.29 GiB
Allocated pool data 19.58%
Allocated metadata 1.17%
Current LE 203337
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:4
I look in /dev/pve, and "data" is not in there. The two others in the group show up.
So pve-data does not have a filesystem. It is part of a thin pool supporting thin volumes. See lvmthin documentation. I'm not familiar with thin pools, but it looks like your pve-swap and pve-root lvms are using the thin pool.
It is part of a thin pool supporting thin volumes.
It is a thin pool, I'd say. Which means that it is not supposed to have a filesystem or to be mounted.
To understand which volume is thin or not, the output of the lvs command would be helpful.
Quote:
I am trying to activate a lvm in a group. In the group, there are a total of 3 lvms. This one is not mounting though:
As said, this logical volume has no filesystem and, since it's a thin pool, is not supposed to have one anyway. It is activated, as far as I can see (status: available).
vm-102-disk-0 is a thinly provisioned volume as indicated by the V flag and its pool parameter.
So the question is, why do you want to mount data? As said earlier, it is a thin pool. Using it as a volume for a filesystem would destroy the pool and thereby vm-102-disk-0.
It is a 1 TB drive, and I have just about used up the 100GB allocated. I wanted to expand into this thin pool. So it sounds like there is no way to do this without loss of data?
The thin pool has a size of 800GB, of which 20% are used. You can create plenty of additional logical volumes from this pool, or increase the size of the vm-102-disk-0 volume.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.