S
S
sallyruthstruik2013-01-19 20:10:23
linux
sallyruthstruik, 2013-01-19 20:10:23

Increasing the power of hard drives in Linux

I recently bought a netbook, Asus 1225B. I installed kUbuntu 12 and ran into this problem: the hard drive began to click, with a frequency of ~ once every 5 seconds. The disk clicks only when the laptop is unplugged from charging. By googling, I found out that the source of the problem is insufficient power supply of the hard drive. So, how can you increase this nutrition? On the netbook, Windows 7 is installed in parallel, it has the same problem, but I mainly work in Linux. And yet, are these cods harmful to the laptop, or rather to its HDD

The laptop itself does not hang and does not show any signs of death. There is only one problem with booting kUbuntu, sometimes it won't boot but hangs on a black screen. With Windows such problems were not observed. Everything else flies.

badblocks did not give bad sectors.

Answer the question

In order to leave comments, you need to log in

6 answer(s)
A
Alexander Karabanov, 2013-01-19
@sallyruthstruik

It's not about lack of food, but about saving energy. Type:
hdparm -B 255 -S 12 /dev/sda
And stop clicking (/dev/sda should be replaced with the address of your hard drive). I learned about it from the article " How I made Ubuntu run 10 hours on battery ". The test laptop at work also clicked ... For the time being.

V
ValdikSS, 2013-01-19
@ValdikSS

These heads are parked, food has nothing to do with it.
Most likely you have pm-utils. To configure parking, you need to twist /etc/pm and /usr/lib/pm-utils
Frequent parking is bad. I have parking with half a minute of inactivity, sort of.
You can check with sudo hdparm -B /dev/sda and sudo hdparm -M /dev/sda

S
sallyruthstruik, 2013-01-19
@sallyruthstruik

Threat To prevent the laptop from turning on the disk power saving mode, in
> / lib / hdparm / hdparm-functions
In the code section

if hdparm_is_on_battery; then
                hdparm_set_option -B128

replace 128 with 254
Thanks everyone! =)

D
Daniel Reed, 2013-01-19
@Remasik

And with screw connectors everything is all right? Is there contact anywhere?
I had a similar case, but with slightly different symptoms, I also had problems with the supply of the screw. The problem turned out to be in the capacitor on the motherboard, in the area around the south bridge.

V
volanddd, 2013-01-19
@volanddd

This will drastically reduce the life of your hard drive.
And write to Asus? All the same, it looks like a physical malfunction and a warranty case.

V
Vovanys, 2013-01-19
@Vovanys

maybe the heads are parked? there used to be such a jamb on WD-shki ... solved with a new screw firmware
in general SMART check

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question