sda:
Device Model: Hitachi HDS721010CLA332
Serial Number: JP2940HQ3MP0EH
Firmware Version: JP4OA3EA
User Capacity: 1,000,204,886,016 bytes
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: 8
ATA Standard is: ATA-8-ACS revision 4
sdb:
Model Family: Hitachi Deskstar 7K160
Device Model: Hitachi HDS721616PLAT80
Serial Number: PV6904ZHTYJESN
Firmware Version: P22OA8BA
User Capacity: 160,041,885,696 bytes
Device is: In smartctl database [for details use: -P show]
ATA Version is: 7
ATA Standard is: ATA/ATAPI-7 T13 1532D revision 1
sda:
Offline data collection status: (0x84) Offline data collection activity
was suspended by an interrupting command from host.
Auto Offline Data Collection: Enabled.
sdb:
Offline data collection status: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
sda:
Device State: SMART Off-line Data Collection executing in background (4)
sdb:
Device State: Active (0)
I guess, sda should be “active” too. I’ve tried the state-change options of smartctl (-s, -o, -S, -X), but the read-speed and the device state don’t change…
Have you checked the settings in the motherboard BIOS?
Some boards have an AUTO setup for UDMA / PIO modes. If this is the case the
settings are chosen when the devices are cold and can handle higher speeds.
Check out how these are set and make sure they match the capability of the HDD’s.
All settings are AUTO. And “hdparm -i” and “hdparm -I” report both that udma6 is active:
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
I suppose, that’s the best mode for the drive? In 1-2 hours, I can check other bios settings.
Then I’ll check also, what happens with openSUSE-rescue system.
Peter
Hello,
No success with other bios-settings. But there is no problem with the
openSUSE-rescue system!
sda and sdb are interchanged, so the drive in question is sdb on the rescue
system.
Here the results after playing with hdparm, smartctl and hwinfo:
command normal system (sda) rescue system (sdb)
--------------------------------------------------------------------------------------
hdparm -t 2.50 MB/sec 124.31 MB/sec
smartctl -x Offline data collection activity Offline data collection activity
was suspended by an interrupting was completed without error.
command from host.
Device State: SMART Off-line Data Device State: Active
Collection executing in background
hwinfo Config Status: cfg=no, avail=yes, Config Status: cfg=new, avail=yes,
need=no, active=unknown need=no, active=unknown
hdparm -a readahead = 256 (on) readahead = 1024 (on)
When I adjust the readahead to 1024 on the normal system,
then I can get 10.00 MB/sec. But that’s still far away from
the 124 MB/sec of the rescue system.
The installed system and the rescue system are both openSUSE-11.3.
I’m puzzled…
It depends which BIOS your machine has. On some it’s
→ BIOS SETUP UTILITY
→ Advanced screen
—> IDE Configuration
----> Set the SATA Operation Mode option to [IDE]
Not all BIOS’s are the same but,
it could also be under Integrated Peripherals,
you should have the choice AHCI, IDE, RAID,
it should be on the same page where the SATA in ENABLED.
I’m pretty sure, that I’ve already tried all possible bios settings, but I can
try again this evening.
But again: with the same hardware and the same bios settings, there is no
problem when booting the rescue system. So I’m quite sure, that the problem is
in the OS and not in the bios.
Next step: “init=/bin/bash” Result: 124 MB/sec, good speed.
So, the problem is in the boot-sequence. I had already searched for “warn” and “error” in /var/log/boot.msg before, but this time I’ve spent more time reading this log-file. As result I’ve found this section: