this post was submitted on 06 May 2024
57 points (96.7% liked)

No Stupid Questions

35838 readers
1192 users here now

No such thing. Ask away!

!nostupidquestions is a community dedicated to being helpful and answering each others' questions on various topics.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules (interactive)


Rule 1- All posts must be legitimate questions. All post titles must include a question.

All posts must be legitimate questions, and all post titles must include a question. Questions that are joke or trolling questions, memes, song lyrics as title, etc. are not allowed here. See Rule 6 for all exceptions.



Rule 2- Your question subject cannot be illegal or NSFW material.

Your question subject cannot be illegal or NSFW material. You will be warned first, banned second.



Rule 3- Do not seek mental, medical and professional help here.

Do not seek mental, medical and professional help here. Breaking this rule will not get you or your post removed, but it will put you at risk, and possibly in danger.



Rule 4- No self promotion or upvote-farming of any kind.

That's it.



Rule 5- No baiting or sealioning or promoting an agenda.

Questions which, instead of being of an innocuous nature, are specifically intended (based on reports and in the opinion of our crack moderation team) to bait users into ideological wars on charged political topics will be removed and the authors warned - or banned - depending on severity.



Rule 6- Regarding META posts and joke questions.

Provided it is about the community itself, you may post non-question posts using the [META] tag on your post title.

On fridays, you are allowed to post meme and troll questions, on the condition that it's in text format only, and conforms with our other rules. These posts MUST include the [NSQ Friday] tag in their title.

If you post a serious question on friday and are looking only for legitimate answers, then please include the [Serious] tag on your post. Irrelevant replies will then be removed by moderators.



Rule 7- You can't intentionally annoy, mock, or harass other members.

If you intentionally annoy, mock, harass, or discriminate against any individual member, you will be removed.

Likewise, if you are a member, sympathiser or a resemblant of a movement that is known to largely hate, mock, discriminate against, and/or want to take lives of a group of people, and you were provably vocal about your hate, then you will be banned on sight.



Rule 8- All comments should try to stay relevant to their parent content.



Rule 9- Reposts from other platforms are not allowed.

Let everyone have their own content.



Rule 10- Majority of bots aren't allowed to participate here.



Credits

Our breathtaking icon was bestowed upon us by @Cevilia!

The greatest banner of all time: by @TheOneWithTheHair!

founded 1 year ago
MODERATORS
 

My laptop's HDD is failing, it shows a bunch of signs such as slow file manipulation and clicking sounds. The Linux btrfs partition keeps going into read-only mode to prevent further damage, makes sense, but the windows partition is working fine (for now).

Shouldn't harddrive failure be evident on all partitions?

top 9 comments
sorted by: hot top controversial new old
[–] MotoAsh 46 points 6 months ago (1 children)

BTRFS is smart enough to check for file errors in some situations under normal operations (I forget which, it's been a while). When it finds issues, it puts it in read only to try and prevent things from going off of potentially corrupt data.

NTFS, which is what Windows usually uses, is a very "dumb" file system. It is merely a record of what files exist where, so if data corrupts, it will only throw NTFS off if it's in the file index it stores itself. If it's in the middle of your file, NTFS doesn't know and doesn't care and will just give you the wonky data.

Windows seemingly continuing to work is just a consequence of the "dumb" file system. It will take some critical file getting corrupted before Windows or some program will just crash. At least BTRFS is trying to tell you things are looking amiss and you should definitely back up anything important.

[–] [email protected] 2 points 6 months ago (1 children)
[–] MotoAsh 3 points 6 months ago

I forget the exact differences from NTFS, but it's similarly "dumb", as in it's just a ledger of files and locations, and doesn't do any checksum/validating. Only BTRFS and ZFS do on a file system level as far as I remember, but there are plenty of oddballs, especially counting networked storage stuff.

[–] geekworking 37 points 6 months ago (1 children)

It depends on the exact nature of the failure. Controller errors are usually a complete failure. Media failure (magnetic spots on the disk or failed cells in ssd) are often sporadic and only impact data stored in those spots.

Regardless, drives rarely give you any warning. Look at any warning as a gift and get everything off and replace it ASAP.

[–] [email protected] 10 points 6 months ago* (last edited 6 months ago) (1 children)

Yup. I would try to stop using it if at all possible. As soon as you can, dump a full disk image to some other storage. Tools like ddrescue can be useful as they will try to re-read failed sectors to get a more complete image.

Once you have the data (or at least as much is available) to a reliable medium then you can start sorting through it and discarding or saving individual bits.

[–] [email protected] 1 points 6 months ago* (last edited 6 months ago)

Seconding this. OP, get a new drive, get a live USB with ddrescue on it, and get that transfer started, stat.

[–] [email protected] 14 points 6 months ago

If the disc is failing, it’s failing and needs to be replaced. Any in between state or partial functionality will be for a very limited time, where complete failure will strike you when most inconvenient.

Other comments address this well, but for completeness sake, you can see different failure modes on different partitions because the software that manages those filesystems is different. Very careful designs will be quick to sound the alarm, whereas dumb designs will keep on working just fine until something critical is corrupted and it fails in spectacular fashion.

[–] [email protected] 9 points 6 months ago

its a configuration thing... sounds like maybe linux has detected the SMART errors and acted accordingly on its managed partition. windows is not making the same choice.

[–] [email protected] 7 points 6 months ago* (last edited 6 months ago)

With the clicking etc it sounds like a mechanical failure?! A harddrive has several disks "platter"s stacked inside and multiple heads inside. They don't necessarily all fail at the same time. Also sometimes there are just small areas affected that become inaccessible due to various reasons. They'll probably grow at some point and you're bound to loose more data. But if it's an area of several consequtive blocks, it'll show when you're accessing those. And if your partitions and data are arranged serially, the next one might be physically stored where everything is still fine.