LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-11-2006, 09:35 AM   #1
antiqui.populi
LQ Newbie
 
Registered: Oct 2006
Posts: 8

Rep: Reputation: 0
SCSI drive keeps disappearing


Hello.
I have a SCSI hard drive with two ext3 partition, mounted in /mnt/sdc1 and /mnt/sdc2.
They are configured so to be mount at boot time. This is their fstab entry:
Quote:
/dev/sdc1 /mnt/sdc1 ext3 defaults 1 2
/dev/sdc2 /mnt/sdc2 ext3 defaults 1 2
Whenever I start my system, they're properly mounted and works fine.
I have some files and dirs stored in this partitions, and run some programmes that reads and writes files in this drive.Usually, I run some programs that will keep running for a couple of days, and leave the office. Sometimes (not always), when I return to the office the next day, I can't find the drive. What does this mean? The dir still exist (/mnt/sdc1), but NOTHING is mounted over there, like if somehow the device has been unmounted. If I do a ls, I get
Quote:
[root@INTA01 mnt]# ls -l sdc1/
total 0
But I don't think that the disk is unmounting itself, because if I try to mount the device again over /mnt/sdc1, I get
Quote:
[root@INTA01 mnt]# mount -t ext3 -o defaults /dev/sdc1 /mnt/sdc1
mount: /dev/sdc1 already mounted or /mnt/sdc1 busy
mount: according to mtab, /dev/sdc1 is already mounted on /mnt/sdc1
Or if I do df:
Quote:
[root@INTA01 sdc1]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda6 494M 226M 242M 49% /
/dev/sda1 99M 18M 76M 19% /boot
/dev/sdb1 33G 30G 1.5G 95% /db1
/dev/sdc1 68G 4.6G 60G 8% /mnt/sdc1
/dev/sdc2 68G 33M 64G 1% /mnt/sdc2
/dev/sda5 8.3G 7.5G 372M 96% /home
none 503M 0 503M 0% /dev/shm
/dev/sda2 23G 20G 1.7G 92% /usr
/dev/sda7 1004M 843M 110M 89% /var
but when I try to find the size of /mnt/scd1 I get
Quote:
[root@INTA01 mnt]# du -h
1.0K ./cdrom
1.0K ./floppy
4.0K ./sdc1
4.0K ./sdc2
1.0K ./test
12K .
Even more, if I look at the process table, I get for the programs running over that drive
Quote:
S mysql 8469 8440 0 75 0 38144 17060 schedu Oct10 ? 00:00:03 /usr/libexec/mysqld --defaults-file=/etc/my.cnf --
S 500 9259 1 0 90 5 8476 3075 wait4 Oct10 ? 00:00:03 perl /usr/local/phrap_extract/annotate_GOb.pl -f .
D 500 9263 9259 13 90 5 9436 3686 down Oct10 ? 02:56:30 /usr/local/blast/blast-2.2.14/bin/blastall -p blas
If I shutdown and restart the system, the problem's solved, the partitions are mounted again and working fine.
All my other drives and partitions works fine.
If anyone have a clue, please help me. Thank you very much, and sorry for my poor english.

I'm using Fedora Core 4, with kernel
Quote:
[root@INTA01 mnt]# uname -a
Linux INTA01 2.4.18-14 #1 Wed Sep 4 13:35:50 EDT 2002 i686 i686 i386 GNU/Linux
and mount
Quote:
[root@INTA01 mnt]# mount -V
mount: mount-2.11r
 
Old 10-13-2006, 04:56 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
It looks like your drives are still mounted and working. Your programs that use those drives are still working. I think there is a user error involved. Try using the full path and don't put trailing slashes in your commands. Make sure that you are logged in to the root account.
Code:
ls -la /mnt/sdc1
du -h /mnt/sdc1
See if that format for commands works better.

Last edited by stress_junkie; 10-13-2006 at 04:57 PM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Magic: The disappearing hard drive trick pwaller Linux - Hardware 6 07-20-2006 03:21 PM
Disappearing hard drive Lakota Linux - Hardware 5 01-02-2006 10:03 PM
Disappearing Hard Drive Space LinuxGeek Linux - General 2 08-13-2004 02:08 PM
Disappearing Hard Drive...or...Where Has All My Space Gone? mijenks Linux - General 4 03-07-2004 03:09 PM
Disappearing Hard Drive zuele Linux - Hardware 2 10-28-2003 06:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:59 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