LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-29-2009, 12:03 PM   #1
Szkarbek
LQ Newbie
 
Registered: May 2009
Posts: 2

Rep: Reputation: 0
Question fstab problem with external USB hard disk


Hello all,
I've got a mysterious problem with my fstab and my external USB hard disk. I'm working under KDE, and everything goes rather well when I switch the device on. The problem is, when I switch it off again, some process deletes my /etc/fstab. Naturally, next time I boot, the necessary files on the internal hd aren't found anymore, which leads to an error. I already found out how to recover from it, but it is time consuming and it makes me silly.
I searched the Internet already for ages for a solution, but I found nothing.
I'm running Slackware 12.2 and I suspect the problem lies on KDE's side. But since I'm working as a normal user (not as root) I'm not sure, which process can change the /etc/fstab at all?
Please help me!
Thanks in advance,

Szkarbek
 
Old 05-29-2009, 12:54 PM   #2
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
You might need to supply more details for someone to help you out. Perhaps specifying the errors that you see..

I presume that you unmount your USB drive prior to turning it off?
 
Old 05-30-2009, 03:49 AM   #3
Szkarbek
LQ Newbie
 
Registered: May 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Unmounting alone didn't do the trick...

Thank's for the reminder on UNMOUNTING, but that didn't help completely. At least, after trying with unmounting, there appeared no visible error messages anymore. BUT the /var/fstab was deleted nonetheless after switching the external drive off.
Before, when I switched the disk off without unmounting, I got an error message from ext3 which I don't remember exactly, it had something to do with journalling...

More detais:

I attached my /etc/fstab from the instant BEFORE switching the external disk off.

my /var/log/syslog doesn't seem (in my humble opinion) to contain anything interesting, but anyways, I uploaded a snippet from today.

Perhaps, /var/log/debug helps more. Even if I myslf can't find a solution therein... I attached a snipped fom today.

Some details about my system:
Slackware 12.2 on an Athlon 64 with 1 GB of ram. Nvidia graphics card and so on... If more details are needed, you can find them from the attached log files.


Quote:
Originally Posted by mostlyharmless View Post
You might need to supply more details for someone to help you out. Perhaps specifying the errors that you see..

I presume that you unmount your USB drive prior to turning it off?
Attached Files
File Type: txt fstab.txt (189 Bytes, 17 views)
File Type: txt syslog_0905.txt (6.0 KB, 8 views)
File Type: txt debug_0905.txt (7.1 KB, 28 views)
 
Old 05-31-2009, 11:32 AM   #4
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Odd, one thing I didn't see in your fstab was

Code:
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
tmpfs            /dev/shm         tmpfs       defaults         0   0
(All setup automatically by Slackware 12.1)
Nor do you have a swap partition, not that that's obligatory.

Maybe your fstab isn't being deleted, it's never being saved to begin with. Is it possible that when you boot the system that your overall configuration is not what you think it is? Do you have an unusual boot setup or other unusual setup? What's on hda1-4?
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB external hard disk and fstab sblantipodi Linux - General 8 01-06-2008 01:14 PM
60GB laptop hard disk & 200GB external USB hard disk linux compatibility powah Linux - Hardware 0 03-07-2006 10:55 AM
Problem: USB external hard disk on woody 2.4.18-bf2.4 Explorer2005 Linux - Newbie 7 08-04-2005 01:23 AM
200G external usb hard disk problem CrystalAtom Linux - Hardware 0 12-01-2004 01:39 AM
USB External Hard Disk problem with large files nick1.41 Linux - Hardware 0 05-26-2004 07:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:48 PM.

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