this post was submitted on 30 Jul 2021
6 points (87.5% liked)
Linux
49740 readers
814 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/logical_volume_manager_administration/mirror_repair
(works with all newer versions of LVM too, IIRC)
Please do that when the computer it's in is not powered on. Even hotplugging when your device is capable of it can yield interesting results if you're not doing it 100% correctly.
Interesting so that could be ran after the failing device been removed? Additionally interesting cause I always yanked the drives out when Linux Mint says they are put on standby (sleeping). Or I do that manually then I would pull them out.
How were they connected? USB? SATA? Were they even hotpluggable? The thing is, you can't know if a running system accesses the disks and you should only disconnect disks from a running system when they are explicitly hot-pluggable. Otherwise you risk damaging the disks for example when you disconnect them while they're spinning up.
I am sorry but I am lost on what you means. I gotten a $30 5.25" Dual Hot Swappable 2.5" bays which each of the drives connected through the SATA interface (you plug the respected SATA cables in each bays' end and the drives connections are literally "clicks into place").
So I thought if the drives are on standby "hence I assume are therefore not spinning up/down" then I thought it safe to pulls them out. Since I thought they would not be doing anything if they are simply on standby.
Yeah, but if your mainboard doesn't support hot swap on the ports they're connected to, you can't hot swap them. Similarly, if your disks themselves don't support hot swap, you can't hot swap them.
In my experience, swapping disks while the PC is booted should only be done if you're absolutely certain both the mainboard and the disk support hot swapping properly, else you may damage the disk. Especially consumer-grade disks are susceptible to failures in this way.
Not really. Only if they support hot swapping and your motherboard does as well. Many do, some don't.
Being on standby may simply mean they have parked their r/w arms and are still spinning.
In one of your other threads, you posted SMART information which shows "Power-off Retract Count" as 72, which means there were 72 instances where the drive didn't properly shut down or lost power unexpectedly.
For comparison, my 4 year old WD Red HDD has >33000h of usage and only a power-off retract count of 14.
That's understandable to me now, thank you very much for explaining all of this to me so I am able to becomes aware and able to understand everything now. :)