People,
I know this is not strictly a Fedora issue but I only use Fedora so I am
hoping people here can help - maybe we should have a separate mailing
list or forum topic for this sort of hard disk stuff?
Just after a full backup (fortunately) the 7.2TB /home partition
(/dev/sda5) on my email server somehow got corrupted. After I realised
there was a problem, I unmounted the partition and tried:
e2fsck -y /dev/sda5
but the process hangs after “Clone multiply-claimed blocks<y>?” and the
disk goes quiet - I could still break out with CTRL-C but I can't get
past this point in the attempted fix process. So I thought I would just
produce a list of the affected files and then just delete the inodes or
just restore from backup but when I tried:
debugfs -R "ncheck 187536544" /dev/sda5
it took hours to find nothing but printed screenfulls of:
ncheck: "Directory block checksum" does not match directory block
while calling ext2_dir_iterate
and there are 1069 inodes to check!
I am guessing that if I just try to delete each of the inodes with:
debugfs -R "clri <inode>" /dev/sda5
that it would take weeks! So unless someone can suggest a faster method
of fixing the partition (mainly just as an exercise now) or at least
just working out what is wrong with it, I guess I will just have to
re-create the partition?
Thanks,
Phil.
--
Philip Rhoades
PO Box 896
Cowra NSW 2794
Australia
E-mail: phil@xxxxxxxxxxxxx
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx