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
ADVERTISEMENT
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
Apr 21, 2011
My server is DELL server. There are occur error about HDD (EXT3-fs error) more detail about the error
# dmesg
.
.
EXT3-fs error (device sdb1): ext3_lookup: unlinked inode 142214653 in dir #142213149
Aborting journal on device sdb1.
ext3_abort called.
[code]....
View 3 Replies
View Related
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
Jun 13, 2010
I have a file server that has a raid array with a jfs file system attached. Whenever there is a power cut (quite frequently in our house), and the server is not shutdown cleanly, then the raid array is not automatically mounted since ubuntu doesn't know if the journal is clean. I have to then manually run fsck and remount the partition by hand which is a bit annoying. Basically, does anybody know if fsck can be setto run if a non-clean shutdown has been detected, or failing that, on every boot?
View 2 Replies
View Related
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
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
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
View Related
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
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
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
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
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
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
Sep 3, 2010
i have a ubuntu 10 server (as server LAMP) , i was trying to repair a couple of unix files with fsck command on directory, thinking it would apply only that directory, but it affected all system, in th end it says: "file system has changes, restart ubuntu", then services go down, after some directories fail, restart funtion do anything... i switched on again, but at start show error.
I got another ubuntu and installed damaged hard disc, but, i can see file sytem, i has been trying to repaired with TestDisk but i can't...
i want to recover mysql database at least, but a don't know what to do.... how a fsck get damaged SO
View 2 Replies
View Related
Nov 14, 2010
I was editing my fsck at etc/fstab/ after removing a hard drive and i think i commented out the wrong drive . now i just get a blank screen on boot. I have the ability to use my ubuntu cd for a recovery console, live desktop, etc.
View 9 Replies
View Related
Mar 31, 2010
Fsck has been runningfor days. The problem seems to be multiply-claimed blocks. Example:
<filesystem metadata>
... (inode #365429022, mod time Wed Mar 24 08:48:23 2010)
Clone multiply-claimed blocks? yes
[code]....
View 1 Replies
View Related
Feb 17, 2010
When I boot the linux kernel 2.6 , I was kicked out and request to run fsck manually. After running fsck -y /dev/vg00/lvol3 and /dev/vg00/lvol4 and reboot, I still get the same error and request me to run fsck . I attach the console output in here .
View 4 Replies
View Related
Jul 22, 2010
Can anybody tell me what kind of fsck errors are found on a system?
View 5 Replies
View Related
Apr 5, 2010
I have a 2TB file-system and when the machine reboots it fails the fsck, halts and goes into maintenance mode.Stats: I have have RHEL 5, 2.6.18 kernel, the file-system is an ext3. The file-system is on an EMC AX4 connected with fiber channel HBA.So far my reading tells me this should work because under 2.6 4TB is OK. Any ideas why this fails?If I take it out of the fstab file and mount it manually the boot is OK and the file-system behaves well. I can change the fsck check option in the fstab to 0 but I don't think I should have too. Everything I read says that 2TB ext3 file-systems are OK.
View 5 Replies
View Related
Dec 18, 2010
I have problem with my printer HP Deskjet D1460. My printer is configured and works. When I send a file on the print, the printer clings a sheet of paper and starts to print, but a paper as was clean so clean and remains, after printing.
View 2 Replies
View Related
Oct 11, 2010
I configured cron to clean my /tmp directory, should I also add other locations to clean and especially /var/tmp.
View 4 Replies
View Related
Aug 11, 2010
all is well on my headless Lucid server until a recent apt-get upgrade && shutdown -R now ... it did not come back up? after i moved a screen to the other side of the house, i found fcsk waiting for input during the boot process errors on / ... (I)gnore / (F)ix " ...so i had to attach a keyboard just to push <F> i could change /etc/fstab so it never runs fsck, but this doesn't seem wise. how can i make it <F>ix automatically ? ( or maybe after Xsec )
View 1 Replies
View Related
Feb 4, 2010
Is there any difference between apt-get clean and aptitude clean? Do they both remove the same caches? Should I know any other commands for cleaning up wasted space on my ubuntu laptop?
View 1 Replies
View Related
Dec 10, 2010
I have a 6 disk machine, i am using FC12, i created a software raid 5 device /dev/md1
i formatted it
Code:
mkfs.ext4 /dev/md1
and mounted with options as so:
[Code]...
View 1 Replies
View Related
Apr 14, 2010
I like to end my X session in Arch on a regular basis. I always use'killall xinit'..This gives a lot of WARNING's and ERROR's. Among the messages are some lines about syntax errors in my config files, I think. But mostly it's about a "Fatal IO error" and gnome-settings-daemon not knowing what session it is in.Is there a gentler way to put X down? Or is this how it should be?I tried killing some of the processes that claim to be interrupted, before killing X, to no avail.
View 12 Replies
View Related
Sep 14, 2009
I have a lv image = /dev/vg0/server01. I create a partition using fdisk /dev/vg0/server01. Now, i have a partition under lv image = /dev/vg0/server01p1. how do i format /dev/vg0/server01p1 to ext3, it seems that the system doesn't recognize the partition under /dev. the purpose of this is to fully restore filesystem on domU (xen).
View 4 Replies
View Related
Jun 14, 2011
I need a little more space than tune2fs -m 1 /dev/sdb will allow... can I set a smaller number?
View 3 Replies
View Related
Feb 4, 2010
The /var directory is 97% full on my dedicated server:
I would like to know if it is safe to clear it and how to clear it (assuming it will not disrupt/kill server services to do so).
I have Matrix control panel so i can view the storage etc but it does not have an way of clearing the /Var directory.
I have Putty Access to root but do not know which command to use.
I found a few threads but the information is not clear to me as there seems to be an assumption of basic knowledge I don't yet have.
My linux/ubuntu support that usually does this kind of thing for me is away and not contactable and my server is grinding to a halt and unable to store/send email.
I have only a very basic understanding of command line but really need to get this sorted ASAP.
View 3 Replies
View Related
Mar 6, 2011
I am using squid on my cent os 5. The cache directory is almost full.
Code:
# cache_dir ufs /var/spool/squid 1000 16 256
kindly guide me how can i flush or clean the data inside the cache directory of squid using terminal
View 4 Replies
View Related