Ubuntu :: How To Run Fsck

Jun 12, 2010

its not a good idea to run fsck on a mounted file system.But.. if I want to check the file system between the default checks on boot up how should I safely do it? How do I safely run fsck?

View 8 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

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

Ubuntu :: Where Are Fsck Results?

Mar 3, 2010

I forced a fsck on the next boot by.Code: sudo touch /forcefsck.Where did the results go?/var/log/fsck/checkfs and /var/log/fsck/checkroot both read "(Nothing has been logged yet.)" Am I to assume that if there are no errors nothing is written to the log files?

View 9 Replies View Related

Ubuntu :: Run Fsck At Shutdown?

Jun 29, 2010

Every 32 boot ups, the fsck runs automaticall on my drives.Iould like it to run at shutdown and was looking for a solution.I saw an app call autofsck but not find it in synaptic.Can someone help me find a solution to this. I am running a laptop with 9.10 and a desktop with 8.10.

View 3 Replies View Related

Ubuntu :: Fsck Is Called On Every Startup?

May 9, 2010

I am using bootchart to investigate the slow booting of ubuntu 10.04 and I found that fsck process is called every time in the booting for around 5 seconds even the screen does not show any hard disk checking, is that normal ?

View 5 Replies View Related

Ubuntu :: Fsck Terminated With Status 8?

Aug 24, 2010

I booted up my laptop and the boot sequence got stuck at the boot splash screen (plymouth). I did an esc and I saw a failure message, the error I remember in my panic mode is: fsck terminated with status 8

I rebooted, got the same message. Rebooted again and this time, to my relief, it worked.

1) What happened, should I be concerned? Not sure why it worked after 2 reboots.

2) Is there a possibility this could happen again?

3) Are there any boot log files I could look at?

4) Is there anything I can do to fix this? Or a check of some sort?

I'm using Ubuntu 10.04 on a Dell Studio 1535 laptop. No dual boot. The disk is partitioned and I've got my /home folder on the other partition for situations like this.

View 2 Replies View Related

Ubuntu :: Server Dies After A Fsck?

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

Ubuntu :: Force A Fsck Run At Next Reboot?

Nov 28, 2010

I know I can force a fsck run at next reboot using

Code:
shutdown -rF now

or

Code:
touch /forcefsck

can I force the fsck to more indepth checks such as doing directory optimisations, bad blocks checks, etc. maybe by passing parameters to the fsck call during startup?

View 7 Replies View Related

Ubuntu :: Run Fsck On Keypress During Boot?

Jan 4, 2011

I am wondering if there is a way to manually trigger a file system check during boot by pressing/holding a key. Maybe there is already a keyboard shortcut built in to do this?I know that using tune2fs you can modify the number of boots (mounts) between file system checks, or even use "shutdown -rF" to reboot the system and force a file system checkAlso, I do not want to force the user to choose to run/skip the file system check during boot. For example, prompting the user with, "Do you want to run a file system check [y/n]?" each boot (or even each time the system thinks it should run a file system check),s not desirable

View 1 Replies View Related

Ubuntu :: Unable To Fsck Ext4?

Jan 24, 2011

Seems like I misplaced this topic. Should have been in general help. Sorry! Any moderator feel free to move this topic. As I was creating a swap partition, something went wrong and I ended creating a much bigger file which consumed all my empty space. Ubuntu stopped working and now I can't seem to fsck / mount my disk. Currently I'm on a live cd. fsck will give:

Code:
e2fsck 1.41.12 (17-May-2010)
fsck.ext4: Device or resource busy while trying to open /dev/sda2
Filesystem mounted or opened exclusively by another program?
However, the file system is not mounted.

[Code]...

View 3 Replies View Related

Ubuntu :: Any Way To Repair WXP Boot Using FSCK?

Feb 25, 2011

I need to boot in WXP just because the guys at the company don't want to update for Linux drivers in the TS so I can't connect from home unless I do it in Windows XP. But today WXP refuses to boot, when the progress bar appears, the system boots automatically. The WXP CD doesn't help, the repair console doesn't let me run chkdsk or anything (dir C: gives an error about listing addresses or something like that). Is there any way to use fsck or anything in Linux to repair the WXP NTFS partition?

View 1 Replies View Related

Ubuntu :: Fsck Repair With Encrypted Fs

Feb 28, 2011

I have errors on my encrypted ext3 root partition. If I try to repair it there is a warning:

fsck from util-linux-ng 2.17.2
e2fsck 1.41.12 (17-May-2010)
/dev/mapper/nb181-root is mounted.

[Code].....

View 1 Replies View Related

Ubuntu :: Fsck Runs With Every Boot

Apr 20, 2011

i have the same issue but with a real install, not a vmware.every reboot fsck says that my main partition was not cleanly unmounted and check is forced.during shutdown the ubuntu does not show messages in a clear way but in random places. however, i am able to see the "/ is busy" message 1 second before reboot/off.my distribution is 10.10 upgraded from 9.10, 10.04

View 2 Replies View Related

Ubuntu :: No Init Found, Cannot Fsck?

May 21, 2011

I have a Dell Mini 12 running what I think is Ubuntu 10.10 Netbook Remix. It won't boot all of a sudden, saying 'No init found'. I've been through [URL].. which is VERY close to my problem but I cannot get Disk Utility to work when running off my Live USB. Asking it to check the hard drive results in it telling me the filesystem is 'not clean'.

View 2 Replies View Related

Ubuntu :: Automatically Run Fsck Every Few Months?

Sep 5, 2010

I just recently switched from Windows to Ubuntu 10.04, and I remember that Windows had a disk check. I have no problems with my computer, but is it a good idea to run fsck every few months? Does Ubuntu automatically do this for me? Or this unnecessary unless I have a serious problem?

View 2 Replies View Related

Ubuntu :: Using Fsck To Check Windows Partition?

Mar 21, 2010

My windows partition isn't starting up, gives an error and suggests using chkdsk. However, I cant even reach safe mode or command prompt. I can still access my Windows hard drive through Ubuntu.I am wondering I can use a Linux tool to perform a check on this Windows partition? I found the fsck command, but I am confused about the warning about running it on a mounted system and about what exactly is a mounted system.

Can someone please tell me how exactly I wod go about doing a check on this partition? Its currently located in /media/disk.I can right click on the partition and unmount it. But if I do this, will Ubuntu still be able to see this partition?What command do I use to do fsck only on this Windows partition (and not the whole system and other mounted places)? How do I remount the Windows partition so that I can atleast salvage my data easily in case doing a disk check does not help?

View 2 Replies View Related

Ubuntu Servers :: How To Cancel Fsck At Boot

Mar 22, 2010

Right now I am trying to fix the problems on my server with daemons not starting.

So I have to try different solutions and reboot.

The problem is that after 28 reboots, fsck kicks in and decides to check 2 TB of data.

Is there a way to cancel this???

It takes forever, and by the time it will be done, I will have forgotten what I was testing.

The issue of daemons not starting becomes even more frustrating when fsck decides that I must take a half an hour break.

So again, how do I cancel the fsck on Ubuntu Server?

View 5 Replies View Related

Ubuntu :: Possible To Run Fsck On Root File System?

Sep 19, 2010

Is it possible to run fsck on the root file system?
My Ubuntu 10.04 seems to be checking it's fs at boot...
It shows that the file system is in use and can get severely damaged!
Or the only possibility is to run it from a live CD?

View 2 Replies View Related

Ubuntu :: Server 10.10 Boot After Fsck Work

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

Ubuntu :: Fsck Usr Fails And Unable To Repair?

Dec 2, 2010

I am travelling so would really appreciate a few tips that should hopefully get my pc running again. (I have internet access via a kiosk, and can burn a disk if necessary, but the smaller the download the better)I have a few ideas that with some help I should be able to fix the partition.1. Is there a simple way to use use grub, to mount all partitions read only and not to fsck them so I can logon in normal user and sudo and hopefully fix the parition?or 2. Download a small version of ubuntu or something that I can burn to CD (my machine cannot boot from usb) so that I can repair the machine.3. Download the ubuntu installer (alternative) and try and reinstall the necesary usr partition?

View 7 Replies View Related

Ubuntu :: Fsck On Busy Device Or Resource

Apr 4, 2011

I am dual-booting my Gateway laptop with Windows XP Media center Ed. and Ubuntu Notebook 10.10. Several weeks ago I was in the midst of downloading a program from the software center and my system starts running slow (this is in the Ubuntu kernel, not the Windows OS). So I decided to cold-boot the laptop in mid-download. When it boots back up, I get dropped to a grub-rescue menu that states the following:

Code:

Now, the only way I can even remotely use my laptop at the moment is to use my Live USB with the corresponding version of Ubuntu Netbook 10.10 or the Live CD I made with Ubuntu 10.04 on it (I'll explain why I made this below).

I read somewhere that I need to run fsck on my device to try to fix the partition, which btw my Ubuntu partition on my device is /dev/sda5, and before someone suggests it, I even tried using GParted and it doesn't work.

The reason I made a 10.04 CD is because I read somewhere that using the fsck from 10.04 might be more effective (for whatever reason) than the 10.10 fsck version.

I'd also like to add that I'm incapable of booting onto my Windows OS at all, yet I can access the partition from my Live CD/USB. the Ubuntu partition however, I can neither access or mount.

I tried running fsck on the entire device partition table, and I get the following:

Code:

This is me running fsck from the 10.04 version, I get a similar msg from the 10.10 Live USB but replace fsck.ext2 with fsck.ext4 in the message.

View 9 Replies View Related

Ubuntu Installation :: Fsck Exit With Status 3

May 7, 2011

Can't boot into Ubuntu. Using recovery mode, I get fsck exit with status 3 error. I did man on fsck and there is no reference to status 3. Same issue as [URL]

I have my data on sdb3 which is having this issue. File system is ext4. I can't go into shell or anything, I get the fsck error and the system reboots right away and stuck in that loop.

View 5 Replies View Related

Ubuntu :: Modify To Set The Environment Variables For FSCK?

May 9, 2011

Does anyone know what file I have to modify to set the environment variables for FSCK? I can't run FSCK on my file system because it runs out of memory after about 10 minutes. This variable sounds like it will solve all of my problems but I can't find the file to modify to set the variable or what parameters it takes (number? yes/no?, etc).I'm trying to recover has a lot of information on it that I would really like to get back.

View 4 Replies View Related

Ubuntu :: 10.10 With Crashing File System \ Run Fsck?

Aug 9, 2011

I've got a system that has given me problems since day one. It's my oldest kids computer and she seems to open about twenty tabs in Firefox. The computer will freeze and she'll manually hold down the switch to reset. I've instructed her to please stop shutting it down manually but kids never listen.So anyway the thing reboots into initramfs. Seems unable to do anything with the hard disk. Now heres where I run into problems. In the past I've removed the drive and put it into one of my other Ubuntu boxes then ran fsck. fsck always recovers the journel quickly and I pop it back in and all is well.First question or situation if you will. I have tried left and right to get fsck to work from the livecd. If I let the livecd boot up and open a terminal fsck /dev/sda1 comes back with device or resource busy. Apparently the livecd get stuck automounting and causes problems.

I'm really tired of putting this thing in another box. I tried downloading knoppix but it wouldn't burn off for some reason. I've tried booting into rescue mode, but that seems to be missing from the livecd these days?Can I boot into single user mode somehow? Kill off some process that is causing the resource to be busy? I'm thinking once I maybe flagged the drive as dirty and had it clean itself on reboot.. will the livecd pick up on that?ok.. so thats the first situation.. second is upon recently fsck doesn't fix the problem. The drive recovers just fine, but after using the computer for a short while the drive will somehow magically mount as read only.. and then programs will freeze and shutting down is hard to do.

View 6 Replies View Related

Ubuntu :: Cannot Mount, Bad Fs, Option Or Superblock FSCK?

Aug 23, 2011

The HDD is a 500GB internal SATA, The smart claims that the "file system is not clean" but is still green.FSCK ran a few errors and using fsck i copied a new superblock from a backup location, It still won't let me mount and FSCK is still trying to fix a TON of errors. I'm sorry I don't know any of this yet, but I'm concerned that FSCK could be destroying the data on the drive, for example photos and other important things. FSCK is coming with a lot of things to fix, It's gone from trying to fix errors in free blocks of group #1 to over #3000.. Is this safe? Will this work? Can I get rid of whatever caused this problem in the first place?

View 1 Replies View Related

Ubuntu :: Check More Then One Hard Drive With Fsck

Dec 20, 2010

how do i run fsck on my drives? all are ext2 power went out.

View 2 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

Ubuntu Installation :: Boot Hangs After Fsck Finishes?

May 10, 2010

I just installed 10.04 from the minimal install cd (twice), and when I boot it up, it runs fsck on the 3 partitions, shows they are clean, and then nothing. I can't even get to recovery mode. I had previously installed 9.10 fine on this computer. I can't even find out what the real problem is, even with the quiet splash disabled. It just stops after successfully running fsck.

View 5 Replies View Related

Ubuntu Servers :: Run Fsck If Last Shutdown Wasn't Clean?

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







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