Get yourself a KNOPPIX CD, boot from it and do the fsck from there.
Hello all,
As the subject suggests I recently had a power outage knock out my Knoppix box. Whenever I reboot it it takes me into single user mode.
I have tried running fsck but get the following error
"fsck: error while loading shared libraries: libblkid.so.1: cannot open shared object file: Input/Output error"
This box is a mail server (you can still e-mail a solution at BJames@jamesgang.dyndns.org) so I need to get it up and running ASAP
Thanks in advance.
Bryan James
Get yourself a KNOPPIX CD, boot from it and do the fsck from there.
Yes I had just started doing that when your message came in, however that doesn't seem to work, I just rebooted and am getting the same errors.
Any more help would be greatly appreciated
Bryan
what is your setup then ? what file system is used for the root fs ? It could mean that the underlying data has been corrupted which no fsck can cure. fsck as far as I know can only fix meta data(the file system structure, not the data) unless there is transaction logging on data as well. It depends.
I'm running ext2 as my base FS, it is now saying when I reboot thatlibblkid.so.1 is not found, so the fsck did seem to solve the I/O error, but it seems to have trashed the file in the process.
I would suggest a reinstall given what you saw as no one knows what other files have been corrupted.
And use ext3 or reiserfs this time for the file system.Originally Posted by garyng
<sigh> I was afraid it was going to come down to that... ok thanks for the help all.
Bryan
I understand that both support transaction logging but as far as I know, the default behaviour of ext3 is only log metadata and it may not help in this case as it seems to be actual file content being lost.Originally Posted by Stephen
What would be the best setting for the file system to protect this kind of error ?
Seagate Exos X16 ST14000NM001G 14TB 512E SATA 6Gb/s 3.5" Enterprise Hard Drive
$157.99
WD 2TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0020BBK-WESN
$49.99
Seagate Exos X22 ST20000NM004E 20TB 512E SATA 6Gb/s 3.5" Enterprise Hard Drive
$268.99
WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN
$174.99
HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601
$82.99
Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5" Internal Hard Drive
$29.99
HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5" Enterprise HDD
$69.99
2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive
$26.85
WD 4TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0040BBK-WESN
$69.99
WD HDD Ultrastar DC HC520 HUH721212AL4205 12TB 3.5" SAS Server Hard Disk Drive
$45.35