LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 12-14-2009, 07:28 AM   #1
kosys
Member
 
Registered: Dec 2007
Location: Kolkata, WB,India
Posts: 30

Rep: Reputation: 15
Red face Seagate External HDD getting unmounted after certain period of inactivity


Hi All,

This is an external HDD(500 GB) Seagate(Freeagent go), OS is RHEL 5.3.
This external HDD has two primary partitions:

Disk /dev/sda: 500.1 GB, 500107860992 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 30401 244196001 83 Linux
/dev/sda2 30402 60801 244188000 83 Linux


Now everytime I'm mounting the hard disk, after certain period of inactivity, its getting unmounted and then remounted in 'Read only' mode. Say, 1 or 2 minutes after mounting in read-write mode, whenever I'm trying to copy some files to HDD, its giving the following error:

[root@demo ~]# tar -zcvf /webb1/test.txt test_bkp/
tar: /webb1/test.txt: Cannot open: Read-only file system
tar: Error is not recoverable: exiting now
test_bkp/
test_bkp/test12009-12-08
test_bkp/stopERP
test_bkp/test3
test_bkp/startERP
test_bkp/test_bkp.log


Following is an excerpt of the /var/log/messages(when files are being copied to the external HDD):


Dec 11 11:14:40 demo kernel: sd 6:0:0:0: Device not ready: <6>: Current: sense k
ey: Not Ready
Dec 11 11:14:40 demo kernel: Add. Sense: Logical unit not ready, initializin
g command required
Dec 11 11:14:40 demo kernel:
Dec 11 11:14:40 demo kernel: end_request: I/O error, dev sda, sector 1052751
Dec 11 11:14:40 demo kernel: printk: 110 messages suppressed.
Dec 11 11:14:40 demo kernel: Buffer I/O error on device sda1, logical block 1315
86
Dec 11 11:14:40 demo kernel: lost page write due to I/O error on sda1
Dec 11 11:14:40 demo kernel: Aborting journal on device sda1.
Dec 11 11:15:07 demo kernel: ext3_abort called.
Dec 11 11:15:07 demo kernel: EXT3-fs error (device sda1): ext3_journal_start_sb:
Detected aborted journal
Dec 11 11:15:07 demo kernel: Remounting filesystem read-only
Dec 11 11:21:14 demo kernel: sd 6:0:0:0: Device not ready: <6>: Current: sense k
ey: Not Ready
Dec 11 11:21:14 demo kernel: Add. Sense: Logical unit not ready, initializin
g command required
Dec 11 11:21:14 demo kernel:
Dec 11 11:21:14 demo kernel: end_request: I/O error, dev sda, sector 489969049
Dec 11 11:21:14 demo kernel: Buffer I/O error on device sda2, logical block 1971
23
Dec 11 11:21:14 demo kernel: lost page write due to I/O error on sda2
Dec 11 11:21:14 demo kernel: Aborting journal on device sda2.
Dec 11 11:21:42 demo kernel: ext3_abort called.
Dec 11 11:21:42 demo kernel: EXT3-fs error (device sda2): ext3_journal_start_sb:
Detected aborted journal
Dec 11 11:21:42 demo kernel: Remounting filesystem read-only

Sometimes its also throwing the following error when giving 'ls -l' command:

# ls -l
ls: reading directory .: Input/output error
total 0

This is a serious issue.....if anyone can highlight as to where the problem lies......with the HDD or with the Kernel.......a suggestion is highly appreciable.

Thanks and Regards,
Kosys
 
Old 12-14-2009, 09:02 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
 
  


Closed Thread


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
Seagate External HDD getting unmounted after certain period of inactivity kosys Linux - Newbie 8 12-17-2009 12:39 PM
Need Help, I unmounted external USB HDD, now will not mount thebrainman SUSE / openSUSE 3 12-14-2008 06:07 PM
Ubuntu compatibility issues with Seagate Free Agent Pro External hdd? meandyou Linux - Hardware 3 12-03-2008 11:23 AM
seagate external HDD r00tNinj4 Linux - Hardware 1 03-19-2006 08:02 AM
Log entry during period of inactivity Gavin Linux - General 1 01-14-2002 02:08 AM


All times are GMT -5. The time now is 11:16 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration