-1

why? to resume fsck -fcck while looking for badblocks as it takes humongous time (1TB SATA HD) and I have no no-break on my desktop, so, I could split the logical volume in several segments of 10GB and fsck each one per day :)

kvpm only gives a popup fsck command for the whole logical volume, not the specified segment.

can such check be forced even if in some more complex way?
may be temporarily referencing the segment by separating it from the logical volume it is currently part of, like it being part of another LV just for that check?

Of course that a direct way to force resume fsck from a specified block would suffice if possible at all.

PS.: I cant suspend the desktop machine, it never works. If if it could work, it would still prevent me from using the main/root volume for a huge long time :(

  • Have you considered SMART checks? – roaima Feb 18 at 22:16
  • @roaima the disk I want to check currently has 51 bad/pending sectors from smart data at gnome-disks. Do you mean that specifically looking for bad blocks is not really necessary anymore after SMART feature, as they apparently seem to be safely auto-fixed on demand? – Aquarius Power Feb 18 at 22:23
  • 1
    I just discovered something interesting and posted it here: unix.stackexchange.com/a/501466/30352 – Aquarius Power Feb 18 at 22:37
  • 1
    @roaima found this superuser.com/questions/693003/…, thx! – Aquarius Power Feb 18 at 22:44
  • 1
    mmm... I finally did smart check tests. The short and the long, both failed!!! – Aquarius Power Feb 25 at 22:10
0

In the comments you wrote,

The disk I want to check currently has 51 bad/pending sectors from smart data at gnome-disks. Do you mean that specifically looking for bad blocks is not really necessary anymore after SMART feature, as they apparently seem to be safely auto-fixed on demand?

Pending sectors are sectors that can't be read. When you next try to write to them, the disk firmware will automatically remap the new data to spare sectors. You don't need badblocks for this.

However, 51 sectors are a lot of sectors that have failed. You may find the disk can't remap all of them. With this many sectors it would be well worth checking the health of the drive and seriously considering replacing it.

  • by "checking the health of the drive" I guess it is the full "SMART check", I read it can take about 2.5hours, may be worth it. Btw, the funny part is that is says: "Disk is OK, 51 bad sectors", now how OK it is actually is the confusing part. I thought spare sectors were everything non allocated, or there is just a little bit like may be 100ss for 1TB HD? That HD is an old indeed. I see a 2TB HD is not pricey, I will consider buying a new one and throw all redundancy backups on this one :) – Aquarius Power Feb 19 at 19:24
  • 1
    If it's to be used 24x7 (or thereabouts) consider a NAS-grade disk rather than the cheapest you can find. – roaima Feb 19 at 23:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.