I'm having an issue with my LV's becoming corrupted very easily and often. Wondering if anyone else is experiencing this issue while using Arch. Just want to scratch some things off the list such as kernel 5.0 and the newest lvm2. Further Details: smartctl long test passed. no errors in logs outside...
I'm having an issue with LVM and my LV's corrupting all the time. At least 4-5 times today alone. The disk is healthy and works just fine, I recently set it up as a PV to use for my OS and virtualization needs. However this is getting a tad ridiculous. I have to be extremely careful never to have to...
[myuser@arch ~]$ loginctl enable-linger myuser Could not enable linger: No such file or directory Why? Extra points if you can answer why there is such a fascination with ridiculous vague errors. EDIT: Solution is to ditch loginctl and just do it yourself. sudo mkdir -p /var/lib/systemd/linger/ sudo...
Where I work we use LVM to handle volumes for virtual machines that run our various in house services for the biz. Every so often someone makes a mistake and nukes the wrong drive with lvremove. Yes, yes, everyone should make backups before doing something dangerous, but mistakes happen, that's why...
no errors in logs outside of what is caused by the corruption and have been resolved
As a note, yes, I am aware you shouldn't hard power off due to the risk of data loss and corruption. However it has become FAR worse and very often to the point of being every time with LVM for me.
Yes, this is a surprise because on traditional partitioning on the drive I can power off all day and rarely if ever experience an issue. However on LVM it is every single time with out fail. Things happen, systems hang, an odd power off here or there shouldn't carry a 100% chance of corruption. This seems abnormal, hence the questions in OP.
At no point was the folder mentioned in any error, syslog, or context. I found this on a completely unrelated bug report. It should have created this folder on its own if it did not exist or mentioned it in the error. Even after fixing it the command STILL did not function. Worth pointing out the the final solution was to just bypass it and do what the command was suppose to do manually.
Turned out it was the caching on QEMU I was using. This was why VM's became corrupted and why when QEMU hung my system, which is what probably caused the corruption and not the hard power off, the other LV's became corrupted as well. Since I turned this caching off the problem has been resolved.
It had nothing to do with arch or the 5.0 kernel. I have been experimenting with pcie passthrough and things happen during the process that made my system unstable a few times. The issue with LVM turned out to be the cache used for the VM's getting wonky. I have solved the issue completely.
It works fine with a regular partitioning scheme and the drive is passing tests. I am going to move the LVM to another free disk to be sure but I wanted to be sure there wasn't some configuration that I was missing that could be giving me trouble.
Yes, this is a surprise because on traditional partitioning on the drive I can power off all day and rarely if ever experience an issue. However on LVM it is every single time with out fail. Things happen, systems hang, an odd power off here or there shouldn't carry a 100% chance of corruption. This seems abnormal, hence the questions in OP.
At no point was the folder mentioned in any error, syslog, or context. I found this on a completely unrelated bug report. It should have created this folder on its own if it did not exist or mentioned it in the error. Even after fixing it the command STILL did not function. Worth pointing out the the final solution was to just bypass it and do what the command was suppose to do manually.
Turned out it was the caching on QEMU I was using. This was why VM's became corrupted and why when QEMU hung my system, which is what probably caused the corruption and not the hard power off, the other LV's became corrupted as well. Since I turned this caching off the problem has been resolved.
It had nothing to do with arch or the 5.0 kernel. I have been experimenting with pcie passthrough and things happen during the process that made my system unstable a few times. The issue with LVM turned out to be the cache used for the VM's getting wonky. I have solved the issue completely.
It works fine with a regular partitioning scheme and the drive is passing tests. I am going to move the LVM to another free disk to be sure but I wanted to be sure there wasn't some configuration that I was missing that could be giving me trouble.