storages are gone

HenryTheTech

Well-Known Member
May 20, 2018
54
4
48
54
hi all,
trying to recover from a catastrophic power failure and running into dead ends... hoping someone can help.
My PVE node was booting to a grub - unknown filesystem error.
I was able to run fsck on /pve/root and bring it back to bootable but running into this problem:

# lvconvert --repair /dev/pve/data The following field needs to be provided on the command line due to corruption in the superblock: transaction id Repair of thin metadata volume of thin pool pve/data failed (status:1). Manual repair required!

Searching online isn't proving fruitful for me.
In any case I am more worried about retrieving my single disk ZFS storage I had attached. I have removed the disk and plugged it into another distro but ZFS doesn't find any pools to import:


/dev/sdb1: TYPE="zfs_member" PARTLABEL="zfs-87ef51771d35efde" PARTUUID="2829b01a-ceab-b34d-9734-f757d0270a9b" sdb 8:16 0 2.7T 0 disk ├─sdb1 8:17 0 2.7T 0 part └─sdb9 8:25 0 8M 0 part # zpool import no pools available to import
Any help would be much appreciated
 
Last edited:
Can't really help you with that but three hints:
1.) get a UPS. They don't cost much (50€ and up) and the next power outage won't corrupt any disks
2.) do daily backups of all guests and PVE config files to a PBS so it won't hurt that much when you loose all your disks
3.) don't try to fix anything before backing everything up on block level with clonezilla or similar tools. That way you can't do more damage while trying to repair stuff
 
Last edited:
Thanks, I've done #3 but I will def do #1 and #2 this time round.
Can't really help you with that but three hints:
1.) get a UPS. They don't cost much (50€ and up) and the next power outage won't corrupt any disks in the future
2.) do daily backups of all guests and PVE config files to a PBS so it won't hurt that much when you loose all your disks
3.) don't try to fix anything before backing everything up on block level with clonezilla or similar tools. That way you can't do more damage while trying to repair stuff