General :: Filesystem Check Automatic Repairs At Next Boot Time

Feb 5, 2010

you can refer to this ubuntu thread for context, but i'll sum up what i'm trying to do here to spare the reading. basically i want to be able to schedule a filesystem check with automatic repairs at the next boot time. but i'm not sure if this will try to automatically fix errors which is what i want to do. the reason i want to do this is because i experienced a power outage (the machine was not plugged into an UPS) and i want to make sure everything is ok.

View 2 Replies


ADVERTISEMENT

Fedora :: Cancel Filesystem Check On Boot?

Mar 24, 2010

my Fedora 12 does fsck on boot time to time and sometimes it's really annoying having to wait for the check to complete. In Linux Mint pressing <Esc> cancelled the check; however in Fedora this does not work (nor does Ctrl+C nor anything other I've tried). What is the key to cancel the check in Fedora?

View 11 Replies View Related

Red Hat / Fedora :: Filesystem Check After Power Outage - WARNING: "Running E2fsck On A Mounted Filesystem May Cause SEVERE Filesystem Damage"

May 18, 2011

I am very new to linux, and I have a question regarding the filesystem check (fsck). The power recently went out and when I tried to restart linux the following error appears:

*/dev/sda1 contains file system w/errors, check forced it then goes on to say..

*An error occured 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 to continue) I wasn't sure what to do, but checked some other online forums and they suggested running fsck manually - so I typed in the root password - and used the command, "fsck -A -V ; echo == $? ==" it then gave the following message

*WARNING!!! Running e2fsck on a mounted filesystem may cause SEVERE filesystem damage
*Would you like to continue (y/n)

Again, I wasn't sure what to do so i just checked no. I then manually turned off the computer and was prompted at the beginning to press Alt-3. I was brought to another screen and it informed me one of the drives was degraded and suggested rebuilding the array. I tried doing this, but it still brings me back to the original error of, "/dev/sda1 contains file system w/errors, check forced," and the process continues.

Also, when I tried to rebuild the array, I didn't backup any of the data on our home directory before doing this (which was probably a big mistake). After being prompted to type the root password, I was able to give the ls command and look at all the directories...the home directory where our data was stored was empty and I am afraid I may have lost some information. Is there a possibility that data was lost when I was trying to rebuild using the old drives?

View 2 Replies View Related

Debian Configuration :: System Does Filesystem Check On Every Boot After Upgrade

Jul 5, 2015

A few days ago I upgraded my debian sid system, and since then systemd does a filesystem check on every boot which takes over two minutes, disobeying the existing settings I had. How can I set systemd to do a filesystem check only once every a set number of mounts, like I had set up before the upgrade?

View 5 Replies View Related

Debian Configuration :: Change The Automatic Fsck Execution At Boot Time To Be Above 30 Boots?

Aug 27, 2010

How can I change the automatic fsck execution at boot time to be above 30 boots? I reboot the system sometimes 3 to 4 times a day. Intel 3 GHz, tower, i386 lenny vmlinuz-2.6.31-686

View 2 Replies View Related

General :: Check If Ssh Automatic Login Is Setup Between Two Machines?

Jul 22, 2011

I have a cluster of 50 machines and some machines already have ssh automatic login setup but I want to be able to check this with a script.

View 1 Replies View Related

Fedora Installation :: Transaction Check Error: Package Kernel-PAEdebug Needs 9MB On The /boot Filesystem

Jan 21, 2010

I did the "yum update" today, the process was doing well but, the follow error appears:

Transaction Check Error:

installing package kernel-PAEdebug-2.6.31.12-174.2.3.fc12.i686 needs 9MB on the /boot filesystem

Look:

Code:

Transaction Summary
==================================
Install 10 Package(s)
Upgrade 33 Package(s)
Remove 1 Package(s)

[code]....

View 6 Replies View Related

Fedora :: Check Filesystems At Boot Time?

Nov 9, 2010

What are others' views and experience regarding automatically checking filesystems (running fsck) at boot time?To be more clear, I have left the ext3 filesystems on this machine set to require checking after a fixed number of mounts by using tune2fs with the '-c' option. I've done this mainly because of the following (from the tune2fs man page):

Code:Youshould strongly consider the consequences of disabling mount-count-dependentchecking entirely. Bad disk drives, cables, memory, and kernel bugs could all corrupta filesystem without marking the filesystem dirty or in error.e using journalingon your filesystem, your filesystem will never be marked dirty, so it will not normallybe checked. A filesystem error detected by the kernel will still force an fsck on the nextreboot, but it may already be too late to prevent data loss at that pointBut what does anyone else do? Is there really much risk to disabling this automatic checking

View 3 Replies View Related

General :: Filesystem Check Is Failed

Jan 23, 2010

I have got arch Linux dual booting with Win XP on my laptop. I have been getting a filesystem check error since yesterday and am unable to start Arch. Upon googling and searching the arch fora, I came upon some advice which I tried which has not worked yet. Hence the new post.Basically, I was attempting to print something off and accidentally chose a printer that was not connected to my laptop. After half a minute or so, it repeatedly started giving me notifications that the printer was not connected...in excess of 200 messages that the printer was not working which continued to pop up despite me canceling the print job. The whole system got really sluggish (for the first time in the last year) and I had to restart the laptop upon which the boot messages appear. It gets to the point where its loading the various filesystems. It mounts root and says it fine.

I tried fsck which tells me that home and boot are still mounted.So I booted up using an Ubuntu Live CD and checked and repaired each file system which it successfully did. Upon rebooting into Arch, I am getting the same message.I have not installed anything new and had upgraded the whole system a few days before the problem started.

View 13 Replies View Related

General :: How To Check Filesystem Type

Mar 28, 2011

Code:

fsck from util-linux-ng 2.17.2
e2fsck 1.41.11 (14-Mar-2010)
/dev/sda1 is mounted.
WARNING!!! The filesystem is mounted. If you continue you ***WILL***
cause ***SEVERE*** filesystem damage.
Do you really want to continue (y/n)?

I don't want to cause damage, but I'd rather not go into BIOS.

View 6 Replies View Related

Ubuntu :: How To Stop Disk Check Every Time On Boot Up

Dec 19, 2010

Every time I boot up I have to go through a disk check and then restart, how do I stop it from happening? When the disk checks happening I press escape and it usually says its deleted inode something because it has zero Dtime or some thing similar and also a paragraph of repeated lines saying something like all system files need alsa base.cnfg it will be ignored in a future release then the disk check completes and it restarts and is fine then, also sometimes it says dev/sda5 (my ubuntu partition) was not cleanly unmounted check forces. Is their a way to stop this happening as it ends up taking ages just to login.

View 3 Replies View Related

General :: Script To Check If A Filesystem Is Read-only?

Jul 6, 2010

write a script that will check all filesystems to see if they are read-only.

I have come up with ...

df -h > /tmp/mount.lst
awk '{print $6}' /tmp/mount.lst > /tmp/mounted_systems.lst

This gives me ..

Mounted
/
/boot
/dev/shm
/proc

So now I have ..

How do I automatically get rid of the 'Mounted' header in my /tmp/mounted_systems.lst file ?

Also, I don't want to check the /proc filesystem, so how do I remove that within the script too.

Then I will run ...

while read dir
do
touch $dir/read_only_test
done < /tmp/mounted_systems.lst

If the filesystem is read only, I want that filesystem name to be listed into another file.

View 3 Replies View Related

General :: Automatic Conversion To Daylight Saving Time

May 3, 2011

What should I have to do if I want to back again to the previous conf of automatic Conversion to Daylight saving. Also I noted that the o/p of the zdump -v /usr/share/zoneinfo/Africa/Cairo | grep 2011 was

/usr/share/zoneinfo/Africa/Cairo Thu Apr 28 21:59:59 2011 UTC = Thu Apr 28 23:59:59 2011 EET isdst=0 gmtoff=7200
/usr/share/zoneinfo/Africa/Cairo Thu Apr 28 22:00:00 2011 UTC = Fri Apr 29 01:00:00 2011 EEST isdst=1 gmtoff=10800
/usr/share/zoneinfo/Africa/Cairo Sat Aug 20 20:59:59 2011 UTC = Sat Aug 20 23:59:59 2011 EEST isdst=1 gmtoff=10800
/usr/share/zoneinfo/Africa/Cairo Sat Aug 20 21:00:00 2011 UTC = Sat Aug 20 23:00:00 2011 EET isdst=0 gmtoff=7200

and changed to be
/usr/share/zoneinfo/Africa/Cairo -9223372036854689408 = NULL
/usr/share/zoneinfo/Africa/Cairo 9223372036854689407 = NULL
/usr/share/zoneinfo/Africa/Cairo 9223372036854775807 = NULL

After adding the new rule
Note : these are the I made to disable auto conversion to daylight saving. I created a text file named nodst at usr/share/zoneinfo/Africa
Then type the following:
#Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
Rule egypt 2011 2013 - Apr 29 00:00 0 s
# Zone NAME GMTOFF RULES/SAVE FORMAT [UNTIL]
Zone Africa/Cairo +2:00 egypt BRE%s
Then issue the following command
zic nodst
ln -sf /usr/share/zoneinfo/Africa/Cairo /etc/localtime

View 3 Replies View Related

Server :: Chedule Check Disk At Boot Time In CentOS 5.3 And OpenSUSE 11.1?

Feb 24, 2010

How to schedule check disk at boot time in CentOS 5.3 and OpenSUSE 11.1?

View 5 Replies View Related

Fedora :: Wont Boot "***an Error Occurred During The Filesystem Check?"

Jan 28, 2010

i was recently trying to boot my fedora 12 installation of a usb device today when i went to boot it i enter my LUKS pasfrase and it stops with an error mesege:

Code:
***an error occured during the filesystem check
***droping you to a shell; the system will rebot

[code]...

View 1 Replies View Related

General :: Finding Out The Time A Filesystem Was Last Mounted

Jun 15, 2010

I want to find out the last time a filesystem was mounted on Linux (Debian).

View 1 Replies View Related

General :: Check If NTP Adjusted System Time?

Aug 27, 2010

I have a machine that experienced some troubles with some of the real time stuff that I'm running. One lead that I have is that NTP daemon may have moved the time, causing false timeouts.

How do I find out if NTP daemon did indeed move time at all? Any logs? I do see NTP daemon restart in /var/log/messages, but I don't know if time adjustment should be there as well. to clarify: I need to understand it from the logs, after the event. May be 2 days after the time was adjusted. Running commands to see the current status doesn't help.

View 3 Replies View Related

Debian Configuration :: "Squeeze" - Trigger "Check Disk" During Boot (before Filesystem Is Mounted)?

Nov 20, 2010

as far as i know Debian "Squeeze" has a disk check utility, but you can't run this on a mounted filesystem. Is there a way to trigger this during boot (before filesystem is mounted) ? I can run this once a month to keep filesystem healthy....

View 2 Replies View Related

Ubuntu :: Automatic Disk Check Missing?

Apr 19, 2011

Ubuntu has got this build-in check for errors which starts every 30 startups (if I remember well ) but my one gone missing... Strange. How can I turn it back on ?ound in the forum some information about Bonager, but is this original automatic disk check software shipped with Ubuntu or another piece of software ?

View 5 Replies View Related

General :: Check Server Bandwidth Usage In Real Time?

Mar 21, 2010

I'm trying to check my server's bandwidth usage in real time, installed the following programs but none worked so far.

Iptraf - No results even when using iptraf -u
Tcptrack - Error : pcap_loop: cooked-mode frame doesn't have room for sll header
Iftop - No results, everything 0b

Are there any programs that displays bandwidth usage in real time and actually works on VPSes? Or getting real time bandwidth usage on a VPS is simply impossible?

View 5 Replies View Related

Server :: Stopping Automatic Disc Check In Debian?

Sep 7, 2010

Whenever my debian based server is rebooted 35 times it does an automatic disc check. When it does this and completes the disc check it doesn't properly establish network comms and I can't get in using SSH and I can't even ping the server.If I reboot again, it operates as normal but the problem is that the server is remote to me and I need to travel to the site when this occurs.

View 6 Replies View Related

General :: Slackware Automatic Boot And Load?

Jul 26, 2010

I've installed Slackware 12.2 on a 12 year old desktop. It is the only OS on the machine. When I press the Power button it stops at Slackware's splash screen asking me to choose an OS, even tho' there is only one to choose from. I installed LILO to the MBR and that is also listed there as a possibility.

Is there a way to set Linux so it will simply load automatically?

View 6 Replies View Related

Fedora :: Kontact And Spam Wizard - Go Into Terminal And Do Some Repairs?

May 3, 2010

I set up the spam wizard in Kontact/Kmail yesterday. I told it to put all the spam in the "Spam" folder. Seems the default is "Trash". Well, now it sticks everything in the "Trash" folder. Everything including standard e-mails that should go into the inbox. I've tried a few things. The program seems to be hung up somehow. Is there a way to go into a terminal and do some repairs?

View 5 Replies View Related

General :: Automatic Mount A Ntfs Partition After The Boot?

Apr 29, 2011

I want to automatic mount a ntfs partition after start. I work on fstab, everything seems to be ok, but now something strange is happening: sometimes after boot, when I use fdisk, I find all the partitions as sda, sometims they seems to appear as sdb. Of course, if in fstab I have written sda and they are sdb, they will not be aoutomount... I am using fedora 14 I was expecting that allways the partitions to be sda or sdb.

View 1 Replies View Related

Ubuntu :: Setting Time To Start Automatic Downloads?

Feb 18, 2011

I need a download manager that automatic start download at 2 a.m and stop in 8 a.m . I test many app such as
fatrat
d4x
....
but can not find app like idm in linux.

View 2 Replies View Related

General :: Automatic Reboot And Revert Grub Config On Boot Failure?

Dec 3, 2010

I have a working RHEL in /dev/sda1 and a newly constructed Ubuntu Lucid in /dev/sda2. I'm going to edit the grub config and reboot the server into the new Ubuntu. However, I'm not 100% sure that the new distro can boot. And since my only way to access the server is via SSH, I need the network to be up too.

How can I configure Grub and Ubuntu so that if the server fails to boot, it will automatically reboot into the old RHEL? Currently using GRUB 0.93, but I can upgrade it if needed.

Update: In the end, no boot failure occured. But without the insurance from this, I wouldn't have attempted [URL]..

View 2 Replies View Related

Ubuntu :: Disable Filesystem Check After System Crash

Aug 22, 2011

how can I disable the automatic file system check after power outages or system crashes? The check sometimes prompts for a key (ignore, repair etc.) but the panels do not have a keyboard.

View 9 Replies View Related

Programming :: Any Way To Defeat Automatic Type Promotion In C++ At Compile Time

Jan 15, 2011

It is known and well described in C++ standard ('C++ Standard - ANSI ISO IEC 14882 2003.pdf') that under certain circumstances types are promoted - for example, 'int' is promoted to 'double'.My design goal is to create wrappers around standard scalar types (like 'double', 'float', 'long', etc.) that would prevent such conversions/promotions, i.e. I want to create a really strictly typed C++ environment (like, say, OCaml).

However, the promotion is caught at runtime.Is there a way in C++ to catch/block such promotions/conversion at compile time ?

View 7 Replies View Related

Ubuntu :: Update Manager Crashed - Root Filesystem Check Failed

Apr 8, 2011

This is a Natty system. I ran update manager to update to the latest releases for Natty, and it crashed. I ran it again and it told me it could only do a partial upgrade, and that I should do apt-get install -f. I did that, but apt-get told me the system was locked by another program. Not to worry I thought, I'll just reboot. So I did that, and I think Update-Manager got a lot further through the process than I thought, because my system is borked. It'll boot into Gnome, but when booting up the Boot Screen no longer shows the pretty Ubuntu Logo, but rather a line of text that says "Ubuntu 11.04".

When it gets into Gnome the keyboard and mouse more or less don't work (although the keyboard based Fn+9 and Fn+10 brightness control still works) and there is no desktop background. After about 30 seconds something crashes but I can't click on it to find out what. Going into the recovery console doesn't help either. The latest Kernel (2.6.38-7) stops moving forwards after "Begin:Running /scripts/init-bottom...done". has occurred for the second time. Luckily I still have the previous kernel, which gets to the same spot and then tells me:
"init: udevtrigger main process (390) terminated with status 1" and then "init: udevtrigger post-stop process (394) terminated with status 1".

I then get the message
"The disc drive for / is not ready yet or not present. Continue to wait; or Press S to skip mounting or M for manual recovery". S goes back to "Begin:Running /scripts/init-bottom...done" a second time, M brings up the message:
"Root filesystem check failed. A maintenance shell will now be started"
and then it asks for the root password and gives me a terminal. Everything seems to be there, but apt-get and dpkg both can't do anything as the filesystem is read only.

View 9 Replies View Related

Red Hat / Fedora :: Unable To Replace Drive In RAID 5 After Filesystem Check Freezes?

Apr 28, 2011

I'm a bit of a Linux newbie, but I did manage to set up the following RAID-5 system:1x 500GB system drive on ATA IDE4x 1TB SATA drives in software RAIDLinux = Fedora 13So here's what happened. I set up the system to send me an email every time the mdadm stat file changed, so it would send me emails when in periodically ran a self-test. I was away and noticed that the self-test was going incredibly slow (usually took 8 hours...was on course for taking 250 days!) A colleague decided to just reboot the system.Afterwards, the system would not boot and, while all 5 drives were connected, would stop at an endlessly scrolling error message of: Code: ata4.01: exception Emask 0x0 SErr 0x0 action 0x0

ata4.01: BMDMA stay 0x64
ata4.01: failed command: READ DMA
ata4.01: (a bunch of hex numbers)

[code]....

View 3 Replies View Related







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