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


ADVERTISEMENT

Debian :: Run Fsck During A Shutdown Sequence?

Nov 27, 2010

I want to be able to run fsck at, or near, shutdown at the end of the day, and not have to wait for it when booting (important now that I have 1TB drives!). As far as I can tell, the only way to arrange to run fsck on the root partition is if it is unmounted and I believe that only occurs at reboot time.

So, I thought of using the /forcefsck file that, when exists, will force file system check upon the next boot. So I envision having a script that touches that file, or issues the right shutdown command, then lets the system reboot and thus forcing a fsck of the root partition. However, I then want the system to turn right around and then shutdown, so that when I cold boot the system in the morning, I won't see the fsck run at that time, ever.

So I think this boils down to being able to run a one-time init script or something like that. Is there an established way or idiom for running an init script only one time? I know I can create a non-standard init-script that looks for a special file like is done for /forcefsck, and only shutdown if that file is seen, but surely someone else has already come up with a canned solution/init-script to what I want to do.

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

Slackware :: Large Partition Fsck On Shutdown Instead Of Boot?

Sep 15, 2010

Got tired of long waits for fsck on very large partitions.Here's a script to fsck selected partitions every 'N' shutdowns. No more boot delays for fsck (unless something is really wrong

Update1: On my system '/usr/libexec/gam_server' (gamin component used by xfce) prevented /home from being unmounted. I changed
Code:

[code]...

View 4 Replies View Related

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

Server :: Shutdown The Nodes From The Master Terminal Using "shutdown -h Now" Get Shutdown?

Dec 10, 2010

I have installed a cluster computer with 10 nodes . The manufacturer is HP . All nodes and the master node have redhat enterprise linux installed in them . When I shutdown the nodes from the master terminal using "shutdown -h now" they get shutdown . But they dont get completely turned off . This issue bothers me when the power supply is given , all nodes boot up simultaneously generating a huge heat .

Thing to note : When we shutdown our PC they get completely turned off . When the power supply is given , a press on the Power On button is required to boot the system. But , why does it not happpen in the case of cluster? Is there any other way of completely turning off the nodes from the master terminal ?

View 1 Replies View Related

Ubuntu :: Monitor Out Of Sync During Boot And Shutdown (also Shutdown Hang)?

Jun 30, 2010

when my pc boots and shuts down my monitor goes into 'input out of range' mode for a bit between the gui and the text only phases of boot/shutdown.is there a way to fix this? or where to start troubleshooting?also, when it shuts down it hangs after coming back to the text only part

View 4 Replies View Related

Fedora :: Shutdown Policy Triggered By Vncserver - Computer Refuses To Shutdown Normally

Feb 5, 2011

Recently I installed vncserver (tigervnc) on my desktop. Ever since my computer refuses to shutdown normally. At shutdown the following message pops up: Quote: System policy prevents stopping the system when other users are logged in Then I have to enter the root password to shutdown. If I stop vncserver before, the computer shuts down normally.

[Code]....

View 2 Replies View Related

Ubuntu :: Can't Shutdown Without Running Sudo Shutdown

Jun 20, 2010

I cant shutdown without running sudo shutdown. When I try to use the default gnome shut down it takes me back to the logon screen. Fresh install today and I've had the same problem on other installs.

View 9 Replies View Related

Ubuntu :: Randomly Pop Up The Shutdown Menu And Then Shutdown?

Sep 7, 2010

Ubuntu will randomly pop up the shutdown menu and then shutdown.It seems to happen when im in firefox and typing and it has been difficult to replicate. I dont think it is a temp issue since watch sensors shows temmp of 40-50C. Someimtes it happens every minute someimtes i can go 10min without it happening.

Dell Inspiron 1525
ubuntu 10.04 (only os on system)

View 3 Replies View Related

Ubuntu :: Shutdown Command Like Shutdown Button?

Dec 10, 2010

looking for a command that shutdown/reboot my ubuntu just same as process that happened when I press shutdown buttonIn fact I need to close all programs that are running and then PC shutdown (that happened when I press shutdown button).

View 9 Replies View Related

General :: Locate Shutdown Log For Linux Shutdown (RHL 5.1-2.6.18-53.el5PAE)

Apr 22, 2010

I cannot locate shutdown log for Linux shutdown to check various activities carried out during shutdown. I can view Startup Log which is availble on console>Applications>System Tools>System Logs.

I have included Shutdown/Startup in dbora, so that Oracle 10gR2 Shutdown/Startup will be automated during OS Shutdown/Startup.

I want to check Shutdown log because Oracle Shutdown was not running, as from $ORACLE_HOME/shutdown.log contains no entries, where as startup log contains latest startup details.

That means here 2 issues are there. One, I want to locate OS Shutdown Log and the other being Why Oracle Shutdown not getting executed.

View 2 Replies View Related

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 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 :: 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

OpenSUSE Install :: OpenSUSE 11.4 Delayed Shutdown While Pressing The Shutdown Button?

Mar 12, 2011

I did a live upgrade from 11.3 KDE and observe a following issue.When I press the shutdown button on the laptop it initiates the shutdown and shuts down fine but after a significant delay of time (something like 30 seconds). When I click the shutdown button in KDE it initiates the shutdown instantly. This was not the case in 11.3 where the shutdown worked the same regardless of the method that triggered it

View 6 Replies View Related

Server :: Unable To Shutdown/reboot Server, No Shutdown Process Running?

Mar 30, 2010

I'm trying to reboot the server (shutdown -r now).But it seems like nothing happened.

When I try "shutdown -c", the system prompts "shutdown: cannot find pid of running shutdown."

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







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