CentOS 5 :: Spin Down Disks When Idle (5.4)?
May 9, 2010
System Specs
3.2 GHz Dell GX280
Sans Digital TR5M-B in JBOD configuration (PCIe 1x)
CentOS 5.4 installed via QmailToaster instructions. Up to date via YUM.
No GUI (no KDE/Gnome), command line only.
My old server died and reinstalled based on above with no problems. All is running well. Box is used as mail/web/home disk network. I want to be able to spin down the drives in the Sans Digital box when idle as they are used mostly for bulk storage (video editing, etc...). The external enclosure on my old server automatically spun down idle drives so this has never been a concern. Google has not helped me so far (operator error?). I did see "hdparm" may work if the drives support it but I am not sure if this is the nest solution.
View 1 Replies
ADVERTISEMENT
Dec 30, 2010
I realize this has been asked many times before, but I'm fairly certain I've read through the majority of those threads and haven't found a working solution yet. I recently built up a Ubuntu Server 10.10 x64 box for backups, serving up files, and development activities. The server is running SATA drives in AHCI mode. Because this is a file server I have quite a few hard drives installed, which are currently a mix of WD 1TB Black and Green drives. I'm attempting to get my non-boot/data only drives to spin down after 10 minutes. I've tried the following:
1. Edit hdparm.conf with the following, replacing 'b' with the identifier for each disk:
Code:
/dev/sdb {
spindown_time = 120
}
This fails, and based on my research I'm pretty sure udev isn't properly running the hdparm configuration anyway.
2. I've also tried manually setting the spin down time with hdparm as follows (via command line and through rc.local):
Code:
hdparm -q -S 120 /dev/sdb
Which states that it successfully set the spin down timer to 10 minutes, but this also fails as the drive never spins down.
3. Finally, I just forced it to spin down immediately with:
Code:
hdparm -y /dev/sdb
This worked! Unfortunately, that approach isn't terribly useful. The drive stayed spun down for 20 minutes (thus far), so I haven't bothered to run iostat, etc to try and figure out if something is keeping the drives active. I don't believe there is because one of my drives isn't even mounted currently and it also won't spin down automatically.
View 5 Replies
View Related
Jun 21, 2010
Ubuntu is not spinning-down my external hard drive when idle. How can I enable this?
View 1 Replies
View Related
Jul 10, 2011
I'm running 10.10 with about 10 SATA disks attached. If I spin them down with hdparm -Y, every disk that has a filesystem on it (but -not- disks that are partitioned but have no filesystem) spin up, simultaneously, about every 10 hours. How do I find the culprit? The machine is sitting effectively idle---I know it's not something I'm doing that's causing the spinups.Is there some way to monitor -anything- that touches a particular block device?
My suspicion is that this might be the gnome low-disk-space warning daemon statting everything. (This -used- to be gnome-volume-manager, but I'm not sure where that code went when GVM was dropped in 10.10---how do I find that code? What package is it in?)
And if it -is- the disk-space monitor, how do I kill it dead? Not just "don't tell me about disks", but "don't even bother looking". I would -really- like these drives to spin down and -stay- down, possibly for days or weeks, until needed---not spin up every 10 hours until I either manually spin them down or until whatever I've set in hdparm spins them back down.
View 9 Replies
View Related
Jun 24, 2010
So, I have raid5 array with one spare disk. Is it possible to spin-off/shutdown the spare disk until one drive fails and the spare disk is needed?
View 1 Replies
View Related
Mar 22, 2011
When I run top d 0.5 on my machine and I press 1 to enable the SMP View, I notice that all of the CPUs keep toggling between 100%idle and 0% idle.
The odd part is that when a CPU goes to 0.0% idle, I would expect to see one or more of the other columns peek, but they are not.
What is causing this?
Code:
View 8 Replies
View Related
Jan 13, 2011
I recently followed this guide to create a RAID1 [URL]First I partitioned the disks with fdiskI made the RAID array with
mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sdb1 /dev/sdc1
Then I created the filesystem with
mkfs.ext3 /dev/md0
I then mounted md0 at /Video with
mount /dev/md0 /Video/
Today I made a samba-share out of /Video/Rorschach to easily put files in there from my windows7-machine (the plan is to steam from my CentOS-server to my HTPC which hasn't arrived yet).I started to put movies in there. It went just fine for a while but then I got this message:
[URL]
How is that even possible when df -h looks like this?:
[root@Rorschach Rorschach]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
446G 70G 354G 17% /
[code]...
View 2 Replies
View Related
Aug 27, 2009
How many disks are required to get Centos 5 up and running.? It has been awhile since I've done an install but I use to use just the first three disks, with the rest being the manuals and such.
View 5 Replies
View Related
Jan 13, 2011
I've downloaded 7 ISO images in order to install CentOS as a Virtual Machine on Fusion. First disk goes through successfully, but when I try to "insert" 2nd disk, I get an error message "unable to access the cdrom". I've ejected 1st disk, mounted second. I tried all possible scenarios I could think of, but still getting an error message.
I see the disk mounted in a terminal:
/dev/disk1 600600 600600 0 100% /Volumes/CentOS_5.5_Final
View 1 Replies
View Related
Feb 23, 2011
Setting up a new Centos 5.5 server with an LSI Logic 7402XP fiber channel HBA card connected by fiber to an enclosure with 28 SATA drives.This is just a bunch of disks.I want to mount them /disk1, /disk2,disk28. No RAID or LVM. After connecting the dsisks and rebooting there are 28 new devices /dev/sdc, /dev/sdd, ...
/dev/sdad. Going to /sys/class/scsi_disk will list all of them. Pick any one and go into device and you can cat the vendor and model and state is "Running." But try parted /dev/sdc and it just quitts. fdisk and mkfs produce errors. Attepting to read or write the device directly with dd fails. The mpt fusion kernel mods are present. I'm pretty sure this hardware is on the suuported list. And I've tried swapping out the card and cables in case of bad hardware. What am I missing to be able to partition and mkfs these disks?
getinfo is at
http://pastebin.centos.org/36873
[root@localhost dev]# cd /dev ; ls sd*
sda sda3 sda6 sdac sdb1 sdb4 sdc sdf sdi sdl sdo sdr sdu sdx
sda1 sda4 sdaa sdad sdb2 sdb5 sdd sdg sdj sdm sdp sds sdv sdy
[code]....
View 8 Replies
View Related
Jan 13, 2010
I've just removed fedora 10 and installed CentOS 5.4 both x86_56 on my Lenovo ThinkCentre 9091-CTO workstation, and observed serious performance degradation while intensive I/O operations and huge load without significant CPU consumption in user mode with about 50% in I/o wait.For example if I do the "tar xjvf some_large_tar.bz" file and run vmstat i get the output below. This is the only cpu and io intensive process running. The load gets up to 6 on C2D CPU and the machine has unacceptable responsivness.
[root@f00 ~]# vmstat 5 10
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
r b swpd free buff cache si so bi bo in cs us sy id wa st
[code]....
View 4 Replies
View Related
Nov 15, 2010
I have a server wich is connected to an iSCSI storage and gets harddisks from this storage. Sometimes I have to add new disks to this server. Everytime I add a disk and make an /etc/init.d/iscsi restart on the server the disks don't have the same device name as before the iscsi restart.
It should be possible to gave the disks persistent names using udev rules. Now I tried to create different rules in "/etc/udev/rules.d/99-static-iscsi-names.rules" e.g.
# /dev/sdc
KERNEL=="sd*", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -s %p",RESULT=="360a98000503355344c4a576864467877" NAME=="sdc%n"
In "/etc/rc.local" I added "/sbin/start_udev" and in "/etc/scsi_id.config" I added the line "vendor="NETAPP",model="LUN",options=-g"
[Code]...
View 3 Replies
View Related
Apr 19, 2009
Having some troubles with NEC AD5170A device - it can`t read any dual layer disks. First layer reading is ok, but when drive switching to second layer it stops and don`t read any data from disk. Media - licensed DVD video disks. Same drive in windows read everything. I try to update firmware, but it doesn`t.
[Code]....
View 2 Replies
View Related
Feb 25, 2010
I just replaced a DVD-RAM drive in one HP server running CentOS5 (2.6.18-164.11.1.el5PAE #1 SMP )
The drive is recognized by the OS:
# lshw -class disk
*-cdrom UNCLAIMED
description: SCSI CD-ROM
product: DVDRAM GSA-T50L
[Code].....
View 2 Replies
View Related
Feb 21, 2011
We have CentOS on an HP proliant g5 server and attached to it is an DAS with 3 branches of disks so 5 - 5 - 5 drives.Now what we had so far there is that every branch was on raid 5 and totaling 3 mounted drives each with 4TB (disks are 1Tb each).But a couple days ago something happened while i was replacing older drives with some bad sectors with new one. What I did is to remove old drive, put in new one, initialize and attach to array and rebuild starts.Now somehow 2 drievs ( as i was rebuilding 2 arrays at once) switched place.so disk on 1_1_5 and disk on 1_3_5 switched place. There coul dbe possibility that I made mistake and assigned them to different arrays when initializing but that is really hardly as i replaced one then later another so...
Anyway to the to the point.Is there painless option to remove 1 disk from array and then assign it to other array and then let raid rebuild everything normally?I;ve made backup of everything there so there is no fear of loosing anything...By the way at the same time when that switch happens a partition from 1 raid array completely dis speared and there is only unallocated space on that one right now.
View 3 Replies
View Related
Feb 25, 2010
I have servers which contain SATA disks and SAS disks. I was testing the speed of writing on these servers and I recognized that SAS 10.000 disks much more slowly than the SATA 7200. What do you think about this slowness? What are the reasons of this slowness?
I am giving the below rates (values) which I took from my test (from my comparisons between SAS 10.000 and SATA 7200);
dd if=/dev/zero of=bigfile.txt bs=1024 count=1000000 when this comment was run in SAS disk server, I took this output(10.000 rpm)
(a new server,2 CPU 8 core and 8 gb ram)
1000000+0 records in
1000000+0 records out
1024000000 bytes (1.0 GB) copied, 12.9662 s, 79.0 MB/s (I have not used this server yet) (hw raid1)
[Code].....
View 3 Replies
View Related
Mar 31, 2010
I have/had a PC with several hard drives, and a mix of ubuntu and windows on multi boot.The old boot drive died screaming, and I need to start again. (But my data is safe! yay!)
Is there anything special about which drive can be the main drive to start booting from? Or to put it another way, can I install to any of the other 3 and expect it to work, or do I need to switch them around so a different drive is on the connections for the recently dead one?
View 2 Replies
View Related
May 21, 2009
I have built a CentOS machine just for playing around with and learning, however for the last few days I have had a couple of disk errors. So I want to replace it with another, and retain the data. I'm fairly new to Linux, but figured you could just image all partitions to another drive, so I tried this with Ghost 11. It imaged OK, but wouldn't boot - it went straight into Grub. What do I do here?
The original disk is just an 80gb IDE, the replacement disk is a 40gb IDE. I made sure it was in the same position on the IDE channel when attempting to boot from the new one (primary).I used Ghost to resize the partition down so that all partitions fitted onto the newer smaller disk.I didn't have much time to investigate further last night, so is it recoverable from the Grub prompt or have I gone about this the wrong way? Should I try using CloneZilla, or PING or should Ghost be able to cope?
View 2 Replies
View Related
May 29, 2010
i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?
View 5 Replies
View Related
Nov 6, 2010
there is a simple command like: Code: yum spininstall "name spin" that allows you to install all packages with a simple command? it would be nice if there :-)
View 3 Replies
View Related
May 8, 2010
I have used the following code for HDD spindown.
Quote:
{
#ifndef WIN_STANDBYNOW1
#define WIN_STANDBYNOW1 0xE0
#endif
[code]....
Is ther any ioctl command to do HDD spin-up from spin-down? or Is there any way to HDD spin-up?
View 2 Replies
View Related
Jul 2, 2010
I come here as a technical PC user and fan of the Ubuntu forums ^^..I am the current owner of a Western Digital Portable HDD - Blue - 320 GB (Advertised).Recently, I have discovered I had bad sectors (Which were remapped I guess according to Ubuntu's Disk Utility-message that popped up in the upper right)... How is something I don't know because I have already had it replaced due to an internal busted USB port, and have taken really good care of it.Well, I right-clicked in My Computer on the drive (Windows XP) and ran Windows Error Checking on it. It took over a day and finally came up with a failure message. During the test, the drive made funky (yes, funky) noises and now is inaccessible. (It will NOT spin up, or show up as a drive in XP ANYWHERE (Including Device Manager) [but it does go into sleep mode o.0])
I do not have my files backed up, and this is so because this IS my backup =. (Or.. 'Temporary File Storage' for the critics out there.)I have access to WinXP, Vista, Ubuntu, Mac OSX, and Win7, and the bottom line is that I don't know what to do.. I bought it at Walmart (about $100) and also a replacement plan.. but the thing is, I'm not sure if it is dead, and whether or not I can somehow recover my files without disassembly..I'm thinking that maybe the Sata / USB internal interface is dead, but wouldn't putting it into another enclosure void the warrantee?Help? (I'm sorry in advance if this has been posted in the past... I would just like to know what I should do)I know this involves Windows, but from reading what I have, I have determined that this forum has more intelligent people than any other.
View 5 Replies
View Related
Apr 23, 2010
Does fedora 12 lxde spin have opeoffice.org?
View 1 Replies
View Related
Nov 9, 2010
I've installed the Xfce spin of Fedora 14 (64). The Panel (or main task bar) has several icons by default and as most people. I like to add/remove and move the different items and shortcuts. I can add and remove, however moving items I cannot. When I right-click and select 'Move', the Panel turns gray, in fact it's completely grayed out, like locked. For info, it was absolutely fine in F13.
View 3 Replies
View Related
Jul 13, 2011
I want a automatic login in my system with fedora 15 LXDE Spin. I followed the steps given in this thread but it doesn't work. There is no login screen option in administration also. What should I do?
View 4 Replies
View Related
Mar 1, 2011
I have a NAS box that runs Ubuntu Server and Samba. 4 of the HDDs are in RAID5 (/dev/md1) and I've configured them to spin down after 10 minutes of inactivity. This filesystem is mounted on /share/Media. The other 2 HDDs are NOT configured to spin down. My other computer runs Ubuntu Desktop. I'm mounting the entire /share folder (that's located on NAS) using this entry in /etc/fstab:
[Code]...
View 2 Replies
View Related
Aug 13, 2011
(Ubuntu 10.10) I went to System->Preferences->Power Management and checked spin down hard disks whet possible. I have two internal sata hard drives. One is for the OS and the other is for media. Neither Hard disk is being spun down. Is there something else I need to do?
View 5 Replies
View Related
Apr 12, 2014
I have a WD20EZRX (Green) 3.5" hard drive installed in an external USB3 case (Icy Box IB-351StU3S-B), which is detected as an AS2105 device in Debian 7 (Linux 3.13 from back ports). My computer is a TP X200s. The problem is that the hard drive does not spin down even with hdparm -S timeout set and the file system unmounted. It does spin down with the hdparm -y command, though, and stays that way until accessed. The case also seems to prevent the TP entering standby mode, or at least the indication light is left blinking when the lid is closed. Other than this, the drive works fine. It does have a GPT partition scheme and ext3 file system.
Note that the TP does have only USB2 ports.
View 0 Replies
View Related
May 9, 2011
I have installed a LXDE F14 spin into my laptop cause I its older, the thing is that I would like to use Gnome login screen, like where you choose your desktop management and insert your password. I have gnome installed as well..
PS. or can I just update LXDE to the version that comes with F15 (I looked to it quickly and seemed cool) without fresh install ?
View 1 Replies
View Related
Aug 29, 2010
I want to install Fedora KDE spin on an existing XFS partition without formatting it. (Since said partition is full of my data that I have nowhere else to put). But the installer doesn't allow me to set the partition as / without formatting. XFS is not one of the filesystems listed as options for formatting. How can I make Fedora do what I want?
View 7 Replies
View Related