It frozen up occasionally, when that happens, usually the harddisk light lights up continuously. So I suspect some process is writing to the disk, which prevent other process to go on. how do I find out who's using a lot of IO?
I've got a Centos 5 machine running with a raid 1 SSD hard drive combo, as I don't know how or even if it's possible yet to wipe the free disk space clean I need to be careful to not fill all the free disk space. As I don't want to fill the free disk space too quickly and was wandering if it is possible to pipe the result of a mysqldump to a FTP client only writing it to the ram and not writing it to this disk.
I've done a bit of research on the subject and have found the two following commands: Code: mysqldump < mysqldump options> | gzip > outputfile.sql.gz Code: tar cf - / | ncftpput -c sonic.sega.co.jp /usr/local/backup.tar
I would like to combine the two to make something like this: Code: mysqldump mysqldump_options > | ncftpput ncftpput_options -c SERVER_IP backup.sql
I haven't actually tried my code as it seems too easy and I'm sure I've got something wrong! If this command is even correct will it prevent the sql file from being written to the hard drive to my local machine?
I would like not check first, and if not ok, then to write the permssisions. Means no use to write endessly on disk if not needed. How to check and fix the permissions to avoid writing (chmod o-rwx /home/*) ?
I download the live 64 and burned it to a disk after it burns to the disk Brasero checks and says "error some files could be corrupted." I burn it slowest burn same thing happen. I downloaded thinking I had a corrupted download. Same thing happen. I never had a problem burning iso until now. What am I doing wrong?
I'm writing a script that among other things partitions and formats disks using SW RAID and LVM. I've read somewhere that for older versions of Linux it was a good idea to use the dd command to zero the first couple of blocks od a device before partitioning it (or formatting it?) Is this practice still recommended? To what end?
This is a curiosity of mine, and I expect a technical answer, if someone knows it. Why the systems become so irresponsive when doing hard-disk input and output? This happens even if writing is done to a secondary disk where neither the system or the swap are stored.
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?
I'm very new to linux and running debian 4.0. On boot got an error:
I did a ghost image of drive before I do any more damage and when performing the ghost, ghost stated I need to run fsck. I created the image and noticed that a lot of folders were missing (bin, boot and others).
1. How do I run check disk from an boot disk? 2. Is there something else I should consider?
K3b provides a comfortable user interface to perform most CD/DVD burning tasks. While the experienced user can take influence in all steps of the burning process the beginner may find comfort in the automatic settings and the reasonable K3b defaults which allow a quick start. If you want to install K3b goto ubuntu software center and type K3b in such box and press install button After installation is over open K3b when you open for first time you will see a box called "Did you know...? read that and press Next button. After reading all close that box and use K3b for CD/DVD burning tasks. You want to Add-ons for K3b select six add-ons and press Apply Changes button that all you can use it now. If you want to install K3b through Terminal window follow the this commands To install K3b
sudo apt-get update sudo apt-get install k3b Preview audio tracks withing the playlist editor is one of the features in K3b, you need to install and start arts sound server for this sudo apt-get install arts artsd & you may need to install mp3 plugin for built-in decoding software. sudo apt-get install libk3b2-mp3 Enjoy now.
Whenever I am busy reading or writing large files, or large sum of files, my computer is unresponsive. Screens are getting greyed-out and I just can sit there and wait until the reading/writing is done. This is not caused by the CPU which is overstressed because it is not. Look at the attachments and you will see the CPU is used for about 20%. When these pictures were captured the computer was using hellanzb to unrar a long list of rar-files. When you look at my signature you see the computer is not bad at all, just disk-access is slow. I can transfer files with a maximum speed of 30MB/s. Is that normal or is it very slow? I don't know the numbers. I have 2 SATA disks. O.S. is Mint 9-Isadora, based on Ubuntu 10.04 and I use the 64-bits version.
For internal security reasons I need to prevent ourmcat logs from writing to the webserver local disk. We set up a separate logging server with rsyslog and need to pipe the log data to it.I am trying to work out how to configure tomcat to send all log data to the logging server via the rsyslog client (running locally) via a named pipe. We are on CentOS 5.6, Tomcat 6 and rsyslog 5.8.1. I need to know: 1) do we use the default logging library or log4j2) where is this configured in the tomcat config3) is there any code that would need to be written to achieve this
I was using Terminal and browsing a directory in my home folder. My "home" directory is located on "/dev/sdb1". When in Terminal I typed "ls" in one of my directories and the output was garbage. The output didn't show the files in the directory. I think it said something like, "input/output error". Unfortunately, I didn't write the exact error down. Instead I rebooted.The hard disk with the problem is:
Code: $ sudo hdparm -I /dev/sdb [sudo] password for brian:
I suspect one of my hard disks is faulty and I need to run a check on them. I have seen the documentation about 'e2fsck' but this states that this is unsafe if the filesystem is mounted. Unfortunately the device in question mounted on the root filesystem, so unmounting it is likely to create problems.
want to know enable 32-bit IO-support on my hard driveusing hdparm . But before I enable 32-bit support , I want to knowwhether my hard drive supports 32-bit IO or not. I tried the -I option with hdparm , but it is not telling clearlywhether it supports 32-bit or not. The following is the output from the hard drive of my system (hdparm -I ) .
I am dual booting XP and ubuntu, and everytime i want to go to XP through GRUB, and every time a Windows Disk Check apears. How can i stop this? I've set my hard drive partions to 50/50 (20GB on each side)so could that be the problem?
I have updated from Karmic to Lucid not long ago, and everything went smooth and my system is been working like a charm for about a month. And it still does, with the only issue being that every time I restart my system, one of my partitions is checked.
My disk is split into 4 partitions: sda1, NTFS for windows sda2, ext4 for "/" sda3, ext2 for /home sda4, swap
Now what seems to happen is that sda3 is being marked as "not clean" on every shutdown, which makes me assume that is not being umounted at all.
I've been reading logs, commenting network drives out on fstab.. nothing does the trick.
I've booted into single mode and run e2fsck (which doesn't find anything wrong, and marks the FS as "clean") and then rebooted. The result is: if the FS wasn't mounted when I restart, then I get a clean boot once, but it is checked on the following one; if it was mounted then it is again checked at start-up.
Again, all points to the problem being that the FS is not cleanly umounted on shut-down.
I could not find any log with info of the processes killed and FS umounted at shut-down, so if anybody knows where to look, it could be a good start.
Ubuntu has got this build-in check for errors which starts every 30 startups (if I remember well ) but my one gone missing... Strange. How can I turn it back on ?ound in the forum some information about Bonager, but is this original automatic disk check software shipped with Ubuntu or another piece of software ?
Is there any other way to check the overall size of the hard disk other than just fdisk -l? This is because the cloud server that my company has purchased is supposed to have 50GB of hard disk size,It shows that it has two SCSI drives, only both summing up to 50GBs. So what is the second SCSI drive, and why is it divided that way? dev/sda and dev/sdb???
how can I check if disk devices are running at the proper speed (read/write access)?What are, for example, the correct values for ATA o SCSI device, if I test them with hdparm?
how to check which process consuming a lot of HDD I/O ? Do You know any good command which can show me which process saving something big on the storage system ? "iostat" or maybe "ps" ? Would be great if somebody could past me here nice command.
[root@linux root]# fdisk -l Disk /dev/hda: 40.0 GB, 40020664320 bytes 255 heads, 63 sectors/track, 4865 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System /dev/hda1 * 1 13 104391 83 Linux /dev/hda2 1276 4864 28828642+ f Win95 Ext'd (LBA) /dev/hda3 14 395 3068415 83 Linux /dev/hda4 396 526 1052257+ 82 Linux swap /dev/hda5 1276 3187 15358108+ 7 HPFS/NTFS /dev/hda6 3188 3249 497983+ 8e Linux LVM /dev/hda7 3250 3311 497983+ 8e Linux LVM
Here /dev/hda5 taken of How much capacity for NTFS (need space in MB).
my comp hangs when disk check reaches 91% and pressing C to cancel does nothing. from irc-#ubuntu i was given this "sudo tune2fs -c 0" to cancel all future disk checking but it did not work. my drive is 2 months old.
I had it in mind that Ubuntu ran disk checks every 30 boots, but mine are more frequent - running between 10 & 25, which is an irritation. Records show checks after: 12-21-10-20-10-20-13-25-16-21 boots. Should I worry about either the frequency or the variability? I found threads suggesting how to change the frequency using tune2fs, so I suppose I can try that to stretch the interval to maybe 50 or weekly? Will it have any effect, since there is so much variation already? Is there a GUI for setting this frequency, instead of fiddling in terminal?
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.
I applying changes through update manager in ubuntu 10.04 then my computer froze. So I had to restart it manually. Now I can't boot ubuntu normal or recovery mode.I get an error message saying 'the disk drive / is not ready yet or blah blah'.I don't have a livecd to fix it this with... but here is my 'cat /etc/fstab' relevant output
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