Red Hat :: Maximal Mount Count Reached - Running E2fsck Is Recommended
Dec 7, 2010
I have centos 5.2.....i get this error while booting...the total hard disk is about 1160 GB....This server is used for file share....it has lots of datas........is it recommended to run fsck.....i am afraid that i will lose datas....is there any way to sort this issue....logs and fstab details are as follows
error on boot
FSTAB
View 7 Replies
ADVERTISEMENT
Feb 14, 2011
I have Squeeze (2.6.32-5-686) installed on sda and have an additional disk sdb.For some reason 'dmesg' gives me always this message for sda1 (after a reboot):
Feb 14 12:29:03 arkiv-x kernel: [ 448.349949] EXT3 FS on sda1, internal journal
Feb 14 12:29:03 arkiv-x kernel: [ 448.470411] loop: module loaded
Feb 14 12:29:03 arkiv-x kernel: [ 448.653327] kjournald starting. Commit interval 5 seconds
[code]....
View 2 Replies
View Related
Jun 29, 2011
We have an old server running, and I decided to run fsck.ext3 -n on the disk to check it (while it was running). Turns out it reports lots of errors - not a good thing.
The weird thing is that when booting up a rescue cd and running fsck.ext3 on it, it says there are no problems with it. The filesystem is marked clean. Forcing a check with -f turns up nothing.
Now, when booting it from disk, fsck complains about an unclean file system that has not been checked for like 50000 days (obviously an error). Running e2fsck -n /dev/sda2 turns up errors again - not necessarily the same ones as the last time.
This makes me wonder: Can running e2fsck on a mounted file system cause errors? I ran with -n which is not supposed to do anything, just doing a read-only check. On the other hand, I heard checking a live file system might throw erros since the files being checked might change while bign checked, thus causing false positives.
Can the old version of e2fstools (1.38, approx 2005) mean non-existing errors are shown? Both the rescue cd and the system use this version.
In any case - why would the file system report errors on boot-up when the rescue cd just said it was ok? It should have been marked clean by now.
For laughs, I shut down the system and booted Knoppix which has a quite recent version (1.41.12, May 2010) of e2fstools. It showed no errors on the file system.
What do you think - are there errors or not on the file system?
The system is actually running Suse, but this is not about Suse specific things - just general Linux tools. And I use Ubuntu personally.
View 4 Replies
View Related
Nov 25, 2010
In this case what is the return value of mount. I want to run e2fsck only when either mount fails or mount succeeded but with errors . Is there some way to detect this situatin "mounting fs with errors" in code/script .
View 6 Replies
View Related
Jan 16, 2011
I am currently in the process of purchasing a new laptop, however there is such a great range of laptops out there. When I finally purchase a new laptop I will be running the latest Ubuntu on it (probaly 11.04 0r 11.10), I will be using the laptop for downloading and burning alot of movies to DVD's, watching movies (from DVD's and my portable hard drive), using office, surfing the web, using email and live chat as well as other basic tasks (updating and downloading software). I would really like to know what CPU and how much ram is recommended for a laptop running these processes regularly.
View 3 Replies
View Related
Nov 3, 2010
I list all the instances of a running process my doing:ps -ef | grep myprogramThis lists all them.how can I simply output a count of how many are running?
View 2 Replies
View Related
Oct 9, 2010
I want to build a NAS like mini pc to be used as a simple tomcat server (for running Jira and perhaps experimenting a bit) and as a GIT server. What kind of system requirements would I have?
Would something like this:[URL]../nas/n...sed-nas-part-2 be sufficient? And if I'd virtualized everything via VMWares would that make a lot of difference?
View 2 Replies
View Related
Apr 3, 2011
what are "multiply-claimed block(s)" when running e2fsck?And should I reply yes to questionCode:Clone multiply-claimed blocks(s)<y>?
View 5 Replies
View Related
Mar 24, 2010
I've had a look at some similar threads but as I'm very new to linux they're already a bit technical for me. Sorry, this calls for someone with patience. I gather from other threads that disconnecting an external drive without unmounting is a no-no, and this seems to be the likely cause. Now the disk is read only and I'm unable to change any settings through the usual control panel on ubuntu. I'm just not familiar with the terminal instructions. I tried to cut and past a few command lines from other threads but I got some warnings that proceding could damage data. Like this one: WARNING! Running e2fsck on a mounted filesystem may cause SEVERE filesystem damage.
View 5 Replies
View Related
Dec 14, 2010
Previously I had posted a question on how to make it run every 7 minutes between 7 and and 11pm.However now I found out what I really need is every 7 minuted between 7:30 and 11pm BUT it has to be every 7 minutes, it cannot reset itself on the top of every hour, so the */7 wont work.How can it that it will be every 7 minutes, so it will go at 7:30, 37,44,51, 58, 8:05, etc..
View 4 Replies
View Related
May 11, 2011
I have one hard disk (call her HDA) that contains nothing but a single ext4 partition containing a backup of all my important data. Last night I did a clean install of Ubuntu 10.10 on my primary hard disk (call her HDB) and from there proceeded to upgrade directly to Ubuntu 11.04 upgrade. In 10.10, I was able to read HDA just fine. However after the upgrade, I can no longer mount this drive. When mounting from file browser:
Code:
Error mounting: mount: wrong fs type, bad option, bad superblock on /dev/sda,missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so The end of dmesg said the following:
Code:
dmesg | tail
[ 82.130904] EXT4-fs (sda): bad geometry: block count 122096646 exceeds size of device (122096381 blocks)
my hard disk has a block count greater than the size of my device. I've done my background searching on this and tried a command line utility I've never heard of before:
Code:
# sudo e2fsck /dev/sda
e2fsck 1.41.14 (22-Dec-2010)
The filesystem size (according to the superblock) is 122096646 blocks
The physical size of the device is 122096381 blocks
[code]....
this is as far as I've gotten. This drive holds over a decade's worth of work for me and is extremely valuable. I really didn't think that the Ubuntu upgrade process would mess with this drive, seeing as the Ubuntu install was contained on an entirely different drive. What is it that I need to do to restore my drive to working status?
View 9 Replies
View Related
Feb 24, 2010
I have the following perl/DBI script:
Quote:
#!/usr/bin/perl
use DBI;
my ($db, $user, $pw) = ('dbname', '****', '***********');
my $dbh = DBI->connect("DBI:mysql:$db",$user,$pw) or die "Cannot connect to $db: $DBI::errstr
[code].....
The error message is
[Wed Feb 24 13:03:27 2010] myscript.cgi: DBD::mysql::st execute failed: Column count doesn't match value count at row 1 at myscript.cgi. [Wed Feb 24 13:03:27 2010] myscript.cgi: DBI::db=HASH(0x8a30c60)->errstr
View 2 Replies
View Related
May 18, 2011
I am very new to linux, and I have a question regarding the filesystem check (fsck). The power recently went out and when I tried to restart linux the following error appears:
*/dev/sda1 contains file system w/errors, check forced it then goes on to say..
*An error occured during the file system check. Dropping you to a shell; the system will reboot when you leave the shell. Give root password for maintenance (or type Control-D to continue) I wasn't sure what to do, but checked some other online forums and they suggested running fsck manually - so I typed in the root password - and used the command, "fsck -A -V ; echo == $? ==" it then gave the following message
*WARNING!!! Running e2fsck on a mounted filesystem may cause SEVERE filesystem damage
*Would you like to continue (y/n)
Again, I wasn't sure what to do so i just checked no. I then manually turned off the computer and was prompted at the beginning to press Alt-3. I was brought to another screen and it informed me one of the drives was degraded and suggested rebuilding the array. I tried doing this, but it still brings me back to the original error of, "/dev/sda1 contains file system w/errors, check forced," and the process continues.
Also, when I tried to rebuild the array, I didn't backup any of the data on our home directory before doing this (which was probably a big mistake). After being prompted to type the root password, I was able to give the ls command and look at all the directories...the home directory where our data was stored was empty and I am afraid I may have lost some information. Is there a possibility that data was lost when I was trying to rebuild using the old drives?
View 2 Replies
View Related
Jul 10, 2011
I can reach the internet just fine with OpenSuSE but when i try to dig mx gmail.com
;<<>> DiG 9.7.3-P3 <<>> mx gmail.com
;; global options: +cmd
;; connection timed out; no servers could be reached
I don't know what to do, YaST always seems like it'll time out but eventually it reaches the internet. Can anyone give me some diagnostic commands to see what is slowing down the network on the server I'm running?
I can't connect to imap or smtp ports remotely.
Edit: I left out one thing, this is a mail server and a web server. Both are not currently being used as this is a fresh install of OpenSuSE
All other devices work fine with dig. Its just the server.
View 1 Replies
View Related
Apr 14, 2010
I have very strange problem with kernels 2.6.33 and 2.6.34. I have a wireless card Linksys WMP200 using rt61pci. It connects just fine using WPA2 and works, but in less than 20 minutes I still can reach any machine on my network, but this machine cannot be reached by the others (i.e. before these 20 minutes others can ping me). With default kernel 2.6.26 (Lenny) all is OK. I do not use any firewall. When this happens logs do not change - wpa_supplicant's log is normal (associated), syslog is fine, dmesg shows no errors. Sofar I have tried this:
1. acpi=off as boot parameter
2. both new kernels 2.6.33 and 2.6.34 are compiled with CONFIG_CF80211_DEFAULT_PS disabled
3. iwconfig wlan0 power off
4. Tried ndiswrapper. The device is up and scans fine but wpa2 is not working...
5. Compiled a kernel without ACPI
This is all I did without any luck and I really need the new kernels because I have a quatech device attached to the machine...
View 10 Replies
View Related
Feb 18, 2010
In the last week or so, I've frequently been running out of X server client connection slots and getting "Maximum number of clients reached" errors. For example, I'm getting it right now and I'm running 3 pterms, Chrome, and Thunderbird; I've even killed my panel. 'xwininfo -root -children' produces what seems to be an absurd number of X clients (150-ish, when it's able to make a connection), even immediately after Gnome/Xfce startup.
It doesn't take long. A day at most. I've had this system up and running for months, and this just started happening. I did install some X development libraries (x11proto-core-dev, libmotif-dev, x11proto-print-dev, and x11proto-xext-dev plus their dependencies) about two weeks ago, but this problem has not been happening that long. I've installed other packages, but nothing that would seem to have any relation to this problem. I've logged out and in, rebooted, and changed from Gnome to Xfce, and none of the changes helped.
View 9 Replies
View Related
Mar 30, 2011
I would like to use ulimit -St <some number> to stop a process form running once the process has exceeded the amount of CPU time specified in the ulimt arg.
I have been able to get ulimit -t (or -Ht) to kill my process, but I need the signal to be something other than 9 and other than SIGXCPU.
Is there a way to have ulimit issue a kill -<somthing else> when the cpu time specified has been exceeded?
View 1 Replies
View Related
Jun 4, 2010
The following recipient(s) cannot be reached:
Im using slack ware 10.2 for may mail server.
View 8 Replies
View Related
Mar 8, 2011
When I try to delete a file, ( move to trash ) It says , The trash has reached It's maximum size! clean the trash manually. When I click on the trash icon on desktop it is empty. Where is the trash? Where can I delete these files ?
View 2 Replies
View Related
Feb 21, 2011
I have done nothing with the system, but starting this morning, i experienced a strange condition on my desktop. I'm unable to open any applications at all. It will close instantly.
When i tried to run from terminal, it will give me an error like this:
Quote:
I checked using
Code:
And i got around 234 which is too much that it takes almost all of the open files allowed. Logging out to text and brings back X will solve the problem, but it's only a temporary solution until X opens more sockets again. I'm running -Current (32 bit)
It seems that there's a hackish solution in here: [url]. Dunno whether it's a nice solution or not, but i'm willing to try it.
View 5 Replies
View Related
Feb 3, 2010
I've installed Ubuntu Server 9.10 on a small VIA C7 pc. Every now and then (it can take days or hours) the server goes to sleep. It can't be reached by network. If I hit the keyboard it comes to life within a second.I've looked in the bios and I cannot find any option that would prevent this. I used to run Debian Lenny on the same machine and never experienced the problem.
View 6 Replies
View Related
Mar 28, 2011
I have 2 different networks :the first one is gateway machine (eth0), and the second is a private machine (eth1). So, I've configured the iptables and forwarding stuff and when I try to ping [url]..... on the gateway machine, it works, while it doesn't work on the private network. Note: I am using VmWare 7, CentOS 5.
I could say that the problem in DNS:because when I use this command in the private network machine: [url]...., it says connection timed out; no servers could be reached ,while in the public one, it works properly.....
View 1 Replies
View Related
May 4, 2009
I tried ubuntu for a few weeks, but I couldn't get the nvidia drivers to work, I tried everything. So, I got sick of that, and went to download OpenSuse, which seems to be even nicer (..... ) I downloaded the 11.1 liveCD (gnome) from here. I nicley got the welcome screen, and the option screen (liveCD, check errors etc.). I chose LiveCD and it started booting, I got the splash screen with the loading bar, and after it completely loaded, the screen turns black with a lot of messages and at the end:
Code:
GdmLocalDisplayFactory: Maximum number of X display failures reached: Check X server log for errors.
Great, I hoped for better luck after Ubuntu..
My sys. specs:
Asus F3Sc 32bit
Intel CentrinoDuo
[Code]...
View 2 Replies
View Related
Feb 17, 2011
I have standalone Suse 10 SP3 that when I run
Code: # hostname webserver but when I run host command
Code: # host webserver;; connection timed out; no servers could be reached I would like to get the IP when I issue
[Code]....
View 3 Replies
View Related
Nov 6, 2010
Ever since upgrading to Fedora 14, my system has been almost unusable. I can only have a few windows of anything open before I start getting messages about:
Maximum number of clients reachedMaximum number of clients reachedMaximum number of clients reachedMaximum number of clients reachedxwininfo: unable to open display ':0.0'
I am unable to open any new windows then and lots of programs crash.
When things are still running correctly.
A few minutes later:
View 3 Replies
View Related
Jun 18, 2010
I have a Linux server running CentOS with 2GB RAM. I am searching in google and also in this forum but could not find any luck yet. I am searching the way that we can receive notification by system to a specified email when the memory reached a specified value we defined.
Is there any tool or sort of shell script we set via crontab every minute to check that?
View 2 Replies
View Related
Jul 27, 2010
I have a volume on my server that according to tune2fs is "clean with errors", so i'm assuming I either need to unmount the volume and e2fsck it, or reboot and drop into maintenance mode and do itThere aren't any live samba shares off that volume, so i'm thinking I could do it without taking the server down, as this server is only for samba shares, which are on a different volume.Could someone tell me if I'm taking the right approach? I've never done unmounting and mounting before, but I've read it can be done manually without affecting how the volumes are mounted when a server starts. i'll have to look up the commands.
View 6 Replies
View Related
Jun 14, 2010
Other than when there are errors in the messages log or when you have file system problems, when should you e2fsck volumes? I have a lot of volumes that have 500GB to 1TB of data on them, and it takes quite a while to e2fsck them, so wondering if its something that should be done regularly, or only when there are actually problems.
View 11 Replies
View Related
Mar 10, 2011
Why does an e2fsck restart itself after a while, does it get to a certain number of errors than has to start over from the beginning? are there any tweaks or switches you can use to make it run more efficiently?
View 4 Replies
View Related
Apr 8, 2010
My problems is that after i've DL a program and then use unrar to open up the files...I was able to successfully mount a linux version game using Furious ISO mount (the game is Civilization call to power loki) Now I can see the files inside the folder but I can't figure out how to run the game after its mounted
I've looked around a lil bit and I know someone has probably asked this question before but most of what i find is people asking how to mount the image to begin with
View 5 Replies
View Related