Debian :: Hard Drives Stay Active / Idle

Dec 28, 2015

I am trying to switch over my NAS from Win7 x64 to Debian 8.x Jessie. I have run into a few issues with the power management. When Idle my NAS should be consuming 25W, however it was consuming much more. The more hard disks I mounted, the higher the wattage.

I have followed a few tutorials but that has only been a partial succes.

Code: Select all # hdparm -C /dev/sd[b-y]

/dev/sdb:
 drive state is:  active/idle

/dev/sdc:
 drive state is:  active/idle

/dev/sdd:
 drive state is:  standby

/dev/sde:
 drive state is:  active/idle

/dev/sdf:
 drive state is:  standby

All the drives can spindown but they are not doing that now that they are mounted.

hdparm:
Code: Select all/dev/disk/by-id/ata-SAMSUNG_HD103UJ_S13PJ9AQC12015 {
apm = 127
keep_features_over_reset = on
spindown_time = 60

[Code]....

Now there are two suggestions I found but both I was unable to implement.

The first suggestion was to mount using "noatime". However I do not know how to rewrite fstab because I am using ntfs for now (at least untill I get it working).

Code: Select all# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
#
/dev/mapper/bugattidebian--vg-root / ext4 errors=remount-ro 0 1

[Code] .....

Not sure where to add the noatime there...

Also I am using samba on all those drives. This guide suggested a code change but the example does not line up with my configuration script.

View 6 Replies


ADVERTISEMENT

Server :: Debian RAID 10 Spare Drives Versus Active Drives

Jun 9, 2011

so I setup a raid ten system and I was wondering what that difference between the active and spare drives is ? if I have 4 active drives then 2 the two stripes are then mirrored right?

root@wolfden:~# cat /proc/mdstat
Personalities : [raid0] [raid10]
md1 : active raid10 sda2[0] sdd2[3] sdc2[2] sdb2[1]

[code]....

View 2 Replies View Related

Debian Hardware :: Tape Support Still Active For Old Drives?

Dec 24, 2010

Last month I found an old Seagate Hornet tape drive (STT20000A) with 2 TR-5 tapes at a thrift store. After sitting on a shelf at my place until last week I put it in an old system and installed Debian 5 on it. After a long time of working on it and never finding any useful help newer than 2007 I'm about to put it on eBay. So, here's a few questions:

Can this work in Debian 5 or should I put 4 or older on the system? If I put older linux on it, could I still get ide-scsi module working? apparently it has be obsolete for some time. The main problem is that it locks up the system when I try to write to it.

View 2 Replies View Related

Debian :: Mint Wont Stay On The Main Hard Drive?

Jun 28, 2010

I posted this here because I think Linux Mint is based off of Debian, am I wrong? Anyhow I installed mint to a seperate partition next to windows on my computer. I had my external unplugged at the time... It was actually plugged in at my neighbors. They where watching a movie I had on it; anyhow I plugged it back in went to bed woke up and it took out its own partition on the external.

View 2 Replies View Related

Ubuntu :: Spin Down Idle SATA Drives?

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

Debian Installation :: Installer Does Not See Hard Drives

May 20, 2015

I'm trying to install jessie on a new computer, but the installer does not see the hard drives. I copied the DVD-1 iso to a usb stick with dd (also tried the netinstall) and it boots, but when I get to partitioning, it only sees the usb drive. If I go to another virtual console and run dmesg or fdisk -l, all drives are seen correctly.

Back up a little - at first I tried the on-board raid, but when the installer couldn't see the drives, I went back into the bios and reset the sata mode to ahci. I've got it set to use bios/legacy OS, or whatever it's called, fast boot is disabled. Even if only one drive is connected, the debian installer does not see it. Then I read up on the fake raid I was trying to use and decided to go with software raid. Can't do that if there's no hard drives listed in the partitioner.

My own installer (refractainstaller) does work, and I've installed jessie with it a couple of times onto one drive, but I really wanted to use raid and lvm, and my installer doesn't do either of those things. No optical drive, but if that's the only way to install, I'll pull the one from my current box and use it for the install. I think I still have a blank CD or DVD lying around.

Hardware:
ASUS H97-PLUS LGA 1150
Intel core i3 (the cheapest one at newegg)
WD Black 1TB drives (2)
GSkill cheap memory, which already passed a memtest.

View 4 Replies View Related

Debian :: Mount Multiple External Hard Drives ?

Dec 20, 2010

How to mount multiple external HDD's. I'd like to link or mount the music, torrents, and general files from several external hard drives and apply permissions (in some cases I only want the mount or link to be read only).

My setup:
- Seagate Dockstar running Debian squeeze (it's headless so I don't have a gui running)
- Two external HDD's with one partition on each (250GB and 400GB)

What I'd like to accomplish:
1. Mount the external HDD's to /media/HDDs as read/write (this is already working using udev and autofs and it's available in samba)
2. I'd like the MUSIC directories on both external HDD's to show up under the same mount point. In other words I want the MUSIC folders (from both HDD's) to appear as one large library of music. And I only want this to be readonly. It will be used as the library for mpd and/or squeezebox.
3. Mount a directory used to download torrents to. I'll probably pick on HDD as the target for torrent dowloads. But let me know if you have any other ideas regarding this.

Since I have the first one done, how would I accomplish 2 & 3?

View 1 Replies View Related

Debian :: Swapping Hard-drives With Identical Motherboards

Jul 7, 2011

I have two servers (A and B) which are identical. My idea was to have a software RAID 1 with both of them running and if server A craps out I wanted to swap the hard drives from server B into server A. When I tried to test this idea the network driver doesn't seem to want to cooperate. ifconfig gives nothing and I can't figure out why. From googling I've read that a network card has a unique ID on it (I'm assuming their talking about the MAC address) and is used in some config files which is why swapping hard drives gives two different MAC addresses and confuses the system. If that is so would anyone know exactly what config files the mac address is stored/used in? That way I can make a backup of those files and swap those out if I ever need to swap out the hard drives.

View 2 Replies View Related

Debian Installation :: Dual Install - 2 Hard Drives On Same Pc

Aug 5, 2011

I have searched for this but can not find it. I want to install debian 6.0 squeeze on to both of my hard drives and run each as a seperate instance of debian, and be able to choose at boot up which one I want to run. I have an HP with 2 500 gig hard drives, running windows vista currently, processor is an intell quad 2 core 6600, nothing else on the pc for programs and such at this time. I would also like to keep the windows if possible to run other programs at a later time.

View 10 Replies View Related

Debian Hardware :: Migrating Hard Drives To New Motherboard?

Jan 19, 2016

I am currently thinking about moving my debian install onto another more powerful motherboard/processor/ram amount. My question is how difficult will the move be?

I have done some reading on cloning and or moving. It seems like moving is the best bet,

[URL]

It looks like its as simple as moving the harddrive. But what about multiple hardrives with LVM set up? I also realize I will probably have to find the network drivers for the new motherboard. There's probably other drivers that will need to be installed as well. What would need to be configured in terms of VM set up?

The former set up is,

Asus MB with i3 and 8GB of ram 3 hard drives
VLM set up
samba server for the local windows machines
Virtual Box with one VM - Win 7
SNTP server set up to serve the home network.
SSH with keys
VirtualBox PHP
Transmission for torrents
Plex and Subsonic (for remote streaming), other assorted packages

New Set up is,

Intel mobo with i5 and 16 GB of ram
-I would literally be moving the hard drives into this computer

View 0 Replies View Related

Debian Installation :: Triple Boot On 2 Separate Hard Drives

Sep 16, 2015

I have an HP Elitebook 8540w with 500gb hdd running win7.I plan to replace my blue-ray drive with an ssd using a hhd caddy. The problem is that i want to keep my first hdd (win7) as it is, and install on the new ssd 2 operating systems:win10 and debian 8.

View 3 Replies View Related

Debian Installation :: Recognize Or Mount External Hard Drives

Feb 10, 2011

I just switched to Debian 6 from Mepis 8.5. When Debian loads, it doesn't recognize or mount my external hard drives.

View 4 Replies View Related

Hardware :: Debian Lenny And Support For WD 4K Sector Hard Drives

Jan 15, 2010

As you are probably aware that WD released new drives ranging from 1TB to 2TB with native support for 4K sector size. And as most of stuff written online is regarding Windows and their support for 4K, my question is has anyone already started to use it under linux?

[url]
[url]

I'm thinking about getting one of these drives:
1TB WD10EARS
or
1.5TB WD15EARS

I'm using Debian Lenny so my questions are: is fdisk automatically recognizes that that drive is 4K drive, or it totally ignores it and partition is as 512byte one? In windows if no 4K support is available it would emulate it and performance would be downgraded. Do I need to enable any specific components in kernel so 4K drive is supported? I wanted to make sure there would be no data loss if I select 4K partition type.

View 3 Replies View Related

Debian :: Duel Dedicated Hard Drives One For Debial And One For Windows Xp Home?

Mar 30, 2011

I choose the drive to boot to from the computer Bios. When i boot into Windows my clock time changes, about 5 hours.I have another computer with Ubuntu 10.10 installed, but it will not install on this computer, Debian Did. Ubuntu gave me a command to fix this and it worked. However the Debian computer will not accept that command, Which is open a terminal from the menu applications accessories and type gksudo gedit /ect/defaults/rcs in this configuration change the row UTC set it as:UTC=no save and reboot and then set the clock. [It was set to yes]

View 3 Replies View Related

Server :: 2 Separate External Hard Drives With ESata To Minimize An Electrical Failure To The Drives?

Mar 26, 2011

I am building a home server that will host a multitude of files; from mp3s to ebooks to FEA software and files. I don't know if RAID is the right thing for me. This server will have all the files that I have accumulated over the years and if the drive fails than I will be S.O.L. I have seen discussions where someone has RAID 1 setup but they don't have their drives internally (to the case), they bought 2 separate external hard drives with eSata to minimize an electrical failure to the drives. (I guess this is a good idea)I have also read about having one drive then using a second to rsync data every week. I planned on purchasing 2 enterprise hard drives of 500 MB to 1 GB but I don't have any experience with how I should handle my data

View 10 Replies View Related

Fedora :: Can't Access Any Of The Other Hard Drives From The Other Drives?

Jul 5, 2011

I have Fedora 14 installed on my main internal drive. I have one Fedora 14 and one Fedora 15 installed on two separate USB drives.When I boot into any of these drives, I can't access any of the other hard drives from the other drivesll I can, but just the boot partitions.Is there any way of mounting the other partitions so I can access the information?---------- Post added at 12:42 PM ---------- Previous post was at 09:34 AM ----------I guess even an explanation on why I can't view them would be good too.

View 7 Replies View Related

Ubuntu :: Spin-down External Hard Drive When Idle?

Jun 21, 2010

Ubuntu is not spinning-down my external hard drive when idle. How can I enable this?

View 1 Replies View Related

General :: Hard Drive Won't Spin Down Automatically Or Stay Spun Down When Requested

Sep 28, 2010

GNOME has an option "Spin down hard disks when possible"; is it ever possible? I'm using a netbook so I only have one drive and the operating system is on it. Is the operating system ever idle for more than a few seconds? If I spin down my SATA drive with sdparm it spins back up immediately. It's a 320GB 7200RPM drive; just wondering if I could save some battery life.

View 1 Replies View Related

General :: Hard Drive Malfunctions When Other Hard Drives Are Connected?

Aug 23, 2010

I have a SATA drive that worked fine. Then I installed two more hard drives into my system. When these hard drives are installed, if I try to access the SATA drive in Linux, it will start lightly clicking and then the drive will become unavailable. If I power on the machine without the other two hard drives then it works fine. What could be causing this to happen? I don't think it's heat because the two hard drives are far away from the SATA drive.

View 1 Replies View Related

OpenSUSE Hardware :: Hard Disk Clicking Sound Whilst Idle?

Mar 30, 2010

I can frequently hear a short clicking sound emanating from my hard disk. This only seems to happen whilst it is idle. (I don't get this sound when booting to windows vista).

View 8 Replies View Related

OpenSUSE Network :: Putting Hard Disk To Idle State After It Has Been Unmounted?

Oct 22, 2010

As i understand, after autofs unmounts disk (network or otherwise) it keeps spinning. It costs energy, so i wonder is there any way to put hard disk to idle state after autofs timeout kicks in?

View 4 Replies View Related

Ubuntu :: Hard Drive Working For A Long Time While System Is Idle

Apr 3, 2011

My hard drive all of a sudden starts to read and write all on its own for around 15 seconds at a time while at idle or while I am just browsing the net. At first I thought it was from cron running but I have that disabled.

View 3 Replies View Related

Debian Configuration :: Fstab Configuration And Timeout - Automatically Continues Booting Even If The Hard Drives Are Not Attached?

Aug 3, 2011

I have a PC104 running debian. I have 3 hard drives (in addition to the one booting) mounted in fstab by UUID. I use the options defaults,error=remount-ro. However, this means that when I boot with the hard drives not attached, I have to press Ctrl-D to bypass when the boot discovers the drives are missing. Is there a timeout commandoption I can add to fstab so that it automatically continues booting even if the hard drives are not attached? I could not find anything on a timeout command. (I tried adding timeout=1000 but no-random guess)

View 5 Replies View Related

General :: CPUs Keep Toggling Between 100%idle And 0% Idle

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

OpenSUSE Hardware :: Hard Disk Frequent Head Unloads - Disk Clicking Whilst Idle?

Jun 2, 2010

I created a thread about a problem a I had with my hard disk clicking whilst idle little while ago and I may now have stumbled upon a possible solution. The strange thing with the problem is that Ubuntu/Kubuntu didn't cause this problem but Opensuse 11.2 does.

I installed Fedora 13 to have a glimpse of what all the fuss was about and noticed that I had the same problem (hard disk clicking whilst idle ~ every 20 secs or so). Now there's a wiki on this subject and a few bug reports: [url]

Problem Description

Some ATA harddrives perform very frequent head unloads under Linux significantly shortening their lifespans. Root cause

The inactivity timer for head unload is configured too aggressively either via ATA APM (Advanced Power Management) feature or other non-standard means. Such aggressive settings are very fragile to changes in IO pattern and under Linux many such drives unload their heads only to re-load them shortly. Note that this relentless unloading/reloading cycle can also be triggered under Windows by installing programs which can alter the IO pattern (e.g. certain vaccine programs which runs in background).

Now two of the listed models with this problem are basically identical to my model (Dell Inspiron 1520) and basically share the same hardware: Dell Vostro 1500 and XPS 1520.

The workaround listed is to:

set APM to 254

Furthermore, there is a script: Storage-Fixup which can also be downloaded from opensuse software search. Indeed there is a report of this for a Vostro 1500: Gmane Loom

The report suggests looking at: Disk Power Management - openSUSE which lists a method to create a configuration file to management disk power management:

My question is whether I could download the storage-fixup rpm [url] has a description of it and it can be found: Software.openSUSE.org) and install it to (hopefully) solve the issue or should I follow the method given in: Disk Power Management - openSUSE

to set APM to 254:

Code:

View 3 Replies View Related

CentOS 5 Hardware :: Hard Drives - Creating "alternate" Boot Partitions And "alternate" Root File-systems On The New Drives

Aug 10, 2010

I have a Centos 5.5 system with 2* 250 gig sata physical drives, sda and sdb. Each drive has a linux raid boot partition and a Linux raid LVM partition. Both pairs of partitions are set up with raid 1 mirroring. I want to add more data capacity - and I propose to add a second pair of physical drives - this time 1.5 terabyte drives presumably sdc and sdd. I assume I can just plug in the new hardware - reboot the system and set up the new partitions, raid arrays and LVMs on the live system. My first question:

1) Is there any danger - that adding these drives to arbitrary sata ports on the motherboard will cause the re-enumeration of the "sdx" series in such a way that the system will get confused about where to find the existing raid components and/or the boot or root file-systems? If anyone can point me to a tutorial on how the enumeration of the "sdx" sequence works and how the system finds the raid arrays and root file-system at boot time

2) I intend to use the majority of the new raid array as an LVM "Data Volume" to isolate "data" from "system" files for backup and maintenance purposes. Is there any merit in creating "alternate" boot partitions and "alternate" root file-systems on the new drives so that the system can be backed up there periodically? The intent here is to boot from the newer partition in the event of a corruption or other failure of the current boot or root file-system. If this is a good idea - how would the system know where to find the root file-system if the original one gets corrupted. i.e. At boot time - how does the system know what root file-system to use and where to find it?

3) If I create new LVM /raid partitions on the new drives - should the new LVM be part of the same "volgroup" - or would it be better to make it a separate "volgroup"? What are the issues to consider in making that decision?

View 6 Replies View Related

Debian :: Load On Idle System

Nov 2, 2015

I had noticed that my workstation (running debian testing) is having a constant load of about 0.9 (+/-0.1), even while the system is completly idle.The system starts with a normal load and then goes up to about 0.9 within a few minutes and then will stay there forever (well it can get higher, but never lower). This is the load graph after the system runs some time: URL....

I have tried everything I know to find the cultprint but there is no cpu usage and no io usage. I even have disabled the desktop and still have this problem.Also I have tried booting an older Kernel (4.1 and 3.16) with no difference in the load.Here is some information about my system:

Code: Select all» uname -a
Linux localhorst 4.2.0-1-amd64 #1 SMP Debian 4.2.3-2 (2015-10-14) x86_64 GNU/Linux.

View 7 Replies View Related

Debian :: Server Hangs If Idle?

Apr 14, 2010

I boot it and let him stay alone without even log-in,then thru my local LAN I access the server with SSH or FTP, everything just works fine,but if I just let the server idle for a while, I stop being able to login to the server again.I get no response, and when I go check it , monitor is black, like its sleeping,Then I just press a key on the keyboard, it wakes, and I can login from the server itself.so it does not crash.But login from another computer still doesn´t work,I have to reboot the Linux server to work, and all this idle thing starts over again.

View 3 Replies View Related

Debian :: Printer Remains Idle?

May 17, 2011

This is my first day with Debian, I have used other distros, and am a long time linux user. My HP D 1600 series is recognized, but when I try to print a test msg. it says sent, but the printer remains idle. I have tried everything I know. When I run the trouble shooter I get this. /// /usr/lib/cups/backend/hp failed////

In the past when having a printer problem I have installed HPLIP-gui and removed the printer then re-installed it. That has not worked and I cannot even remove the printer.

View 10 Replies View Related

Debian Configuration :: How To Service /var, /proc, /opt To Stay Out Of Troubles

Jan 26, 2010

HDD partitioned for novice - everything in one partition, in one folder /.

/dev/sda3117290636  38456100  72876432  35% /
tmpfs 1037460 10374600% /lib/init/rw
udev 10240 852 93889% /dev

[code]....

View 3 Replies View Related







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