Ubuntu Servers :: Hdparm Won't Put Drives To Sleep After Specific Time

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


ADVERTISEMENT

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 View Related

Debian Hardware :: Persistent Hdparm Setting After Wake From Sleep

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

Fedora Servers :: Set Standby Time To Sleep And Wakes Up Automatically?

Jan 9, 2011

I have a home server that I'd like to put into standby for a specified period of time (like from 1AM to 9AM) daily. How could I make this happen, so that it goes to sleep and wakes up automatically?

View 5 Replies View Related

CentOS 5 Hardware :: Hdparm Misbehaves With ICH7 SATA Drives?

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

General :: Run A Program For A Specific Amount Of Time Starting At A Specific Time?

May 18, 2010

I want to record an internet radio station starting at 2:00am tomorrow morning. The specific program on the radio station lasts until 6:00am. The command I need to run to record the station is: Code:mplayer http://wjcu.jcu.edu:8001/listen.pls -ao pcm:file=indie_heat_of_the_night.wav -vc dummy -vo nullI'd use cron, but 1. I'm not sure how to and 2. it seems unnecessarily complicated for something that I only want to run once. If cron is the only/easiest solution, I guess I'll just have to resort to that, but I'd rather not.

View 12 Replies View Related

Ubuntu :: Screen Goes To Sleep Every Time Try To Login

Oct 24, 2010

Ok so I have had this problem for over a month I downloaded the beta version of ubuntu 10.10 and when I tried to use it all i got to see was the splash screen, then the screen made a weird noise and went to sleep

I tried everything but I didn't get to fix it so I thought oh well i'll be using jaunty jacklope while I wait for the final release

so october 10 finally comes and I connect my pc to my plasma tv because is the only screen on my house that doesn't go on sleep mode when i try to use ubuntu 10.10 and i update everything then i try to connect it to my old screen and it goes back to sleep again

View 4 Replies View Related

Ubuntu :: 11.04 - How To Increase Time For Sleep Mode

May 4, 2011

How can I Increase time between sleeps? I have tried power management without effect.

View 2 Replies View Related

Ubuntu Servers :: RAID-1 OS Drives - Setting Up A Backup Procedure For The OS Drives

Jan 18, 2010

I'm breaking into the OS drive side with RAID-1 now. I have my server set up with a pair of 80 GB drives, mirrored (RAID-1) and have been testing the fail-over and rebuild process. Works great physically failing out either drive. Great! My next quest is setting up a backup procedure for the OS drives, and I want to know how others are doing this.

Here's what I was thinking, and I'd love some feedback: Fail one of the disks out of the RAID-1, then image it to a file, saved on an external disk, using the dd command (if memory serves, it would be something like "sudo dd if=/dev/sda of=backupfilename.img") Then, re-add the failed disk back into the array. In the event I needed to roll back to one of those snapshots, I would just use the "dd" command to dump the image back on to an appropriate hard disk, boot to it, and rebuild the RAID-1 from that.

Does that sound like a good practice, or is there a better way? A couple notes: I do not have the luxury of a stack of extra disks, so I cannot just do the standard mirror breaks and keep the disks on-hand, and using something like a tape drive is also not an option.

View 4 Replies View Related

General :: Change Sleep Time In Knoppix?

Nov 11, 2010

I want to transfer files from one comp to another. Its a few hundred gigs. Since the pc crashed i am using knoppix to access the drive and sharing over samba.

I'm using robocopy to copy the files. But i have a small problem with sleep. Every 30mins or maybe an hour knoppix goes to sleep and my transfer stops. How do i change the time or disable it completely? so i dont have to tap a key every 30mins

View 1 Replies View Related

Fedora :: Changing The Sleep Idle Time?

Sep 23, 2010

Registered: Sep 2010
Location: Pune
Distribution: Fedora and redhat
Posts: 2
Rep: Reputation: 0

how can i change sleep idle time in fedora

View 1 Replies View Related

Ubuntu :: Staticly Assign Device Names (/dev/sda, Etc.) To Specific Hard Drives?

Feb 20, 2011

This is one of those questions where I highly suspect that the answer will be something like ". . .just stinks bein' you, kid."My setup:I have Ubuntu 10.04 x64 (desktop) installed on a computer with a bunch of SATA ports, including one e-SATA on the backBecause of the way the hardware works with these ports, the *external* port is the first SATA port, a second SATA port inside becomes #2, and a cluster of four ports (that can be made into a (ahem!) RAID array become ports 3 through 6.

All ports are configured as SATA (PATA emulation)My boot drive is located on SATA-2 (the inside connector), a four disk "MD" raid array is located on SATA 3-6, and I have an external HD enclosure that I plug into the e-SATA connection.

With all six drives plugged in, they get ordered like this:
/dev/sda - External drive
/dev/sdb - Internal operating system drive (bootable)

[code]....

View 3 Replies View Related

Ubuntu Servers :: Setup Real-time (or Near Real-time) Folder Synchronization Among 2+ Servers

Mar 23, 2010

what the recommended way to set up real-time (or near real-time) folder synchronization among 2+ servers. I looked a rsync but that doesn't sound real-time and it looks like its something that you might put in a cron once an hour.

View 1 Replies View Related

Ubuntu :: Shutting Down At A Specific Time?

Apr 28, 2010

So at work I usually forget to shut down my computer at the end of the day 5:30 and they switch the breaker off at 6pm which cant be good way to shut down a computer. So i was doing some googling and this is what i come up with.

this is the example i found online Code: #crontab -e -u root Code: 0 20 * * * /sbin/shutdown -h now since the above turns it down at 8pm i need to edit it to 5 30pm

Code: 0 17:30 * * * /sbin/shutdown -h now would this be correct?

View 4 Replies View Related

Ubuntu :: Search For File Modified At Specific Time

Aug 20, 2010

How do you find a file modified March 17, 2010, between 3:30 pm and 4:05 pm? I know that I must be missing something somewhere.How do you search for info like this? I goggled "search files time Linux" and got about 38,300,000 results. I looked through the first four pages and did not see what I was looking for.Do I need to calculate how many minutes ago that is and give that to find.I really want to do this in the GUI so that I can operate on the files found without typing in so much stuff.

View 1 Replies View Related

Ubuntu :: Refresh A Particular Page In A Specific Time Interval?

Dec 6, 2010

How to refresh a page automatically?Say for example i need to refresh page in ubuntuforums to get new questions.I feel lazy to refresh the page often.Is it possible to refresh the page automatically in a specific time interval?I have tried ReloadEvery Firefox Add-on.But it refresh all the tabs.What i want is i want to refresh a page in a particular TAB.

View 4 Replies View Related

Ubuntu :: Launch Script At Startup After Specific Time?

Jun 13, 2011

I'm running Ubuntu 10.10 in a computer with a 7200rpm HD, 8Gb Ram, and a Core i7, and the time it takes to load the desktop is insane. There are threads that mention the problem of gnome looking for nonexistent floppy drives and to solve the problem by disabling that in the BIOS (option I don't have). Anyway, besides that problem, by running at startup a gnome-terminal with the iotop command, I noticed that two processes have a huge i/o load on the system: google desktop and ubuntu one. I would like those programs to run as part of the startup process, but be launched after several seconds (to allow the rest of the programs to load). Is there any way I can achieve this? I think there should be a way modifying the commands under startup application, but I cannot find anything that works.

View 2 Replies View Related

Ubuntu :: Waking Automatically From Suspend At Specific Time

Aug 10, 2011

I'm looking to find a way to schedule my computer to wake up at say 7:00am. Every night before I go to bed, I put my computer into suspend so the fan doesn't wake me (old computer). I can't seem to find a task scheduler that allows me to be able to wake the system.

View 6 Replies View Related

General :: Execute At Specific Time ?

Apr 6, 2011

Create a file. change its permissions at a specific time. change the permission.

At the moment this is what I have and it changes the permissions of the file but not according to the time specified.

View 2 Replies View Related

Ubuntu Servers :: Get Notices That There Are Updates For The Server Software From Time To Time?

Mar 29, 2010

I have several file servers in our offices and I am relatively new to Ubuntu / Linux. I get notices that there are updates for the server software from time to time. Is it typical to update everything when available or should I follow "If it ain't broke, don't fix it..." mentality?I would hate for everything to be working fine and then have an update throw me a curve.

View 9 Replies View Related

Ubuntu Servers :: System Time Runs Slow Hareware Time Run Right?

Apr 11, 2011

I am running my Ubuntu 32 bit server on top of Windows 7 64 bit with VirualBox. It's a 2 core Atom. It's been working good for about half a year. But the last about 6 weeks the system time only in Ubuntu is going slow. About -8 per 24 hours! I can only guess because I have more things running in my Windows 7 and Ubuntu.

I can set it right by coping the hareware time to system time with this command:

Code:
hwclock --hctosys

I want to run a crontab to have that command run every minute. But it don't seem to run.

[Code]...

View 9 Replies View Related

Ubuntu Servers :: The Server Goes To Sleep It Can't Be Reached By Network?

Feb 3, 2010

I've installed Ubuntu Server 9.10 on a small VIA C7 pc. Every now and then (it can take days or hours) the server goes to sleep. It can't be reached by network. If I hit the keyboard it comes to life within a second.I've looked in the bios and I cannot find any option that would prevent this. I used to run Debian Lenny on the same machine and never experienced the problem.

View 6 Replies View Related

Ubuntu :: Script To Shutdown My Computer When It Reaches A Specific Time

May 10, 2010

I have looked high and low for this, but to no avail. I am looking for a script to shutdown my computer when it reaches a specific time (say 10:00). I know about the shutdown command but if I use that I cannot shutdown my computer manually. I would like to be able to shutdown manually AND automatically.

View 5 Replies View Related

Ubuntu :: Schedule Unattended Updates To Install At A Specific Time?

Dec 8, 2010

I've been quite puzzled by the behavior of unattended updates - it seems it runs the updates at or before 7am (on all the server installs I've got). They are only set to do security updates unattended, but what I am wondering is if there is a way to change the time that they install? I want the updates to install early in the morning, at like 3am or such, so I can reboot the machine when I get up if needs a reboot.I found a few mentions about it, but nothing specifically talking about the time.[URL]..

View 3 Replies View Related

Ubuntu :: Way To Recognize Drives In Same Order Every Time?

May 28, 2010

I am running Ubuntu 10.04 LTS as a dual boot with WinXP but I am having problems with drive recognition in Ubuntu. I have four internal hard drives, 1 and 2 are standard master and slave and 3 & 4 are on a RAID card. Windows recognises them all okay every time but I have found through a lot of trial and error that Ubuntu will sometimes mount the drives in the order 1,2,3,4 and sometimes it will mount them in the order 3,4,1,2. No matter how I arrange the fstab file, it only works some of the time. If I load my music library into Banshee when the drives are mounted 1,2,3,4 then the next time I boot, if they are mounted 3,4,1,2 it can no longer find my music library etc.Is there a way to make Ubuntu recognise the drives in the same order every time?

View 3 Replies View Related

Ubuntu / Apple :: Extracting Specific File From Mac Time Machine Drive?

Mar 5, 2011

I am trying to extract just a few files/folders from a Time Machine backup, but can't seem to find them. The drive is automatically mounted in Ubuntu, and am able to access after enabling view hidden files, the HFS+ Private Data Directory. But that is a jumbled array of thousands of numbered folders, with each taking a fair amount of time to open on this aging Dell running 10.10.

I've tried running the standard Places - Search for Documents, with 'Show hidden and backup files' enabled, but that won't pull up any of the search times I'm going for (and seemingly won't find anything at all on the drive). So, is there any way to decipher the directory tree so as to be able to access this data from Ubuntu? Or perhaps a file embedded somewhere in there that lists out the original structure, so that I can use it as an index to see what number correlates to what originally named folder?

View 2 Replies View Related

Fedora :: Disable Access Time Specific FOLDERS?

Apr 27, 2011

Can anyone shed some light in this? Using Fedora 14-64, new install, 185 Opteron x 2 gig ram, sata hard drives formatted Ext4.However, in my home directory I have a folder for all my digital photos of which I have more than 20,000, and in another folder I have images and clipart of which I have almost 8,000. That is a lot of read only access to a significant number of files in my home directory.

How can I tell Fedora to not update the LAST ACCESS TIME of those files (specifically images) that will never actually be changed other than just being read. I want to leave that feature enabled for the rest of my home directory. I am trying t; improve my disk performance in Nautilus because whenever I access the folders with my images the system literally slows to a crawl and sometimes even the mouse stops working for several minutes until Nautilus has finished having its heart attack.

View 6 Replies View Related

OpenSUSE Network :: Can't Access Specific Domains After Some Time

Nov 26, 2009

I am using openSUSE 11.2 and had the same issue once before in openSUSE 11.1 After some time, two domains I use very often can't be accessed any more, these are: Google and [URL]... (am doing some OO development recently). At the time where I write this post, only these two are "blocked".

When I try to access these two domains using Firefox, w3m or telnet, it tries to open the connection forever. Ping works fine. I tried opening the IP directly in the browser, but same problem, the connection never reaches. I know it's not a router issue, as the other computers can access these domains. Still, I tried to restart the router, but the issue persists. I tried restarting the network service (/etc/init.d/network stop + start), also nscd, without success. The only way I found to make it work again is to reboot. This problem reappears from time to time, after using the computer for a long time, and accessing these domains a lot of times. Note that I also use suspend to disk, so the "blocked" state is kept after resume. Only reboot "cures" it.

View 9 Replies View Related

General :: Configured A Script To Be Run At Specific Time Using Crontab

Mar 17, 2011

We have configured a script to be run at specific time using crontab.

Code:
# crontab -l

as per the crontab entry script should run every day 11.15 a.m

Every time when the script is executed i get a mail but when i run it using crontab it doesn't send any mail.

However when i execute it manually i get the mails.

Even the execution is getting logged in cron log.

Code:

View 2 Replies View Related

Ubuntu Multimedia :: Switches To Low-graphics Mode When Left Unattended For Some Specific Time

Jun 26, 2010

When I leave my computer and later return, depending on how long I've been away, I find the screen-saver running, the screen turned off, or the computer suspended, i get the error as specified below on a black screen:

Quote:

Ubuntu is running in low-graphics mode.

Your screen, graphics card, and input device settings could not be detected correctly. You will need to configure these yourself.

The message gives several options. Despite some experimentals, The only solution which I have found is to reboot and everything becomes fine as before.

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved