Skip to content

u/CarelessAddendum

In this archive from Apr 2019 to May 2019

4
posts
13
comments
0
media
25
score

Top posts

LVM easily corrupted

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...

4 points9 comments
Open on Reddit

Loginctl No such File or Directory

[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...

2 points6 comments
Open on Reddit

LVM and some strange behavior

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...

1 points4 comments
Open on Reddit

Top comments

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.

3 points

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.

2 points

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.

1 points

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.

1 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.