Find Jobs
Hire Freelancers

Help recovering inaccessible lvm thin volumes

$10-30 USD

Closed
Posted over 1 year ago

$10-30 USD

Paid on delivery
Need lvm expert to bring back to life a Proxmox Thin-Pool My ProxMox VMs was not starting afer a power outage. So I ran: # lvconvert --repair pve/data The command finished well, without errors, but a lot more faster as usual. Then I deleted the "data_meta0" generated by the previous command. I think this action made the problem bigger. I didn't know what i was really doing, just following a guide. # lvremove /dev/pve/data_meta0 I executed the reapair again, to get a data_meta0 again: # lvconvert --repair pve/data Tried to enable one vm disk, but all 4 vm disks was failing with the same error: # lvchange -ay pve/vm-100-disk-1 device-mapper: reload ioctl on (253:7) failed: No data available Tried creating another volume to repair meta into that vol and swapped it to pool meta: lvcreate -an -Zn -L4G --name repaired_01 pve ./thin_repair -i /dev/mapper/pve-data-meta0 -o /dev/mapper/pve-repaired_01 lvchange -an pve/data lvconvert --thinpool pve/data --poolmetadata /dev/mapper/pve-repaired_01 Then restarted the computer and noticed that pve/data was inactive too now. So I tested again, getting with a new error (all 4 vm disks and pve/data volumes was failing with the same different error): # lvchange -ay pve/data Thin pool pve-data-tpool (253:6) transaction_id is 0, while expected 7. # lvchange -ay pve Thin pool pve-data-tpool (253:6) transaction_id is 0, while expected 7. Thin pool pve-data-tpool (253:6) transaction_id is 0, while expected 7. Thin pool pve-data-tpool (253:6) transaction_id is 0, while expected 7. Thin pool pve-data-tpool (253:6) transaction_id is 0, while expected 7. Thin pool pve-data-tpool (253:6) transaction_id is 0, while expected 7. Googled about that and find a possible solution (backing up and restoring vg): # vgcfgbackup pve -f /root/pvebak Volume group "pve" successfully backed up. # nano /root/pvebak (modified transaction_id, changin 7 for 0 on pve/data) # vgcfgrestore pve --force -f /root/pvebak Restored volume group pve. Then tried to activate volumes again, but getting same results as the beggining, now pve/data gets activated, but 4 vms not and showing the first error message again # lvchange -ay pve device-mapper: reload ioctl on (253:5) failed: No data available device-mapper: reload ioctl on (253:5) failed: No data available device-mapper: reload ioctl on (253:5) failed: No data available device-mapper: reload ioctl on (253:5) failed: No data available
Project ID: 35691941

About the project

2 proposals
Remote project
Active 1 yr ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
2 freelancers are bidding on average $60 USD for this job
User Avatar
Hi there, I can help you recovering inaccessible lvm thin volumes recovering inaccessible lvm thin volumes. I am having 8+ years experience in Server Administration & System Administration And Network Administration. I can help you with this project I want to know more details about the project. So share details in chat box and start the work asap. I can handle this work perfectly and you will get 100% results Looking forward to discussing it further via chat.
$100 USD in 2 days
5.0 (3 reviews)
1.6
1.6
User Avatar
HhI I am experienced in and I can start right now but i have few doubts and questions lets have a quick chat and get it started waiting for your replyyy
$20 USD in 7 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of PAKISTAN
sargodha, Pakistan
4.8
69
Member since Dec 1, 2017

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.