Skip to contentSkip to conversation

Noflushd usage

DISCUSSION Joshua Rogers 4 participants 4 messages Apr 1, 2004

lore
Share & tools
lore
#0 lore raw

Slightly curious here. I have fairly new computer here that I got from walmart.com maybe 4 months ago. I decided to install linux and windows on it. Ok. I installed a 100Gb harddrive into the computer that has all my data on it. And the drive sounds like a jet plane.

How can I (or can I not) make noflushd turn off the second hard drive after about 15 minutes?

My first drive is /dev/hda. It contains Windows 2000 on an NTFS partition, Windows 98 on Fat32, Lycoris (can't remember the fs) and Debian (on ReiserFS). I don't mind this drive, it's quiet and contains only the OSes.

My other drive is /dev/hdb. It is the 100Gb Drive. It consists of 5 partitions, all of which are of type Fat32. My computer is only about 3 feet from my bed, so this drive would definately keep me up. Either that or have to keep shutdown every night.

Also, when I shutdown, if there is something ready to write to the drive, will it save, or will the kernel just ignore it.

I'm running linux kernel 2.6.4, with ACPI enabled. It's a custom kernel, so if I need to make some modifications, I will.

I'm going to be trying this on my Debian Install. I know I can't make /dev/hda spin down (because of the ReiserFS), but I would like to be able to spin down /dev/hdb (containing only FAT32 partitions.)

Oh, one last thing (sorry), I don't know if this has anything to do with it, but when I type 'acpi' at konsole it responds "No support for device type: battery". Is this important? I'm running a desktop, so I'm not using a battery to power the system.

Thanks and sorry for the length of the post.

Joshua Rogers

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#1 lore raw
Quoted 7 lines · Joshua Rogers

Slightly curious here. I have fairly new computer here that I got from walmart.com maybe 4 months ago. I decided to install linux and windows on it. Ok. I installed a 100Gb harddrive into the computer that has all my data on it. And the drive sounds like a jet plane.

How can I (or can I not) make noflushd turn off the second hard drive after about 15 minutes?

I believe "hdparm" is the command you are looking for.

something like:

"hdparm -s 30 /dev/hdb"

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#2 lore raw
Quoted 9 lines · Matthew Frederico
Quoted 5 lines · Joshua Rogers

Slightly curious here. I have fairly new computer here that I got from walmart.com maybe 4 months ago. I decided to install linux and windows on it. Ok. I installed a 100Gb harddrive into the computer that has all my data on it. And the drive sounds like a jet plane.

How can I (or can I not) make noflushd turn off the second hard drive after about 15 minutes?

Quoted 6 lines

I believe "hdparm" is the command you are looking for.

something like:

"hdparm -s 30 /dev/hdb"

I think that argument is uppercase, i.e.:

hdparm -S 240 /dev/hdb

;-)
Chuck
p.s. man hdparm for details.

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#3 lore raw
In reply to Joshua Rogers
Quoted 2 lines · Joshua Rogers

How can I (or can I not) make noflushd turn off the second hard drive after about 15 minutes?

Why use such a program when there is a linux command called 'hdparm'

man hdparm

Should explain, or

/usr/sbin/hdparm -Sxx /dev/hdb

Where -Sxx is -S30 or whatever you choose for your noisy drive.

Signature · 15 lines
If the Linux community is a bunch of theives because they
try to imitate windows programs, then the Windows community
is built on organized crime.

Regards Richard
[email protected]
http://people.zeelandnet.nl/pa3gcu/



-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs