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 ?
Intel Xeon Gold 6244 SRF8Z 3.60GHz 24.75MB 8-cores LGA3647 CPU server
$1499.00
Intel Xeon Gold 6234 Processor LGA3647 3.3GHz 8 Cores 16 Threads TDP 30W CPU
$1252.50
Intel Xeon Platinum 8356H Processors 8-Core CPU 3.90GHz-4.40GHz 190W LGA4189
$3882.12
Apple Macbook Pro 8-Core i9 2.3ghz 15" 512GB 32GB RAM Silver MV932LL/A 2019
$848.00
AMD Ryzen 9 5950X 16-core 32-thread Desktop Processor
$319.99
Intel Core i9-12900K 12th Gen Alder Lake 16 Core 3.2 GHz LGA CPU Processor
$281.99
Intel Core i7-12700KF - Alder Lake 12-Core (8P+4E) 3.6 GHz LGA 1700 125W CPU
$183.49
Intel Core i9-12900KF - 12th Gen Alder Lake 16-Core (8P+8E) 3.2GHz LGA CPU
$262.99
Apple MacBook Pro 16" 16GB RAM 1TB SSD / i9 2.3 Ghz 8 Core Turbo Touchbar
$788.00
HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA
$234.98