Ubuntu :: Hdparm Not Putting HDD's To Sleep?
Dec 12, 2010
Im wanting to put HDD's to sleep using hdparm after 20min of activity (a 4x disk raid5 array and two single disks). I have edited /etc/hdparm.conf, adding the following lines at the end of the file:
Code:
#6TB RAID5 POWER DOWN
/dev/disk/by-id/scsi-SATA_ST32000542AS_5XW0T1R6 {
spindown_time = 240
[code]....
Code:
sudo hdparm -y /dev/disk/by-id/scsi-SATA_SAMSUNG_HD501LJS0MUJDWQ411622
The HDD's will sleep with out issue. Ive looked around my log files and cant seem to find anything to do with hdparm, or the HDD's sleeping. Have I make a mistake in the .conf file? Is there some place hdparm logs, or if I can activate some sort of verbose mode? Or does hdparm need to be activated on boot?
EDIT: I'm using ubuntu 10.04.1 x64 last updated today.
View 5 Replies
ADVERTISEMENT
Feb 17, 2011
I've just put together a 10.04 server using a GA-D525TUD atom board. I've installed gnome desktop too. I'm trying to get 4 sata drives to go into standby, but hdparm seems to be ignoring the settings. If i issue hdparm -y /dev/sdx the drive duly goes into standby and stays in standby until accessed. I've put entries in rc.local along with the hdparm.conf settings, but still no joy.
Hdparm.conf:
/dev/sdb {
spindown_time = 244
}
[code]....
View 9 Replies
View Related
Jan 26, 2016
I have set up a hdparm configuration file ( /etc/udev/rules.d/50-hdparm.rules ) with :
Code: Select allACTION=="add", SUBSYSTEM=="block", KERNEL=="sda", RUN+="/usr/bin/hdparm -B 255 -S 0 /dev/sda" .
This works correct when I power on my system, however after waking my computer from sleep mode , /dev/sda appears to operate with APM .
Is there a way I can make this setting to be persistent ,i.e. APM disabled when waking up from sleep mode?
I am running Debian Jessie x64.
View 3 Replies
View Related
Jun 23, 2010
Ubuntu 10.04
Under Preferences > Power Management I have changed the settings to never put the computer to sleep and never to put the display to sleep.
My display still goes to sleep and I am prompted for my password when I leave the computer unattended.
I would like to be able to hit the "Lock Screen" app I added to the top panel to lock my screen, but otherwise I would like it to just stay on.
View 1 Replies
View Related
Feb 20, 2010
It has come to my attention that if my laptop's screen (not the computer itself) is put to sleep, then connectivity stops until it is woken up again. This is very annoying! how to prevent this / how to work out
View 2 Replies
View Related
Apr 19, 2010
I've been using ubuntu for the past year now but unfortunately I have to confess I never had to compile anything from scratch. I bought a new intel SSD drive and I've been running some benchmarks on it with various fs. The new hdparm version has a few features that I'd like to test (TRIM/wiper) but I don't know how to install it as it's not in the repositories. I've been googling for almost 4hrs now but I still haven't found a way to do it.
I've downloaded the tar.gz file from sourceforge and I've decompressed it. Inside, it was a debian folder but there was no .deb file in it. Anyway I did a "make hdparm" and it compiled with no errors. It gave me an "hdparm" executable which works fine if I call it with the full path. what's the proper way to install it in place of the already apt-get installed package?
View 2 Replies
View Related
Mar 2, 2010
I'm trying to make sure I don't screw anything up. When I type in the following into the terminal:
sudo hdparm -M 128 /dev/sda
Are the changes permanent, even if I restart? If not, how can I make sure it is permanent? I've read of going into the /etc/hdparm.conf file and editing it, but what exactly do I type and where should it be put in the file?
View 3 Replies
View Related
Jan 11, 2011
can hdparm do secure erase on just a partition or does it have to be the whole drive?
View 5 Replies
View Related
Feb 6, 2011
I'm using hdparm -Y /dev/sda1 to force one of my HDDs to sleep upon system startup, but some process accesses it and it is turned on again. How can I disable the automatic startup of HDDs?
View 1 Replies
View Related
May 25, 2010
I am running Xebian on my old Xbox. Currently I am trying to fit an old hdd that is locked (to a mo-bo that has expired). I have connected it up instead of the dvd drive and booted with it as slave. The OS can access it using hdparm -I /dev/hdb, but it showing as locked I have the key which is:
HDDLockDisablePassword 76 1d d3 2b e9 df 17 96 64 3b 5c 5f d9 95 ba 4e 74 f5 e5 0e 00 00 00 00 00 00 00 00 00 00 00 00
I am trying to input this using hdparm I have tried:
hdparm --security-mode U --security-unlock 761dd32be9df1796643b5c5fd995ba4e74f5e50e000000000000000000000000 /dev/hdb
which doesn't work. What format does the password need to be in. I suspect ASCII but I can't type some of the characters. Is the rest of the syntax correct? EDIT I have another key:
XboxHDKey d0 f3 f9 9a 03 20 41 b7 a4 70 bd eb 1b b3 cc ac
Should I be using this one?
View 1 Replies
View Related
Sep 17, 2010
I have hdparm running and see the reading in gkrellm
.dev/sda = 36 celcius
in messages
smartd[2895]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 108 to 107
Where to change that smartd reading?
View 1 Replies
View Related
Jan 7, 2010
I have SSDs connect to my Linux machine through the LSI SAS/SATA 1068E controller. I've been trying to issue a ATA secure erase command to my SSDs, but I keep getting error. In fact even hdparm -i fails.
# hdparm -i /dev/sda
/dev/sda:
HDIO_DRIVE_CMD(identify) failed: Invalid exchange
HDIO_GET_IDENTITY failed: Invalid argument
Initially I thought there was some kernel configuration issue, so I tried connecting a SSD to the on board SATA and I no longer get errors. The secure erase worked. It seems there is some compatibility issue with hdparm and the LSI controller/driver I'm using. Any way to make hdparm play nice with my LSI controller? Has anyone had success getting hdparm to work with drives connected to an LSI controller?
Additianal info:
Linux Kernel: 2.6.30
hdparm: v9.27
LSI driver: Fusion MPT SAS Host driver 3.04.07
View 4 Replies
View Related
Oct 13, 2010
I have some general question with with quite an impact for the system I use I have a media server with 2 raid1 mirrors of 2 1 To disk aggregated with lvm and used by a big 2 To ext3 partition.A few days ago, munin (awesome!) started to send me notifications about smart attributes of some disks. Fyi, here's my hdparm.conf:
/dev/sda {
spindown_time = 54
}
/dev/sdb {
[code]...
regarding reliability and disk longevity, is it recommended to have them spin down while not used (most of the day, as these are storage unit for movies, pictures, documents..) or let them spin whatever.. ? Those are WD green and according to Tom' Hardware, the consumption is only slightly greater in idle compared to standby. The other question, (boat one as we say in french ) what is the best configuration here ? My 2 raid 1 stripes, or a raid 5 ? I know that two disks kill the raid 5, and they have to be of the same stripe to kill the lvm on the raid1, but what are the odds ?
View 3 Replies
View Related
Jan 23, 2009
I have tried issuing this command:
[root@C5 ~]# hdparm -a 256 -d 1 -r 0 -k 0 -u 0 -c 1 -A 1 -K 0 -P 0 -X 66 -W 0 -S 0 /dev/sda
/dev/sda:
setting fs readahead to 256
setting 32-bit IO_support flag to 1
[code]....
Note that setting most of the parameters fails - and it still appears to be in 16 bit PIO mode. Am I using the wrong tool here - or incorrect parameters - or are the results misleading? Is there some other interpretation?
View 4 Replies
View Related
Sep 10, 2011
On a Powerbook G4, I set hdparm to set the filesystem readahead (-a) to the maximum 2048 on boot. This produces a visible increase in performance... But today the hard drive started acting up - first generating I/O errors when trying to access various system binaries, and the second time bringing the desktop to a standstill and emitting loud clunking noises.In both cases the drive worked normally after a reboot... Even so, these are not what I'd consider good signs. However, the computer was working perfectly up until now, so I'm wondering if my tweaking was responsible. Can overly aggressive filesystem readahead settings damage an IDE hard drive?
View 2 Replies
View Related
Jul 16, 2010
I'm testing OpenSUSE 11.3 on a server and I'd like to disable the write cache on all of my drives. In Ubuntu Server I was able to accomplish this with hdparm by adding the appropriate settings to /etc/hdparm.conf
As far as I can find the only thing that OpenSUSE offers is /etc/sysconfig/ide which allows you to force particular DMA modes. I could just put the hdparm commands in /etc/init.d/boot.local but I'd prefer to do it the right way if there is a right way to do this in OpenSUSE.
View 2 Replies
View Related
Jan 13, 2010
Is it possible to run a .iso without putting it onto a disc?
View 9 Replies
View Related
Apr 26, 2011
I need to dual-boot for exactly 4 days. I have set up my Lucid, and loving it, and I am just afraid that I will not be able to recover the bootloader - I have messed this up many times before.
What are the things I need to know, in order to get it back? If there are any problems (error 17 or 15, by memory), what kind of things can I double-check now, in order to be able to fix anything?
View 3 Replies
View Related
Apr 27, 2010
Here's a trick I'd like to be able to do. You know how on Windows systems, you can copy the contents of the install disk to a folder, then point the system at it and when it would normally ask you to insert your Windows CD, it just reads that folder?
That's pretty much what I want to do. I want to put the contents of the Ubuntu CD-ROM on the HDD such that if I ever need to refer to the CD, it thinks it's already inserted and just reads from there.
This may sound like an odd request, but I'm asking because my Linux server is an old cheapo computer that doesn't have an internal CD-ROM drive. I have one that I can hook up, but it's a pain in the butt to open the case, set the jumpers, attach the drive, reboot, etc.
This would be a lot simpler for me. This way, if I ever need to access something that was on the Ubuntu Server CD-ROM, I want to be able to just get it from right on the hard disk. (I've got the drive space, after all.)
View 2 Replies
View Related
Oct 8, 2010
Whenever I put a few files into a blank CD or DVD, wether it's pictures, music, documents, whatever, and then I use it another day and try to put a few more files into it, Ubuntu won't let me. I used to be able to continue adding files to my CDs in XP, so I'm not sure if there's any way to do that with Ubuntu? It just shows the DVD as (for example) 1.4 GB used, 0 GB free.
View 6 Replies
View Related
Mar 25, 2011
Anyone know of a free mounter I can use with Ubuntu 10.10 for putting OSs on disks?
View 5 Replies
View Related
Jun 6, 2010
I am having trouble trying to install a game which has to be sims 3 the loader and everything loads fine. i am having trouble putting the game in a different directory to what is default.
View 3 Replies
View Related
Mar 17, 2011
I have eight iMac G3's that work. I've never had a mac before, and I'm not interested in anything the mac OS has to offer. I want to totally delete it, and put JUST xubuntu on these computers. I know nothing about Mac, except I got these, and they have pretty colored housings. I've tried using the 'c' and 'apple+c' commands to get this to boot from the xubuntu cd, but it doesn't have any effect. The thing just continues to load OS9.
I'm seeing from all these threads that everyone is pretty much dual booting, or multi-partitioning the hdd. I do NOT want to do this. Is it possible to format the drive completely, so that it is utterly blank, and then install xubuntu? Am I going to have to get new hdd's for them? They all work just fine, no problems except the software is so old that you can't do anything with it but use post it notes.
View 9 Replies
View Related
May 28, 2011
OK I have a simple script that does:
Code:
# Create temporary file:
pwFile="~/Tmp/temp.cnf"
echo "$password" > "$pwFile"
But I get an error message:
Code:
~/Tmp/temp.cnf: No such file or directory
View 3 Replies
View Related
Sep 14, 2010
Can any one tell me how to put the MTA on a RAM disk for faster sending of mails..
View 1 Replies
View Related
May 26, 2010
How exactly do I continue typing after putting in a command in a post?
View 2 Replies
View Related
Nov 14, 2010
I just upgraded to 10.10, had a look at Netbook Edition, and while I like some aspects of it, still prefer the way I've set things up using the standard Gnome Desktop Edition. Thing is, I DO love the idea of putting the titlebar information into the top panel. I like that a lot. Is there any way of doing that in the Desktop edition?
View 3 Replies
View Related
Jan 29, 2011
I would like to put Photos on a DVD disc so they can be viewed on a TV via a DVD player.
What is the easies way to do this? And photos are in PNG format. Will this format work? or do I have to convert them to JPG?
View 9 Replies
View Related
Mar 4, 2011
I'm having some issues getting Ubuntu to boot. I've installed it a bunch of times before, but dual booting and not. Right now though, I'm having issues installing it along with Windows 7, on separate hard drives. Here's my current configuration:
60GB SSD with windows 7
500GB HDD, NTFS, windows 7 data
I bought a 1TB HDD that I want Ubuntu on, but I only want Ubuntu to use 100 GB. I want the other 900GB for Windows 7. So, I put in the Ubuntu CD, chose to edit the partitions manually in the 1TB HDD, created a 100GB ext4 primary partition for linux and a 2GB swap partition, leaving the other 900GB unallocated. Ubuntu seemed to install fine, said it succeeded, and asked me to reboot. When I did, however, my computer boots straight into Windows (no GRUB screen at all). I've tried changing the boot priority to all three of my installed drives from BIOS and tried putting GRUB on both my SSD and 1TB HDD.
View 1 Replies
View Related
Jun 12, 2011
I am not sure does the title make sense with regards to my query.I am using OS 11.4 gnome.I installed a program (PLINK v1.07) by compiling its source.i compiled the source code in the following folder using "make"
Code:
/home/reddy/Downloads/plink/
Which created an executable file plink.
[code]...
View 2 Replies
View Related