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 01-19-2007, 05:39 AM   #1
Libra
LQ Newbie
 
Registered: Jan 2007
Location: Austria
Distribution: Ubuntu 8.04 Hardy Heron LTS
Posts: 10

Rep: Reputation: 0
Unused harddisk spins up


I posted this before in "Newbie", but I got good answer. Maybe here anyone can give the very hint.

My problem is the following: I have two harddisks,

hda = Linux
hdb = Windows

When running Linux (as I usually do since about 7 years), either my BIOS should stop hdb after four minutes, or I force it to spin down with

hdparm -y /dev/hdb

Note that the harddisk is not mounted!
After a few seconds, about 10 seconds, hdb spins up again. This happens in my Mandrake 10.1.

Furhter notes:
* When using my Debian Live, the disks stops and keeps stopped.
* Even in Mandrake 10.1 (never updated in any way) this worked for about 1 and a half year.

Has anyone any good suggestions what the reason for the hdb to spin up could be?
 
Old 01-19-2007, 08:20 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,623

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
Perhaps it could be the auto-mounter, 'seeing' the hard drive out there, and trying to spin it up and get it ready. Haven't used Mandriva/Mandrake in a couple of years, though.

Just a guess.
 
Old 01-19-2007, 08:33 AM   #3
Libra
LQ Newbie
 
Registered: Jan 2007
Location: Austria
Distribution: Ubuntu 8.04 Hardy Heron LTS
Posts: 10

Original Poster
Rep: Reputation: 0
This is, what mount says (after hdb spinning up), so there is obviously nothing about an automounter:

/dev/hda1 on / type ext3 (rw)
none on /proc type proc (rw)
none on /proc/bus/usb type usbfs (rw)
none on /sys type sysfs (rw)
/dev/hda6 on /home type ext3 (rw)
none on /mnt/cdrom type supermount (rw,noexec,nosuid,nodev,sync,users,dev=/dev/hdd,fs=iso9660,--,umask=0,iocharset=iso8859-15,codepage=850)
none on /mnt/floppy type supermount (rw,sync,dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-15,codepage=850)
none on /mnt/ramfs type tmpfs (rw)
 
Old 01-19-2007, 01:09 PM   #4
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Hard drives life spans gets worst when they have to spin down and then up. I suggest keeping them on or before turning on the computer just disconnect power from the unused hard drive. If you want to save power, I suggest putting the drive in sleep mode after 24 hours have lapse. If you are not going to use the drive after 24 hours, there is a good chance you will not be using it.

Controllers and hard drives can wake up other hard drives if they are in sleep or stand-by mode.

supermount is Mandrake's or Mandriva's automount which I hate. hal, dbus and maybe udev are better for automounting.
 
Old 01-20-2007, 03:57 AM   #5
Libra
LQ Newbie
 
Registered: Jan 2007
Location: Austria
Distribution: Ubuntu 8.04 Hardy Heron LTS
Posts: 10

Original Poster
Rep: Reputation: 0
Thank you, Electro, these are the first good thoughts, but they have some problems:

I never let my computer simply turned on, so 24 hourse are exeggerated. Usually I can say that I'm not using hdb in Linux any way.

Supermount is not a Mandrake/Mandriva-sickness. You can turn it on or off any time you want by modifying /etc/fstab in any Linux.

Disconnecting the power cord was also already a though of mine, but I realised, that my mainboard reacts strange on it and does not bring up the system in any way then.

Still I wonder why it HAD WORKED the same way I do for a long long time.
 
Old 01-24-2007, 12:08 PM   #6
Libra
LQ Newbie
 
Registered: Jan 2007
Location: Austria
Distribution: Ubuntu 8.04 Hardy Heron LTS
Posts: 10

Original Poster
Rep: Reputation: 0
Okay, I could point out the problem. It's not a Linux related problem. It's interesting that this (and other) problem(s) no longer occur when I use another power supply. There is definately a defect in the hardware of the power supply.
 
  


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
Unmounted disk spins up Libra Linux - General 2 01-14-2007 12:32 PM
attempt to access beyond end of device for unused harddisk axim Linux - General 2 01-05-2007 05:26 AM
Deleting unused harddisk blocks sausagejohnson Linux - General 4 06-29-2005 01:04 AM
Low Harddisk space. Can I just transfer the entire Linux to a bigger harddisk? davidas Linux - Newbie 12 04-13-2004 02:03 AM
HD spins to hell bigstrawdog Linux - Hardware 11 05-06-2003 11:23 PM

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

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