LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-18-2005, 12:55 PM   #1
samac
Senior Member
 
Registered: Mar 2004
Location: Kirkwall, Orkney
Distribution: Linux Mint 20.3 - Cinnamon
Posts: 1,425

Rep: Reputation: 139Reputation: 139
Problem booting that removes /opt to /lost+found


I have had a couple of really bad disk problems recently.

But I did not take a note of the disk error, so I will try to describe the symptoms.

/dev/hda6 mounted as / formatted reiserfs

System crashes and asks for the root password, I give this but then the system cannot find fortune and something else. It reboots.

I boot with knoppix.

reiserfsck /dev/hda6, it tells me to use the --rebuild-tree option

Once this has been done my entire /opt directory is in /lost+found. Copying all back to /opt cures the problem.

Any ideas?

I cannot see any references in the logs.

Samac
 
Old 06-18-2005, 01:57 PM   #2
Sandman1
LQ Newbie
 
Registered: Jun 2005
Posts: 9

Rep: Reputation: 0
Reply

The reason why the things ended up in lost + found was because there was some corruption found on the disk and when fsck fixes problems it moves the files into lost+found. This is so you can recover some lost data.

Thanks
Sandy
 
Old 06-18-2005, 03:04 PM   #3
samac
Senior Member
 
Registered: Mar 2004
Location: Kirkwall, Orkney
Distribution: Linux Mint 20.3 - Cinnamon
Posts: 1,425

Original Poster
Rep: Reputation: 139Reputation: 139
OK I now understand the lost+found part of the problem.

Any ideas how to track down the problem? Which log, if any, should I check? I don't want to lose another drive, two this year already, is it reiserfs?

samac
 
Old 06-18-2005, 03:14 PM   #4
Sandman1
LQ Newbie
 
Registered: Jun 2005
Posts: 9

Rep: Reputation: 0
Reply

If there is a failing harddrive you could run;


dmesg | grep hd

If there is anything comming up about your harddives that are bad, bingo. If you use scsi then use this command instead:

dmesg | grep sd
 
Old 06-18-2005, 05:35 PM   #5
samac
Senior Member
 
Registered: Mar 2004
Location: Kirkwall, Orkney
Distribution: Linux Mint 20.3 - Cinnamon
Posts: 1,425

Original Poster
Rep: Reputation: 139Reputation: 139
Many thanks.

dmesg | grep hd

All clear, nothing untoward at all...... Ho hum, guess I'll have to wait for another failure and take a note of the error message.

The Doctor will have to prescribe more regular back-ups.

samac
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
lost+found artificialGekko Slackware 2 03-21-2005 08:38 AM
Mandrake booting problem and lost Fedora Reljoy Linux - Newbie 3 01-22-2005 01:05 AM
What is lost+found for? ivanatora General 4 09-29-2003 11:17 PM
lost+found help jon_k Linux - General 2 07-16-2003 03:11 PM
About lost+found. whepin Linux - General 6 01-08-2002 07:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration