CentOS 5 :: EXT3 Drives With Schedule Of Full Forced FSCK

Jul 23, 2010

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.

View 5 Replies


ADVERTISEMENT

CentOS 5 :: FSCK: Generate Log File For A Forced Fsck?

Sep 25, 2009

When I do a forced fsck, I would like to have a log file to look at after boot.

When I check /var/log/ there are no files there with fsck output

I've run force fsck in these ways:

shutdown -rF now

-and-

touch /forcefsck

View 1 Replies View Related

CentOS 5 :: Regular Procedure After Power Failiure And Fsck Forced?

Jul 17, 2011

I had a server with CentOS 5.5 and Asterisk fail today most likely due to the power failure. I guess the stupid electrician turned the power ON and OFF multiple times while changing the burned out fuse without unplugging the PBX. It was set in CMOS to power back on when there is power outage so my two HDDs which were set in RAID-1 now shot.

Trying to start the system and it goes through some check and fixes and then tells me to do Ctrl+D or enter password and run fsck. I have tried both methods and I don't think they yeild anything.

Ctrl+D reboots and same store again with the system fixing and asking me to Ctrl+D again. Putting the password and doing "fsck -y" gives many errors and it fixes it and then it just keeps looping. I am afraid this is making it worst than better. So, after few loops I did few more restarts and just give up. Took out the HDDs and installed new ones and install CentOS+Asterisk so business runs as usual on Monday.

However, I am kind f*ked if I don't get the files out of these HDDs. This is my first time using fsck and also encountering this type of a problem. What is the normal procedure when fixing inodes misplaced in a case like this? and what should I do to at least be able to grab my files?

I have already connected one of the drives to Windows and used Disk Internals (which maps Linux drives) but I see only folders with no contents except for /tmp/ which has contents. While the HDDs were in the system I could actually browse files and they were fine. I am really keen to get the drives fixed but I am also afraid that bad usage of fsck might replace lots of files and burn it all.

View 10 Replies View Related

CentOS 5 Hardware :: Fsck Fails On Ext3 Filesystems?

Sep 15, 2010

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

[code]....

View 2 Replies View Related

CentOS 5 :: How To Backup Files And To Use 'fsck.ext3 Rebuild-tree Using Livecd'

Dec 9, 2009

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".

View 2 Replies View Related

General :: Recovering 1Tb Ext3 With Fsck.ext3?

May 20, 2011

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.

View 6 Replies View Related

Ubuntu Servers :: Forced Fsck Hangs On Reboot?

Jan 12, 2010

I am running 9.04 Server (standalone). It had been running fine since I installed in last autumn. Upon reboot, fsck of the root filesystem was forced and it hangs at the same point (16.5%) every time. I was able to break out somehow with cntl-alt-del but the boot was to a read-only filesystem. So I couldn't disable the forced fsck. Instead, I tried to fsck there. It started, but hung. I couldn't do e2fsck -v as it needed the device and, although I worked on UNIX systems for decades, I am not familiar with the /dev/mapper stuff.

Looking at other threads, all involving the desktop GUI Ubuntu, I tried some of the suggestions. Went into the BIOS to see what I could disable. I killed the serial port and similar. (Some said that onboard modems interfered with the checks in /dev.) I also tried to boot from my original installation disk. That does work.The suggestion is to choose "Try without any change to your computer". The problem is that is not available on the server installation, apparently only the desktop (GUI). I had install, check CD for defects, test memory, boot from first hard disk, and something like repair or recover a broken disk. I started the last of them, as it seemed to be the only option. It failed because it couldn't get a dhcp address. I could manually configure it (as it is hard addressed anyway), but I didn't want to start screwing up configurations not knowing where it was going, whayt it would ry to do, and risk losing months of hard work.

Without help, I think I will be forced to install the OS on a second drive, use that install to fsck the original filesystem on the original disk, edit the fstab (or whichever has the config) on the original disk to disable fsck, and return to the original boot.I am building this server for a nonprofit and have put in many hours writing mysql/perl apache cgi code for them as a free service and hate to lose it all and set back everything.

View 2 Replies View Related

Server :: Run Fsck.ext3 -y /dev/sdb1 And It Shows As Clean

Nov 18, 2010

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.

View 2 Replies View Related

Debian :: Fsck.ext3: Unable To Resolve 'UUID=theUUID'

Jun 24, 2011

Upon booting my LVM wheezy setup, I get

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:

grub-install /dev/sdb
update-grub
update-initramfs -u

P.S.I get the issue in the Subject of this topic by telling tune2fs to mark the external /boot, lvm / and /home partitions as "dirty."

View 2 Replies View Related

General :: Ubuntu/debian - How To - Fsck.ext3 /dev/hda1 - At The Next Reboot

Jan 11, 2010

I would like to do :

Code:

Code:

Warning: Partition 5 does not end on cylinder boundary.

How can this be possible at reboot (badblocks) ?

(I cannot gparted nor usb because nothing is working) it should fix itself linux (without usb live bootable)

View 2 Replies View Related

General :: Post Update: Fsck.ext3 : No Such File Or Directory While Trying To Open /dev/dm-2

Mar 18, 2010

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.

View 1 Replies View Related

Fedora :: Error - Fsck.ext3: No Such File Or Directory Durante L'apertura Di /dev/cciss/c0d1p11

Oct 21, 2009

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:

[Code]...

View 3 Replies View Related

Red Hat / Fedora :: File Repair - Fsck.ext3: Unable To Resolve 'LABEL=/home' FAILED

Jul 27, 2010

while rebooting the system i had supposed to go to file repair system with the problem

fsck.ext3: Unable to resolve 'LABEL=/home' FAILED.

*** An error occurred 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) (repair file system)# how do i get the system reboot

View 1 Replies View Related

Ubuntu :: Boot / Login Into Terminal - Run Fsck With Drives Unmounted

May 9, 2010

I need to be able to login to terminal and I can't seem to find an easy way to do it from the login screen, or elsewhere that I would normally find in an older version of ubuntu. I need to run fsck with drives unmounted

View 4 Replies View Related

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.

View 7 Replies View Related

General :: Formatting HD With Ext3 / Ext4 With Full RWX Permissions

Dec 29, 2009

How can I format a USB hard drive to ext3/ext4 or whatever file format and have full permission to read, write and execute all files afterwards? When using the command line (as ROOT of course) mkfs.ext3 /dev/sdb? Restricts the rights to ROOT as does the procedure gParted. The man mkfs did not help much. Configuring the fstab- file is a bit of a hassle, so it would be nice, if there was an option to set the permissions "correctly" right from the beginning. Setting Ubuntu (I'm using Ubuntu 9.10) up, so that it mounts USB devices not as ROOT as default but giving all users all permissions seems to be really complicated, as a guy from my local LUG told me.

View 10 Replies View Related

General :: Should External Drives Be Converted To Ext3

Jul 29, 2010

I switched over from Windows to Linux. I have an external drive that has basically just media files on it. Are there any advantages to converting this to ext3, or should I just leave it as ntfs3?

View 2 Replies View Related

Ubuntu Installation :: Mounting Ext3 Drives In 10.10?

Nov 18, 2010

It seems to be (we have experienced) that 10.10 can't handle having an older ext3 drive mounted to a folder on the 1010 ext4 drive. The files get "corrupted", but afterwards, putting the drive back into the original older 9.04 system, the files are perfectly fine again.

View 3 Replies View Related

CentOS 5 :: How To Know What Process Was Busying Before Forced Reboot

Mar 22, 2009

My centos machine suddenly stuck, the hdd LED flashes constantly, and the system reacts to all my operations very slow. I even cannot log in to a native terminal (always timeout). I had no choice, I pressed the power button. Reboot once failed. The system failed to find mount points.

I inserted the installation disk into computer and entered rescue mode. But I found everything was there. And another reboot brought up the system. I wonder what was the process that stuck my system.

View 4 Replies View Related

Ubuntu Security :: Ext3/ext4 Full Disc Encryption Performance?

Feb 3, 2010

I've been using full disk encryption with luks on two Dell laptops for about 2.5 years. One is 64 bit Fedora (upgraded to 12), another is 32 bit Ubuntu (upgraded to 9.10), both were ext3, until recently.Over time, performance degraded substantially, especially on Fedora, which was put to a heavier use. That laptop has 4 Gb RAM, two 2.5 GHz T9300 CPUs, and 56 Gb of free space.

It was especially unbearable after a reboot. Programs like firefox and thunderbird would take close to a minute to start when ran for the first time after a boot. The login process was painfully slow, and some Gnome applets (e.g. Tomboy notes, keyboard layout switcher) would fail to load on the first login, with an error. I experienced this problem on both laptops with full encryption. I had to log out and relogin to make the applets appear. I tried various boot and mount options and was thinking about switching to ecryptfs (encrypted home).

I also use 3 desktops with no encryption and a netbook with ecryptfs on /home, which all work fine. All are Dell, 2 Ubuntu and 2 Fedora. The Gnome applets problem seems to be due to slowness of the installs with the full disk encryption. The last thing I tried is to migrate ext3 to ext4. I also converted /home, /usr, /opt to extents, following[URL].. That seemed to do the trick. Gnome applets now load fine on both laptops, and startup time is back to tolerable.

Is this a typical experience: ext3 performance degradation with time and a much better performance with full disk encryption once ext3 is migrated to ext4?

View 1 Replies View Related

CentOS 5 :: 5.3: Forced To Install In Text Mode - Getting A Graphical Interface?

Jun 30, 2009

I had tried to install Centos 5.3 using the graphical interface but it gives me a black screen with no response. I've read into it and installed in text mode but still need a graphical interface. Whats the command/steps I need to take?

View 1 Replies View Related

Ubuntu :: Convert External Drives From Fat32 To Ext3 Without Loss Of Data?

Feb 25, 2011

I have 2 external drives that I'm using for movies and they're both formatted to fat32. The problem I'm experiencing now is that some of the high quality mkv files are not able to be moved to the drive because of fat32's limitations.

I'd like to convert to ext3 (or 4) and I wanted to check to see if I can do it without having to reformat and without loss of data.

View 4 Replies View Related

Ubuntu Installation :: Reformatting - Delete Convert NTFS Formatted Drives To Ext3

Jul 9, 2011

I've lost my admin password on my current Windows OS and would like to install Linux Ubuntu or a similar user-friendly distro of Linux alongside, see how that goes and possibly reformat my PC with Linux as I was told it would convert NTFS formatted drives to ext3, not delete them.

View 9 Replies View Related

CentOS 5 :: Schedule A Squid Restart At 13:10?

Apr 24, 2009

How do I schedule a Squid restart on CENTOS for example at 13:10

View 2 Replies View Related

Ubuntu :: Any Way Can Have Full Permissions To Modify NTFS Drives In KDE?

Feb 13, 2011

I have one drive for Kubuntu and 4 other NTFS drives. When I'm using Ubuntu Desktop Environment (GNOME), I seem to be able to delete files, create new folders, files etc, in all the NTFS drives. That is, I have full permissions to make changes in the NTFS drives. But when I switch to KDE, this isn't possible. Options like rename, delete, cut, etc, aren't working, they aren't highlighted.Is there any way I can have full permissions to modify NTFS drives in KDE?

View 2 Replies View Related

CentOS 5 :: Persistent Overlay Not Working On Ext3 USB Drive For CentOS 5.4

Dec 3, 2009

i am trying to get centos 5.4 installed and bootable on my 16gb flash drive, with persistent overlay using and ext3 formatted drive.i want to be able to boot into centos and be able to have all updates from yum, etc, saved when shutting down for my situation i cannot use vfat.

View 9 Replies View Related

Ubuntu Servers :: 9.10 Server/Raid 10 Setup - HDD - Not Recognizing The Full Capacity Of The Drives

Mar 12, 2010

I have a total of 4 hdd's, 500gb 7.2rpm that I would like mirrored using raid 10. As you can see from the image, ubuntu 9.10 server isn't recognizing the full 2tb's. In fact, I'm not even sure about the configuration as I was thinking the HDD's would come up as four 500gb hdds. Instead I have the configuration above set and ready for Ubuntu to be installed on.

1. Is this typical of a server pre-configured from Dell(perc6 raid controller.

2.Why is ubuntu not recognizing the full capacity of the drives especially when it's a server install?

View 5 Replies View Related

CentOS 5 Server :: Centos 5.4 And Xen 3.4.2 Full Virtualization Not Working

Mar 31, 2010

I installed the latest version of Centos 5.4.It came with Xen version 3.0.2 I think.I am running it on a Dell R510. It supports hardware virtualization.I was able to virtualize Windows XP and Windows 2003 server on it by selecting the install from DVD option.I was having problems trying to get a PCI DekTek card seen by the virtualized Windows domains so I tried to upgrade XEN to 3.4.2.I used the repos available from Gitmo and it went easy.

The only problem is now that when I try to create a "New virtual host" it only allows me to use HTTP, FTP option and not the iso or DVD option. They are greyed out. I was wondering if anyone has had this problem and might know a work around for the Xen 3.4.2 problem. Perhaps a better location for the kernel or something.

View 2 Replies View Related

CentOS 5 :: Reverting From Ext4 To Ext3

Oct 5, 2010

I'm using CentOs 5.4 (2.6.18-164.15.1.el5 #1 SMP Wed Mar 17 11:30:06 EDT 2010 x86_64). I tested out ext4 on a partition for the last few months and it seems to work fine. The issue is that quotas dont seem to work correctly on it. Is there a way to revert back to ext3? Mainly the quota tools do not work on it.

View 1 Replies View Related

General :: Types Of Fsck Errors - Fsck Errors Are Found On A System?

Jul 22, 2010

Can anybody tell me what kind of fsck errors are found on a system?

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved