Questions tagged [thinpool]
12 questions
6
votes
1 answer
LVM type raid1 & thinpool is it possible?
We are moving an installation from mdadm raid with LVM on top to pure LVM, so we will add the original raid partitions as indendent partitions to the LVM group
Something like:
lvcreate -L 240G -n thin pve /dev/nvme0n1p2
Logical volume "thin"…
luison
- 241
- 2
- 6
3
votes
1 answer
how to snapshot thin provisioned lvm
I'm trying to create an snapshot from a thin provisioned lvm
using the below command, but i get errors, is there anyone that can help me?
root@ghv214:/dev/ghv214-vg# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log…
amin hashemi
- 63
- 5
3
votes
1 answer
Ubuntu/GlusterFS: Unable to create thinly provisioned volume from previously created pool using lvcreate
I'm testing out glusterfs, and was following this guide on creating setting up volumes. I ran into an error when trying to create a thinly provisioned volume. This is the section
Create a thinly provisioned volume from the previously created pool…
Print-ABC
- 31
- 1
- 5
3
votes
1 answer
How to perform fstrim on a loop device?
I have LVM with thin-provisioning enabled. I have two almost identical thin logical volumes with ext4 file systems that slightly differs. The first volume is used entirely for storing file system. On the second volume file system is stored with a…
ayvango
- 367
- 2
- 9
2
votes
1 answer
LVM: How to recover LVM thin pool / volume after failed repair?
I would like some advise with recovering from broken LVM thin pool / volumes. The step that cause my broken LVM thin is as follows:
My thin pool metadata was full (99.4%), so the pool freeze.
I tried to extend the pool and its metadata using the…
Pongtawat
- 21
- 1
- 2
2
votes
2 answers
Doubled hyphens in LVM /dev/mapper names
I created a thinpool LV using the following command:
lvcreate --type thin-pool -l 100%VG -n lv-thinpool vg-test
Now /dev/mapper has the following entries:
vg--test-lv--thinpool
vg--test-lv--thinpool_tdata
vg--test-lv--thinpool_tmeta
Why do the…
Tom Hale
- 28,728
- 32
- 139
- 229
1
vote
0 answers
How to repair lvm2 thin_pool?
Recently I had spun up a new vm that I was using as "tempstorage". Basically I set the size to 16tb which was the overall servers max space. I had 3 other vms up and running before this. Those vms all had 500GB and one 5TB. Neither of those were…
bogusT
- 11
- 2
1
vote
0 answers
LVM thin pool inactive and failed with: No data available
I am suffering in a problem due to a system crash, I am using LVM-THIN created in proxmox GUI, all lvs is inactive and the lvm seems broken and I saw it needs to fix manually in system log.
After google it, I've tried to use this command to fix the…
StormYudi
- 11
- 1
1
vote
0 answers
Converting LV to thin pool: VG name mismatch
I'm trying to create a thin pool for docker as i'm changing the root location of docker and i had to delete previous thin pool.
Info about situation:
vgs
VG #PV #LV #SN Attr VSize VFree
cah 1 3 0 wz--n- 118.75g <41.53g
lvs
LV …
konpro11
- 11
- 2
1
vote
0 answers
Could not start docker with existing LVM thin pool option
I created an LVM thin pool to be used by Docker for storage. At the docker start time, I tell it to use the thin pool. Everything worked as expected by running docker info , I noted that it is using that thinpool of 32 GB.
Now the problem is that,…
Ijaz Ahmad
- 7,146
- 5
- 32
- 45
0
votes
0 answers
Shrink LVM2 Thin Volume
I would like to shrink the space required by a thin volume used as a disk for a virtual machine (Windows). Unfortunately, the underlying disk is a USB-attached SSD and therefore mounting the NTFS filesystem and trying to use fstrim does not work…
LeoTietz
- 41
- 3
0
votes
1 answer
restore disk backup by writing only non-zero blocks
Assuming you have a disk backup in raw format sda.img and /dev/sda is initially filled with zeroes, how to skip zeroes while restoring the backup? An analog of dd should detect zero block in input stream and perform an appropriate seek on output…
basin
- 1,931
- 4
- 20
- 36