General :: HD Spin Up Delay - Why Not More Pictures Held In Memory Until Disk Is Ready
Apr 13, 2010
I have a security cam watched by a computer with Motion. on that computer i use hdparm -S 240 /dev/hdb to stop the harddrive where the pictures go from running when not used (witch is usually 2 days in a row). Now when motion is detected, the first 3 or 4 pictures are saved, and then there is a pauze for about 5 sec. before the next picture. This has to do with the hard-disk spinning up (I tried without), but I don't understand why not more pictures are held in memory until the disk is ready. how to solve this without having the disk running all days?, or what i should start reading
The mainboard is a Gigabyte GA-MA790FXT-UD5P [URL].
Problem #1: Approx. four out of five times my dvd-rw is not available to the system. If I wish to burn a cdrom, the computer has to be restarted three or four times before the dvd-rw is available. But then it always works without a flaw.
Problem #2: This morning after booting, the system started and displayed a message: "Disk sdf is not ready for mounting, press S to skip or M to fix the problem" I pressed M and edited /etc/fstab, then continued to start-up. Then I started Disk Utility. The harddisk sdf is clearly visible: it's a Samsung HD642JJ and according to three different Smart tests the disk is healthy. But the harddisk is completely absent in the rest of the system. The blkid command does not report sdf, and 'fdisk -l' does not print anything about sdf.
As far as I have been able to test the hardware is healthy. All connections are in good condition, there are no loose connectors. So after thinking about these problems I have a suspicion towards hald and/or the enumerator. I have attached the dmesg output.
I tried to upgrade to the newest ubuntu version (10.04 I think). Now I can't even boot my computer. After the initial "boot" stuff, the ubuntu screen comes on and then locks up in the process. I get the message "The disk drive for / is not ready yet or not present. Continue to wait; or press s to skip mounting or M for manual recovery."I've tried "waiting" overnight to no avail. I tried the "S" command to skip and got the message "[141.233783] Adding 1502036k Swap on /dev/sdb5. Priority-1 extents:1 across:1502036k"
I think the manual recovery is what I need to do. When I type the "M" for manual recovery I get a maintenance shell with the last line being.Can anyone please give me some commands to fix this problem? I have an OLD ubuntu boot disk. How can I get my computer to boot from it? I tried hitting "esc" while booting up to no avail. I also tried hitting F1 while booting up. I think that used to allow me to boot from the CD drive...but doesn't work now.
I upgraded my computer from Ubuntu 10.10 to 11.04 and now the OS doesn't boot correctly. I keep getting the same error msg after selecting Ubuntu from the grub: 'The disk drive for / is not ready yet or not present.' Underneath that line is the other msg: 'Continue to wait; press S to skip or M for manual recovery.'
I tried them both and if i press S then it gives another err msg: 'The disk drive for /tmp is not ready or not present' ; 'Continue to wait; or press S to skip or M for manual recovery' now if i press S then it shows a black screen with this msg:
Code: mountall: Plymouth command failed mountall: Disconnected from Plymouth
How do i recover my system now... I don't want to reinstall the whole of ubuntu 11.04 but i just want the old system back or Ubuntu 11.04 back in working order. I f i continue to wait nothing happens except the screen goes black. I know theres a way through the command line but how?
I was upgrading to Ubuntu 11.04 and the laptop turned off.Once I rebooted, I got this Message :Code:The disk driver for / is not ready yet or not present continue to wait; or press S to skip mounting or M for manual recovery.My laptop Model: Toshiba Satellite A200.
During the boot, the following message appears:The disk drive for /media/sdb1 is not ready yet or not present Continue to wait, press S to skip or M for manual recovery. This started to appear after I use the "pysdm" application.
(Ubuntu Linux server, 64-bits)I was troubleshooting a problem with a file (~3.0 GB) which I had just downloaded, but it was failing the integrity test, when I discovered something really unusual.First this is the MD5 of the file after download, which didn't match the expected value:
This was really unexpected. Since I have a lot of RAM, I suspected this was the effect of caching and something was going awry with it. I decided to retry with the whole file from disk, for my surprise:
~% sudo sysctl -w vm.drop_caches=3 # This linux command invalidates vm.drop_caches = 3 # everything in the memory cache. ~% md5sum media.iso 2992aa6270f6e1de9154730ed3beedc1 media.iso
I redid it and now it seems to stay consistent, although this still isn't the value I was expecting. Certainly, the contents in memory cache were different from the contents on disk.This is the big problem.To fix the download, I created a torrent on the source machine and opened it in the target machine. Five 1MB chunks out of ~3.0GB failed integrity check. I used the torrent to fix these file chunks and how the file integrity is ok.The problem now is to determine where the data got out-of-sync.
I tested the memory with memtest86+, all but the bit fading test. I was expecting to see some failing memory module, but there wasn't anything. Everything is ok.Filesystem is Ext4, over LVM2, over a 3-disk RAID5 array.Ext4 is considered stable, and if data were inconsistent between disks, mdadm would have warned. But there is nothing in the logs. S.M.A.R.T. error logs are clean, the disks are new (have less than 30 days of "power-on-hours").I'm looking for information about any data-loss bugs in my current kernel (2.6.35), but there doesn't seem to be anything, as far as I looked.what else I could check, or where exactly could be the defect/bug?It is a Ubuntu 10.10 64-bit, Core i7 930, 6 GB non-ECC RAM.
Update: I confirmed that the files are being correctly written to the disk, the pages are being altered after they are read from disk, while in memory. I did a lot more memtests (I left it doing bit fade test overnight),and still nothing. All memory modules seem ok.Some more tests:
~% md5sum media.iso cc8bcf1ce67ff7704eadc2222650c087 media.iso ~% cp media.iso tmp[code]....(direcat is a version of cat that reads with O_DIRECT, that is, bypassing page cache)There is a clear pattern: it always happens to the 2nd byte in a 16-byte alignment. In that byte, almost always the bit 4 (LSB) flips to one, but there was one instance where bit 2 flipped to zero.
I'm developing a website. I was wondering if there are any tools out there that make it easy to log and graph usage statistics of how my cpu, memory, disk and network are used.
I need to somehow know when I need to scale up / when I'm going to get problems soon.
I found http://sebastien.godard.pagesperso-orange.fr/ (command line thingy, not so useful because I'd have to write my own graphics and logging layer on top of it..)
I am trying to install 10.10 from a Live CD over my 9.04 (it would not do the upgrade automatically due to apparently lack of disk space.) at the end of the my best guess at the process (alas, Linux is pretty much a plug and pray operation for me.), on rebooting, I get the message: "the disk drive for / is not ready yet or not yet present" I must have messed up at the Allocate Drive SPace / Edit Partition step. I have three existing partitions:
7Gb for OS previously 9.04 35GB for data (which I clearly don't want to mess with) a a bit for Swap.
So, I have clicked on the 7GB partition /dev/sda1 and have another window, Edit Partition, which is asking me: New partition size (I would just leave it at 7007) Use As (I presume I can leave it as EXT4?) Format the Partition (NO unchecked?)and Mount Point? Now here is where I don't have a clue. The pull down options are:
/, /home, /boot, /tmp, /usr, /var, etc.
not knowing any better, my first time through I just picked "/" and that is what got me to the message "the disk drive for / is not ready yet or not yet present" So what should I be specifying at this point?
I've tried to use that thread to help but to no avail, i tried to use this:
[URL]
BUT I CAN'T OPEN A TERMINAL!!! as i am at a point where the screen says: Continue to wait, press S to skip or M for manual recovery. so if i run this command : gksudo gedit /etc/fstab my computer whines about there being no way to show this on the screen, I have tried this:
Use a non-graphical editor, like emacs or vi. Try Ctl+Alt+F3 -- you should get a login prompt. Login to an account with admin privileges (like, the first account you created, for example), and then type 'sudo vi /etc/fstab'; that will open /etc/fstab in the vi editor. Make your changes, save them, exit the editor, reboot... but if you're not used to working with a non-graphics-based editor, you'll have a bit of research to do. It's not hard, though, just tedious.however i have not managed to make it work.
Anyway my actual problem is to change my pictures, download and music folders, since my files are in another HDD partition; I can make it with Ubuntu Tweak, but at the first reboot folders are resetted. Which is the problem? Does this application conflicts with another one (as "compiz fusion icon")?
I am using Ubuntu and looking for a good editor to edit a file that is > 4GB. I just need to put content at the end and beginning of the file. I suppose I could use something like
cat "text to add" >> huge_file
To append to the file. Is that the route to go? What about prepending? In general, what is the best route if I wanted to edit somewhere in the middle?
I've tried VIM and it fails miserably. I assume emacs and nano would be even worse. What else is there? I assume to accomplish what I am looking for, the editor would have to be specifically designed for this by not keeping the entirety of the file's contents in memory.
Running Ubuntu 10.10 along side Windows7 on a 64-bit HP Pavilion dv7 Laptop. Everything works in Windows. Everything works in Ubuntu, except for 2 things.1) I can live with not being able to enable/disable wifi.) I cannot read photos from an SD card plugged into the laptops SD card reader. When I open the SD card in Ubuntu, I can see the file name, but the thumbnails show messed up pictures. Usually, the bottom half of the photo is solid green, and there are usually lines running through the photo, or it is divided into quadrants with one quadrant being ok, but the rest having the green and/or lines.I assume the driver for the card reader is not correct. Card reader works fine in Windows. So I have to reboot into windows, copy pictures from reader to a folder, then reboot into Ubuntu and I can see and open the photos just fine. Just cannot read and copy them from the card while in Ubuntu.
After GRUB 2 comes up (I'm running Ubuntu 10.10) and I choose the OS to boot, there is about a 5 second delay where nothing appears to happen after I make the selection -- no disk activity. It happens consistently every time I boot. Again, this is after I choose the OS to boot, so it shouldn't have anything to do with the standard delay to allow me to choose the appropriate OS.Is there a good way to troubleshoot this and determine what is causing the delay?
On rebooting or initial start up intermittent problem:"The disk drive for /home is ready yet or not present." It seems to happen on a cold startup and if a change is made in init/default file. (addition of the numlockx package modifcation.) So far a second or third restart will find the directory and complete the start-up.
On a 120 gig hard drive I have these partitions: 4 gig swap 25 gig / 90+ gig (the remaining space) /home
I had Windows 7 RC installed and F10 on the same machine. HP 6730s Intel Dual Core. Everything was working fine and I don't remember doing anything special when installing Fedora 10. I decided to install F11 from DVD, installation went fine but after rebooting all I get is "non-system disk error or disk error. replace and strike any key when ready". I couldn't find any relevant post in this forum and googling I found that this could be a disk starting to fail but I don't thing this is the case here. I'm trying to reinstall just now, I chose to install grub at /dev/sda (default), should it be /dev/sda1 ?
I was trying to get the status of memory usage and disk usage using sigar in windows and ubuntu. done this in windows by just copying the sigar library into jdk library. But i was unable to do so in ubuntu. I've copied the library to java-6-sun library but still can't run the program.
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.
I am using malloc and frees a lot in my program. It shows its allocated but when i remove it doesnt show as the memory is removed(I am using the top command to view VIRT memory usage). If this continously grows what would happen to my program (Will it go out of memory?)
I have a computer with 16GB of ram. At the moment, top shows all the RAM is taken, (NOT by cache), but the RAM used by the various processes is very far from 16GB.I have seen this problem several times, but I don't understand what is happening.My only remedy so far has been to reboot the machine.
I have a simple C program that reads a 1 GB file from disk into memory.The first time I run this program, the process takes several seconds. But if I run this program again immediately after it finishes, the read happens almost instantly. What is going on here?My suspicion is that the operating system is realizing that the data I'm trying to read is still uncorrupted in memory (its been freed but not overwritten), so instead of reading it again, it just gives me the same block. I would really like to know what this process is called, or any Googleable keywords that would allow me to research it.
The reason I ask is because the size of my input data has increased. Now I need to read in a 6 GB file (my system has 12 GB of RAM), but I'm not observing the same behavior with the larger file. Each time I run the program the read takes an equally long time.
I'm trying to get the built-in reader on my system working. It's one of those multi-slot ones on the front of the box. The card I have is specifically a "San Disk Memory Stick PRO Duo", this sucker here: [URL]
The light on the reader will light up, but there's zip in any of the kernel logs. I tried the obvious kmods to get it working - tifm_7xx1, tifm_sd, tifm_core, via_sdmmc, mmc_core, etc but no luck.
I have encountered this problem of memory usage is increasing as the during the my program is being run until 1Mb is left then it stays at that.A part of the program is this:
I bought a 4 gb usb memory stick for a windows 7 rescue disk for my 10' asus laptop Eee pc 1005 HAB.Can it work alternate to a CD rescue disk? It has a FAT 32 partition. Maybe I should format it?I used freeware to put Ubuntu 10.10 netbook on the same hardware kind, a Sandisk memory stick. Instead of Nero, Pendrive Linux. I can install it after I make a rescue disk, and shrink drive C.
I installed the latest 10.04.1 server minimal install and enabled the virtualisation option. I compiled enough X so that I could run virt-manager and I was able to create a couple of VMs and run them and manage them, but the problem is that in the graphs in manager, I can only get CPU usage, not Disk or Network IO. The options are greyed out. Am I missing something required for these graphs to work ?
i am having a problem that i would call a bit "important" with my server. so, from last 3 weeks the used space of my hard disk (RAID I) started growing up. i have 2 x 1 tb HDD working on RAID I and i did not install anything those weeks. the space just started changing from 90 GB till 580 GB. now the situation is stable there but i think it's not normal.
the bandwidth usage is low (like 120 gb in 2 months) and i am running 6 counter strike gameservers, a forum, a very little website and some local stuffs... a friend of mine told me that my server could have been hacked but i am afraid it did... some useful informations: when i reboot the server the used space goes down again to ~100 GB and then it starts going up again. i cant really find where all those files are located:
i had configured the opennms but i didint able to get the disk space and memory alert by mail... and also i need a plgin gor opennms can u tell me wat plugins suit for opennmms monitoring tool ...