LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-23-2006, 12:08 AM   #1
kayman
LQ Newbie
 
Registered: Jul 2006
Posts: 8

Rep: Reputation: 0
harddisk problem (maxtor sata2 200GB)


my debian is :
Asus A8N-VM(nforce 430) with maxtor sata2 200GB

when I first install the debian onto it, it's always hanged.
I google the error message and found that it can be solved by adding pci=noacpi like this:

title Debian GNU/Linux, kernel 2.6.15-1-k7
root (hd0,0)
kernel /boot/vmlinuz-2.6.15-1-k7 root=/dev/sda1 ro pci=noacpi
initrd /boot/initrd.img-2.6.15-1-k7
savedefault

however, today when I got up, I found that my web server was down.
I ssh into it and the system turns into "read-only"
I can't edit any files.
The trouble thing is I even can't restart the debian.
When I type "shutdown -r now", it doesn't work.

At last, I have to turn off the power and turn on again.
Then the debian works normally again.

But it's the second time that it turned into "read-only filesystem".

I think it's the harddisk's problem.
How can I solve it?

Can anyone teach me how to restart it remotely when "shutdown -r now" doesn't work?

Thank you!
 
Old 07-23-2006, 12:11 AM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
If shutdown -r now doesn't work, you basically have to pull the power on it. And if shutdown doesn't work, you do have major problems. Does dmesg show any errors, particularly ATA/IDE errors?
 
Old 07-23-2006, 07:37 AM   #3
kayman
LQ Newbie
 
Registered: Jul 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Because the server is not in my home, I want to reboot immediately when it turns into "readonly file system"
so i want to know if there is other method to reboot it remotely

here is part of the dmesg:
sata_nv 0000:00:0e.0: version 0.8
PCI: Setting latency timer of device 0000:00:0e.0 to 64
ata1: SATA max UDMA/133 cmd 0xE800 ctl 0xE482 bmdma 0xE000 irq 5
ata2: SATA max UDMA/133 cmd 0xE400 ctl 0xE082 bmdma 0xE008 irq 5
ata1: dev 0 cfg 49:2f00 82:7c6b 83:7f09 84:4773 85:7c69 86:3e01 87:4763 88:407f
ata1: dev 0 ATA-7, max UDMA/133, 398297088 sectors: LBA48
ata1: dev 0 configured for UDMA/133
scsi0 : sata_nv
ata2: no device found (phy stat 00000000)
scsi1 : sata_nv
Vendor: ATA Model: Maxtor 6V200E0 Rev: VA11
Type: Direct-Access ANSI SCSI revision: 05
PCI: Setting latency timer of device 0000:00:0f.0 to 64
ata3: SATA max UDMA/133 cmd 0xDC00 ctl 0xD882 bmdma 0xD400 irq 5
ata4: SATA max UDMA/133 cmd 0xD800 ctl 0xD482 bmdma 0xD408 irq 5
ata3: no device found (phy stat 00000000)
scsi2 : sata_nv
ata4: no device found (phy stat 00000000)
scsi3 : sata_nv
SCSI device sda: 398297088 512-byte hdwr sectors (203928 MB)
SCSI device sda: drive cache: write back
hdb: ATAPI 40X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
SCSI device sda: 398297088 512-byte hdwr sectors (203928 MB)
SCSI device sda: drive cache: write back
sda: sda1 sda2 sda3 sda4 < sda5 >
sd 0:0:0:0: Attached scsi disk sda
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
kjournald starting. Commit interval 5 seconds
EXT3-fs: sda1: orphan cleanup on readonly fs
ext3_orphan_cleanup: deleting unreferenced inode 2763494
ext3_orphan_cleanup: deleting unreferenced inode 2763493
ext3_orphan_cleanup: deleting unreferenced inode 2763492
EXT3-fs: sda1: 3 orphan inodes deleted
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
Adding 3911816k swap on /dev/sda2. Priority:-1 extents:1 across:3911816k
EXT3 FS on sda1, internal journal
kjournald starting. Commit interval 5 seconds
EXT3 FS on sda5, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.



Quote:
Originally Posted by Matir
If shutdown -r now doesn't work, you basically have to pull the power on it. And if shutdown doesn't work, you do have major problems. Does dmesg show any errors, particularly ATA/IDE errors?
 
Old 07-23-2006, 10:06 AM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
In those messages, I see no problems or signs that anything is amiss. Why do you want to reboot immediately upon it going to read-only mode?
 
Old 07-23-2006, 10:14 AM   #5
AAnarchYY
Member
 
Registered: Sep 2004
Location: Carlisle, MA
Distribution: Debian 8
Posts: 419

Rep: Reputation: 30
Last time ive had that happen to me it was a hard drive failure. Does that drive have SMART? if so try testing it with the smartmon tools
 
Old 07-23-2006, 11:25 AM   #6
kayman
LQ Newbie
 
Registered: Jul 2006
Posts: 8

Original Poster
Rep: Reputation: 0
I think there is no error message because I had reboot it already?

I want to reboot it because in the read-only mode, my web server can't be run. My web server contains many php pages which needs to access mysql.

Here is the output of " smartctl -i /dev/sda"
Device: ATA Maxtor 6V200E0 Version: VA11
Serial number: V40B4H6G
Device type: disk
Local Time is: Mon Jul 24 00:18:53 2006 HKT
Device does not support SMART


So I think it doesn't support SMART.
 
Old 07-23-2006, 11:29 AM   #7
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
smartmontools does not yet support SATA. The output of dmesg following an error would be more demonstrative, allowing us to (possibly) determine the cause of the problem.

Most likely, your hard drive is on its last legs.
 
Old 07-23-2006, 11:39 AM   #8
kayman
LQ Newbie
 
Registered: Jul 2006
Posts: 8

Original Poster
Rep: Reputation: 0
but I bought it two months ago.
Then if it turns into "read-only" mode again, where can I check out the error msg or why it turns into "read-only" mode?
 
Old 07-23-2006, 11:44 AM   #9
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
dmesg will show details on why it has switched to read only mode. Have you noticed any unusual sounds from the disk? You may also want to try using maxtor's tools and seeing if it can check the drive's performance.
 
Old 07-23-2006, 12:01 PM   #10
kayman
LQ Newbie
 
Registered: Jul 2006
Posts: 8

Original Poster
Rep: Reputation: 0
I heard some people said maxtor's sata HD is not working quite well with nForce 430.
And actually, if I didn't add "pci=noacpi" to grub's config, it's hanged so frequently even when using aptitude.

Are there any maxtor's tools for debian?

Quote:
Originally Posted by Matir
dmesg will show details on why it has switched to read only mode. Have you noticed any unusual sounds from the disk? You may also want to try using maxtor's tools and seeing if it can check the drive's performance.
 
  


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
Asrock 939 Dual Sata2 Installation Problem Nekromaan Linux - Hardware 0 05-25-2006 03:05 AM
Problem with SATA2 and Intel 82801EB papasj Linux - Hardware 1 04-02-2006 05:37 AM
Grub and SATA2 Problem BlackDahlia Fedora - Installation 2 01-28-2006 12:33 AM
Maxtor 200gb shows as 33.8gb Gunrunner Linux - Hardware 6 11-14-2004 05:41 PM
Maxtor 200gb One Touch HD Experience MugenAcc99 Linux - Hardware 1 08-06-2004 02:57 AM

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

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