OpenSUSE Install :: Boot Failes With "fsck.ext3: Error Too Many Open Files"?
Apr 12, 2010
After upgrading from opensuse 11.1 to 11.2 I get the following error messages while booting the system caused by the initial filesystem check routines:
ERROR: Couldn't open /dev/null (Too many open files)
ext2fs_check_if_mount: Too many open files while determining whether ... is mounted.
fsck.ext3: Too many open files while trying to open ...
I found a new version of the e2fsprogs at the OBS package claiming to fix this problem. But installing this new version did not solve my problem.
Here some information about the affected system:
Operating System:openSUSE 11.2 (i586)
Installed e2fsprogs:e2fsprogs-1.41.11-4.1.i586
Number of LVs:35 (all ext3)
I can only boot if I comment out some of the filesystems in my /etc/fstab. It seems that the number of filesystems must be less or equal 32.
I was running 11.0 and it stalled in the middle of a number of updates. On reboot I now get (if I remember correctly) Error 15: File not found.I managed to get my hands on a 11.0 live cd and started trying to fix grub. However, when I try mounting the harddrive using "mount /dev/sda1" I got
Code: can`t find sda1 in /etc/fstab or /etc/mtab "mount /dev/sda1 /mnt" gives
After a massive update including grub (not the problem) I cannot mount and boot because of the dubject error message. /root (dm-0) and swap (dm-1) are ok its just /home (dm-2) that appears broken.
During the file system check of an ext3 partition at boot I get the following output:
The super-block could not be read or does not describe a correct ext2 filesystem. If the device is still valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate super-block:
I'm then forced to login in as root and given the following prompt:
I'm reluctant to do as advised by the output and run e2fsck -b because it is not an ext2 filesystem.
Although I can still enter runlevel 5, it doesn't seem to recognise mouse and keyboard input in KDE so my system is effectively redundant at the mo. For this reason any short term workarounds are welcome, but a fix is needed. This problem is part of a longer saga to do with recovering a Windows Vista installation which started failing to boot. I have used both Vista and SUSE tools to try and recover my bootloader to no avail, and this has been the result. If more detail about this is needed please ask and I can explain what I have done.
I have a serious problem in booting centos 5.4 x86 as shown in the attached picture.I tried to backup before using fsck command, but I could not make a backup of damaged lvm on hard drive.First I made a rescue centos at virtualbox, and installed centos 5.4 x86 on virtual hard disk.And I attatched damaged hard drive. S I can see this damaged hard drive's lvm as attached picture.Please let me know how to backup my files and to use "fsck.ext3 --rebuild-tree using livecd".
I have a problem partitioning an Hard Disk Drive on a server, and I hope someone can help me with this. Here is the system configuration: Operating System Linux localhost.localdomain 2.6.30.8-64.fc11.x86_64 #1 SMP Fri Sep 25 04:43:32 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
Hardware: RAID bus controller: Hewlett-Packard Company Smart Array G6 controllers (rev 01)
The system mounts one hard disk (120 Gb) with the OS, and four 1.5Tb Hard Disks mounted on RAID 10 for a total of ~3 Tb I need to create several partitions on this RAID drive, but I have some trouble doing it. I need a total of 10 partitions of different sizes:
I Tarred and GZipped most of the data on one 1Tb partition and stuck the archives on a second 1Tb partition on a separate disk. I then proceeded to format the first partition with NTFS (from Linux.) The only problem is that I completely forgot that I had a CD drive and formatted sdc1 instead of sdd1! I began doing a full NTFS format and after a minute or two I cancelled it and decided to do a quick format. I then realized my mistake. I managed to find a copy of the superblock and began trying to recover the disk. fsck -t ext3 recognized the partition as NTFS but I luckily didn't have fsck.ntfs installed so it didn't touch it. I managed to get it working with fsck.ext3 (with -b,-B and -y) fsck.ext3 didn't mind that it was an NTFS partition.
Roughly how long will this take? It's running from Knoppix within a virtual machine to a USB hard drive which is 100% full. Days? Being that for a few minutes I attempted a full format am I going to end up with a bunch of corrupted archives? If I do end up with file corruption can anyone recommend a way of recovering the data / sorting it out? Is it likely to be just a few old files that are corrupt (It's my understanding that filesystems like to keep files in the same area on the disk to minimize the amount of head travel.) This might just be wishful thinking but as the filesystem fills up will ext3 put the newer files towards the end of the disk? If so then I'm hoping that a full NTFS format starts at the beginning of the disk.
I set up opensuse 11.4. I updated nvidia 6600 drivers from vendor. Everything is good until automatic kernel update. When I start the system, opensuse is not open with this lines.
/etc/rc.status: line 1: /bin/ash : no such file or directory bash: ./etc/sysconfig/chron : cannot execute binary file X_MOUSE_CURSOR : Undefined variable
I am trying to come up with a virtual CentOS installation. Here is what i did:in yast clicked on `Install Hypervisor and tools --> XEN` then clicking on create new virtual machine. I leave everything as defaults, selected `redhat` as my installation type. Then I inserted CentOS 5.5 DVD into my drive and selected it as a source for installation.When I try to hit OK and install, I see the attached image with gives an error message
I have installed ubuntu to my pc. i made 3 partitions. one for system, one for data and one for swap. two of them were ext4. after some time i have reinstalled ubuntu again. but this time i didn't put to format the second partition, but just mount it using ext4. after that i cannot open my files. checked with gparted shows that 2GB used, but with df 188MB. and in properties writes ext3/ext4 filesystem. i used chown, chgrp but didn't help. please help, these data are ver important. i cannot lose them.
I have vista and opensuse 11.2 on my computer, the problem is i can't open ext3 partitions from vista but i can the other way. I tried Ext2fsd but the linux partition is always in a read only mood even when i change this option. Also, all folders are empty I downloaded the program as admin and compatable with XP SP2.
I have a centOS 5 box with 3ware 8 port raid cards.I run fsck.ext3 -y /dev/sdb1 and it shows as clean.But after writing to the FS for about 2 minutes, it becomes read-only.When I umont -l /data, and run the fsck I get that another program is using the system an I should wait.If I reboot the server , the array comes back as clean.
I am attempting to run a fsck on a number of large ext3 filesystems. I am doing this proactively because I want to minimize reboot time and the filesystems are past the interval time of 6 months. When I run the command " fsck -f -y device" I get the following error on all of the filesystems-
fsck 1.39 (29-May-2006) e2fsck 1.39 (29-May-2006) fsck.ext3: Device or resource busy while trying to open /dev/mapper/mpath0p1
fsck.ext3: Unable to resolve 'UUID=theUUID' where "theUUID" (without the quotes) is the UUID
I believe this is caused by me trying to get lvm to use the external /boot because when I had unmounted the external /boot, it was creating a /boot in root. So, I booted a live cd and mounted the external /boot where /boot in the root volume is supposed to be. Basically, I think the problem is that I need to make my /boot (which is the only ext3 partition in the entire system and I want it that way) "relate itself" to the lvm root so that it boots into the system. As mentioned earlier, in the live CD, I made the external /boot mount itself in the root's /boot but I don't know how to tell the system to do this on its own while booting without my assistance. I chrooted from the live cd which involved a lot of tedious stuff but basically the important stuff I did were:
I am hosting a few customer servers now, all of which are virtual machines running on a CENTOS 5.x host. Each Centos host has a couple of extra drives. When I formatted them ext3 they automatically had a schedule of a full forced fsck after 6 months. Do I really need to do that check regularly? It results in a fairly large outage since my disks are each 1TB and there are up to three extra drives on each server. I try to reboot these servers every 6 months but this part adds a large amount of time to a routine reboot.
Today for strange reason, one of my Ubuntu 64 bit server Linux VM failed to start ? it stopped in the FSCK scan status with the error as attached. few days back I've added new hard disk successfully and format it as sdb5 without problem.
Recently (I can't put an exact date on it but its been within the last few weeks) on boot I've had to wait two or three minutes for my system to bring up my network interface, in a way its never done before...The output of /var/log/boot.log is as follows:
Code: Welcome to Fedora Press 'I' to enter interactive startup.
I have a while(1) loop, and the error is: glibtop: open (/proc/stat): Too many open files This error occurs after about a half hour to an hour of running. I've tried running this multiple times, both with using glib_close() at the end of the loop, using glib_init() and glib_close() at beginning/end, and just using glib_init(). The strange thing is these have no effect on the actual glib_get functions.
I have a 500Gb external disk (esata) used a part of a backup cycle. I tried to mount it for the next backup cycle and an i/o error was detected in the ext3 journal. I fixed the bad block but that lost the data in the block and ran fsck.ext3. This resulted in a damaged file system message and a scan of the disk and fsck finished ok. The disk mounts rw. I am not really sure if I should reformat this disk. I have copied the backups off the disk and in any case there are later backups. Reformatting is not a problem but takes time and I would prefer not to do it if it is not required but I want a clean file system
I just found a tool for undelete files from ext3/ext4: extundelete: An ext3 and ext4 file undeletion utility For me it worked, but I needed to undelete only a config file from an ext4 partition
I am looking for a solution to administer my remote server running SUSE LINUX 10.1 (X86-64) - Kernel 2.6.16.13-4-smp. I have made changes to server and is able to see the boot process and also able to login to system through serial console.
My question, will I be able to administer the server through serial console incase if my root partition is corrupted and system has gone to maintenance shell(or root shell).
Also is there way to go directly to maintenance shell from grub(not talking about single user mode). I want to go maintenance shell where / partition is not mounted.
My openSUSE 11.2 system has periodic running of fsck disabled for ext4 filesystems (Maximum mount count = -1, Check interval = 0). What is the reason for this? Is it because fsck is not necessary on a periodic basis with ext4, and only necessary when errors are detected? Or is it because fsck has problems working on ext4 filesystems?
The ext3 filesystems do have it set (Maximum mount count = 500, Check interval = 5184000 (2 months)). I would like to know why fsck is not set to be activated for ext4.
I am trying to Install Open Suse 11.3 (burned as an ISO DVD) along with existing Win 2008 R2 OS. When I try to boot from the DVD it just logs in to Win2008 though boot from CD/DVD is enabled in the boot sequence. So i tried to mount the ISO and run from Windows ! BUT I get an error before installation starts telling that Win2008 R2 is not supported in open suse installer! Is there anything I can do to overcome this and install/retain both OS? In fact I am even trying to c hange my win2008 from R2 to Enterprise to see if I can overcome the problem!