Hardware :: Prevent HDD From Starting After Hdparm?

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


ADVERTISEMENT

General :: How To Prevent A Process Starting

Jul 7, 2011

I have synergyc process that starts at boot. How do I prevent this process from starting? I've searched /etc, /etc/init.d for some configs or scripts but found nothing.

View 2 Replies View Related

Ubuntu :: Queue - Prevent From Starting Automatically Upon Logging In?

May 8, 2010

I have a couple apps that I cannot figure out how to prevent them from starting automatically upon logging in. They are NOT listed in my Startup Applications under preferences. For example, pidgin. Pidgin automatically starts at each login even though it is not in the startup apps nor can I find an option in pidgin itself. Tomboy is another. I always get an error that tomboy cannot be added to my panel when I restart. The error in the tomboy panel log is that tomboy is already running. Does ubuntu have a hidden "start up" folder like Windows does in the start menu? Where can I clear this file/folder?

View 3 Replies View Related

Ubuntu :: Prevent Xfce4 From Starting As Well As The Login Window

Sep 7, 2010

I would like to know how to prevent the xfce4 from starting as well as the login window. I just want my tty7 just like my tty6. However I do want to be able to start xfce4.

View 1 Replies View Related

Ubuntu Networking :: Prevent Apache2 Server From Starting At Boot?

Nov 18, 2010

One of my ubuntu 10.04 boxes starts apache2 server automatically at boot. I know from the output of the command:

Code:

sudo /etc/init.d/apache2 status

I can't remember even setting that up, and I don't think it does so by default, since my other box in fact does not even have apache2 server installed. I can stop the server once I login, but is there a way to stop it from automatically starting the server, or even better, completely uninstall the daemon. I tried

Code:

sudo apt-get remove apache2

but that does not work. I guess the daemon is part of some bigger package.

View 2 Replies View Related

Ubuntu :: Finding A Command To Prevent Ristretto Of Starting With The System?

Jan 4, 2011

Ristretto is starting with my Xubuntu... My pc has only 125MB of RAM... Is there a command to prevent ristretto of starting with the system? Are there any other ways to let my xubuntu faster?

View 3 Replies View Related

Ubuntu :: How To Compile The New Hdparm

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

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

General :: Hdparm Secure Erase

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

General :: Use Hdparm To Unlock Drive?

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

Ubuntu :: Making Hdparm Settings Permanent?

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

OpenSUSE Hardware :: 11.3 - Smartd And Hdparm - Different Temp Values

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

Applications :: Hdparm LSI Controller Support - Invalid Argument

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

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

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

Hardware :: Media Server Disk Consumption And Hdparm Configuration?

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

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

Debian Hardware :: Can Hdparm's Readahead Setting Mess Up IDE Hard Drive?

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

OpenSUSE Hardware :: Disable Drive Write Cache At Boot With Hdparm?

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

OpenSUSE Install :: 11.4 Insists In Starting X - Stopped With Message On Tty1 "Starting YaST2"

Jul 18, 2011

I installed OS11.4 on my old laptop, Compaq Armada E500., 512MB RAM, ATI Rage Mobility. During installation I chose "minimal server" and added some development packages, lxde and a little more. I chose to start in runlevel 3 which is full networking without X. Still, when computer is booted it tries to start Xorg which doesn't work because of some problem w driver. The start-up seems to stop there, it never loads completely - seems most things in runlevel 3 are not started (see below) I can manually login on laptop and fix it - but never permanently, same thing again after reboot.

I have checked /etc/inittab & yast - both states default runlevel is 3. I have checked services to be started both directly, browsing directory /etc/rc.d/rc3.d/, and with YaST, it is very clear X should not load during boot. But, as said, it does.. I don't really care about the driver problem right now, I can fix that later when I have more time. So how do I stop X from getting started automatically?

More info, if needed: The installation also stopped with message on tty1 "Starting YaST2" and tty8 showing errors with graphics driver (mach64). The system seemed to be installed though, so I simply rebooted (issuing "reboot" from tty2).

[Code]....

I'm not completely sure where it stops, network is configured but keyboard is wrong and mysql & everything after is not started, so somewhere between S02network and S06kbd. I'm going to use it as a server for testing purposes so no X is actually needed - however I do want to have X & lxde installed just in case, my Internet connection at home is terribly slow so I need most things I might need in the future installed today.

View 1 Replies View Related

Fedora :: How To Prevent Lockout

Jun 26, 2011

I know I need a better title, but don't have one.

The problem is when watching a video F15 Gnome decides to send me to the unlock screen. Think that's what it's called. So I have to type in my pass.

A little bit later, same thing. So how can I prevent it from happening?

View 2 Replies View Related

General :: How To Prevent VNC From Swapping HD

Apr 6, 2010

Actually I'm not sure that it's swapping like mad: I've done more testing and it looks like there may some interference causing the noise that may be correlating with network usage. I'm accessing a MacMini (with MacOS X 10.4) from my Linux machine using VNC. My Linux machine has 4 GB of ram and I run a lot of various apps on it and I've got no issue at all. It's all snappy and don't hear the hard disk swapping/read/writing too often. Now with VNC, the hard disk is swapping like mad. When I'm moving things on the OS X desktop. So I was thinking of creating a ramdisk and forcing the temp VNC files to go into that ramdisk but the problem is I can't find any temp files.

I've attempted to do that:
#!/bin/bash
while [ true ]
do
lsof | grep vnc
done

The VNC version I'm using is this one:
$ vncviewer -version
VNC Viewer Free Edition 4.1.1 for X - built Jan 30 2009 19:33:16
Copyright (C) 2002-2005 RealVNC Ltd.
No matter how much data is coming from the Mac, there should be plenty of memory (4 GB of ram) so there's really no reason to swap like crazy.

View 1 Replies View Related

General :: Prevent CDs Autorun ?

Jan 9, 2010

My linux prevent CDs autorun! i wanna know what to do?

View 1 Replies View Related

Software :: Prevent A User To Log In?

May 11, 2011

Formerly I add a user to the file "/etc/ssh/sshd_config" and run service sshd reload, so that this user can login.Now the user is gone and I have to block this user. I did as follow:1. Take out the user name from "/etc/ssh/sshd_config" and run 'service sshd reload' again. But this user can still log in.

View 3 Replies View Related

Software :: Prevent DNS DoS Attack?

May 30, 2010

I have configured a DNS server on my RHEL 5.0 machine.

I have just come across a term Denial-of-Service attack (DoS attack) or Distributed Denial-of-service attack (DDoS attack).

how can I prevent my DNS server from DoS attacks.

View 5 Replies View Related

CentOS 5 :: How To Prevent Update From 5.3 To 5.4

Oct 23, 2009

when I am doing a "yum update" I receive now a long list (~94MB) because of the latest CentOS 5.4 release.I am running CentOS 5.3 on a virtual machine (virtuozzo) and had already problems to install 5.3 before. To not lose the installation I do not want to update to 5.4 but of course I want to get all updates for 5.3.How can I configure my CentOS 5.3 to update the server only with 5.3 patches/releases and how to prevent it to update to 5.4?

View 7 Replies View Related

Debian :: Prevent Grub-pc From Linking To Other OSs?

Oct 25, 2010

I want to prevent grub-pc from automatically creating links to other operating systems on my laptop. Whenever there is a kernel update, grub.cfg ends with links pointing at my Windows 7 installation - I want to get rid of those links. At the moment I am doing that by manually editing the grub.cfg file and it has always worked that way. I tried to force grub-pc to avoid creating links to Windows by renaming the relevant scripts in /etc/grub.d edbarx@edbarx-pc2:/etc/grub.d$ ls 00_header  05_debian_theme  10_linux  20_linux_xen  _30_os-prober  _30_otheros  40_custom  41_custom  README As you can see I added an underscore to the files that I don't want to be executed.

I think this can be solved by changing the file permissions of the unwanted scripts making them impossible to execute.

edbarx@edbarx-pc2:/etc/grub.d$ ls -l
total 52
-rwxr-xr-x 1 root root 6433 Aug  7 18:10 00_header
-rwxr-xr-x 1 root root 1474 Jul 16 18:46 05_debian_theme
-rwxr-xr-x 1 root root 4252 Aug  7 18:10 10_linux

[Code]....

View 11 Replies View Related

Fedora Networking :: Prevent FF From Access Web ?

Apr 29, 2009

I'll spare the details, but is there a way to use iptables to do the following:

Allow all port 80 traffic to work for squid, yum ,etc. but prevent firefox from talking to port 80?

(That way if they don't use squid proxy, it won't work)

View 4 Replies View Related

Fedora :: Prevent Email Being Sent As Domain Name?

Jun 11, 2010

Some body is using my domain name [URL] and sending spam emails to users from his server using my domain name. how to prevent this.

View 3 Replies View Related

Fedora :: Prevent Display From Turning Off?

Jun 17, 2011

I searched and only got the screen program, and the drop down menu only shows options from 1 min to 1 hour.

View 6 Replies View Related







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