Fedora Hardware :: Set Disk Spindown Time (not Hackish Way)?
Aug 31, 2010
I have a rather strange issue and maybe someone else will clear that up for me.I have an external USB disk (i am using Fedora 13 with KDE) [LG My Netbook Friend (320GB) (HXD5U32GLS)] which doesn't spin down even when not mounted and not in use. While i can turn it off with sdparm i would rather use hal (haven't seen anythin in any file in /usr/share/hal/fdi/policy/10osvendor/ that would relate to spindown time), i have looked at some forums but it is always in some rather weird hackish way like setting some specific device rules in cron.From what i gathered that udev just "points" to hal rules regarding rfkill and all the hardware. Now the question is what command would i have to add to hal's file (i guess i should copy it first to /etc/hal/fdi/policy/ right?) to enable that specific disk to spindown after let's say 30 minutes of being idle?
This isn't a problem with the 2.6.26 kernel that I have been using, but it is with newer ones. I want to upgrade to a backports kernel, because there has been a REALLY long standing 2.6.26 bug with cpu frequency governors and suspending that is never going to get fixed.
Basically, with the 2.6.30 backports kernel, the hard drive spindown time is way too short. I'd like it to spin down after a minute or two of inactivity, but it is spinning down after only 5-10 seconds. Is there any way to fix this? edit: Now that I think about it, this is also a problem on another laptop that runs squeeze.
I'm using Fedora 12 since 2 years lately, I really enjoy this S.O., it's quite robust and wonderful, but a couple of months ago it is really slow to boot up when startup the computer, I've checked everything, but seems to be ok, I had a partition lost arround that date, but recover successfully, it happens when I run gparted that It cannot see partition on my 500 GB disk, but still boots up. When running Mandriva live cd, it can see (?) all partitions on that disk, even with Fedora Dolphin I can access this partitions. What could it be?
I'm not able to spin down my harddisks in raid array. I did hdparm -S 240 /dev/sdb and the same for the second hdd. Smaller values like 2 minutes work. I don't have log files on this disks. How can I determine, which processes are accessing these disks? I have apache and samba running. Nobody is accessing the server.
I wold like to know how to turn off (spindown) SATA HDD on Debian after 10 min inactivity (using a script).I wold like to setup a NAS based on Debian. The NAS will be hallways ON but I want the NAS HDD to gos off after 10 of inactivity. When I access the NAS server the HDD should go back ON (after a small delay)
I've got a few linux boxes (fedora 13 and 11) with a common disk mounted. I'm trying to get them all to write files to that disk, however it seems that only the first to connect actually has permission to write.
I'm very new to this networking stuff and this is a bit of a hack. Is there anyway to give all computers write access to a disk (it's actually a managed back up disk, primarily for windows users but is the only shared disk in the building), or is this likely to be very very complicated?
My DVD drive start working bad recently in KDE 4.4.3 - openSUSE Forums , but this is another very annoying thing happening in my openSUSE box. I have several flash drives, from several sizes and all have the same problem: When I plug them, the drive simply takes a LOT of time mounting and showing the data, but really, a LOT, and meanwhile the flash light blinks the desktop environment its FREEZE, until it shows the mounted drive. Some output from a recently plug that takes again a lot of time:
Code:
[ 4685.082027] usb 1-6: new high speed USB device using ehci_hcd and address 5 [ 4685.579461] usb 1-6: New USB device found, idVendor=0325, idProduct=ac02 [ 4685.579480] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Every time I boot up I have to go through a disk check and then restart, how do I stop it from happening? When the disk checks happening I press escape and it usually says its deleted inode something because it has zero Dtime or some thing similar and also a paragraph of repeated lines saying something like all system files need alsa base.cnfg it will be ignored in a future release then the disk check completes and it restarts and is fine then, also sometimes it says dev/sda5 (my ubuntu partition) was not cleanly unmounted check forces. Is their a way to stop this happening as it ends up taking ages just to login.
When I start the computer I receive the message that the drive that contains the /home partition has an error. If I press "F" the screen says that the drive is no ready, that I can wait, cancel or manually recovery. If I wait, in about 1 minute, the system starts normally. If I press "M" to repair manually, then I press fsck to repair the disk and apparently repairs the disk. But everytime I start (power on) the computer, Ubuntu always checks the disk and gives a dialog where I can: press F to attempt to fix the errors, I to ignore, S to skip mounting or M for manual recovery
These days I see the disk check that is popping up when my Ubuntu is booting up quite frequently. It says 'press C to cancel' but C (or Shift C or CTRL C or CTRL ALT C) does not have any effect. Pressing CTRL+ALT+DELETE reboots but again ends up in the vicious loop of disk check. How to bypass it? When I need to critically enter the desktop for an urgent pressing info waiting for 20 to 25 minutes disk check is kind of difficult.
When booting Fedora 11, my system hangs for a very long time on starting udev. Sometimes I get an I/O error. However, my hardware is fine. I do eventually get in to the system.
I've got fedora 11 set up to use network time protocol to sync my laptop's date & time when I'm on-line. The question is simple really, I've added a local universality's time server (what is public) and it's live. but it's added to the end of the default time servers what come with fedora. How do I get fedora to just use the local time server, is it a case of removing the default time servers for fedora, but there is a box what says advanced options which are. sync system clock before starting service ???? & use Local time source (( is that the same as the local ntp server that I've got set up ))Hope some body can help me with the network time protocol part of Date/Time settings.
I need to know when I have bought a notebook. I know I have formatted disk myself and partition created and Ubuntu installed.Is there any way I can get info when I bought a notebook? Like time of disk formatting, partitions created, Ubuntu installed
i'm trying to get everything working ok. i have installed ubuntu using wubi and i've found that i can access my files on my windows partition from ubuntu. to do this i have to mount the disk and enter the password each time i boot up, and i would like this to be done automatically. i was wondering if this was possible? i put in a link directly to the music folder on windows into my 'places' but it only appears once i have put the password in. its not a huge thing, but its one of those things which would make starting up my ubuntu a lot more conveniant.
My laptop boot up time increased considerably (10 seconds) after allocating a virtual drive for virtualbox guest. The guest installation did not work so i removed it along with the virtual disk. Now everytime when i boot to ubuntu, after inputting my password in the login screen, it takes much longer to load the system. And during the loading time the disk activity indicator light blinks indicating the harddisk is actually busy loading the system.
I decided to search around for a possible answer and force reprofiling ureadahead does the trick Now boot time is back to what it used to be
I have a concern regarding my clock in fedora 12. It always changes time even when I do not change it.
In fedora 10, I to go to CLI > time config > uncheck UTC, But now, it doesn't seem to work. Code: [jun@localhost ~]$ time config Command not found. real0m2.875s code...
my Fedora 11 system is not starting anylonger. It stops with the message:
Code:
VFS: Can't find ext4 filesystem on dev dm-0
The system told me since a while, that a lot of the sectors of one disk of the (software) RAID compound are failed already. So tried to disconnect each of the disks and start them separately. Unfortunaltly this is not working (for one its is not working at all, the other wents the same far as with both), when I tried to recover the system with the Fedora DVD, it said no distribution found. I am quite new and do not know so much about linux system, so i do not know what further information you could need. Maybe it can be important, that both disks are encryped (the system wents so far, that I can type in the password).
I have xp/fc8 on an older ide drive and just installed a new sata 1T and planned to put fc10 on it but in the process I killed my fc8 installation. I told the installer that the other disks were off limits but it was somewhat confusing at the bootloader page. So, I suspect that I told it boot off the fc8 disk. If that is the case is there a way to restore the fc8 install by somehow rescuing the /boot partition on the fc8 disk?
I need little help on live disk creation and disk image backup.
Can I create live disk using my hard drive installation? If yes then, can I restore the fedora from the live disk to the hard drive. I mean to say that from that live disk can I install fedora again in my hard drive.
Second question is, if I create the disk image of my hard drive( including ntfs & FAT32 partition) , can I restore it in a blank drive. If so , then can os will be restored also?
i have been away from linux for a long while and decided to try it out again. i just received a fedora 10 dvd and went to install it.it wouldn't boot on either my laptop or pc?so i explored the disk and realised its a source disk?
1 = is the dvd disk any good to me? 2 = how can i install fedora from the disk or do i need to get another disk?
S.M.A.R.T.tells me my primary fedora drive has lots of bad blocks,so I ordered a used identical drive from ebay.I want to do the very basic process of making a full backup of my existing drive - so as to replace it with a more or less identical replacement. Logically identical - not necewsarily sector to sector identical.im not literate in unix and its children - and seem to find a plethora of descriptinos of how to do what I want to do. which is
1. format the drive - what you may call low level format - ie op sys independent.
2. create a partition system compatible with my existing disk.
3. copy everything from my existing disk to the new disk.
4. put existing disk on the shelf as a backup and start to use new disk.
I am on F15 32-bit with GNOME 3. I keep getting "A Hard Disk Is Failing" warnings from the Disk Utility, very frequently. Is this a serious issue? Because I knew this to be a bug in Palimpsest DU back in F13/14. Also how can I disable any notifications from this application?
It takes me a while to log in the splash screen just sits there for ages before i get to the desktop. Never used to be this slow and I'm not sure why. Firstly, I'm running Ubuntu 11.04, standard DE. I do have conky starting up in a script but it has the & at the end of the line so I didn't think this would cause it (or is there some special case for log in time on how & is treated?). However as a test I will comment out the line in the script and see if it is the cause.
However just for general knowledge and in case that isn't the problem, how does one go seeing what is happening during the time from when one log's in and the desktop is displayed? Is there some kind of log that shows the date/time that can be enabled or is there a debug mode that can be enabled somehow via special keys or maybe from grub?
I am using Debian linux. I have 100 timers running. If a timer expired which will generate a signal and it was mapped to a same function handler. All the timers are mapped to one function handler. The problem is if the timer expires one at a time, the function handler called at a time. But if the 2 timers expires at a time, the function handler is called one time only instead 2 times. Is it possible to invoke the function handler as many times based on timer expirary happens simultaneoulsy?