General :: Unexpected Inconsistency Run FSCK Manually

Jun 8, 2011

RHEL 5.4. I'm facing the following error after rebooting the server:
/dev/VolGroup01/u04: UNEXPECTED INCONSISTENCY Run fsck Manually"
*** An error occurred during the file system check.
*** Dropping you to a shell: the system wil reboot
*** when you leave the shell.
give the root password for maintenance:

-Previously I performed a lvreduce command on a LV, after the lvreduce, I reboot the server.
-After login as root I run:
e2fsck -f /dev/VolGroup01/u04

But, it shows:
The filesystem size (according to the superblock) is 5218304 blocks
The physical size of the device is 1310720 blocks ...
either the superblock or the partition table is likely to be corrupt
abort<y>? no
pass 1: cheking inodes, blocks, and sizes
error reading block 1310722 (invalid argument) while doing inode scan
inore error <y>? y

-Additionally, trying to lvdisplay, it shows:
Locking type -1 initialization failed
I have no important data on that LV, but I can not boot the server properly.

View 4 Replies


ADVERTISEMENT

Ubuntu :: Mount Fails Because Of Unexpected Inconsistency?

Oct 15, 2010

We are testing Ubuntu as the base for our products, we create custom Karmic installations (debootstrap + some extra packages) and then deploy our software, these systems can start in two different modes: "normal" and "read-only". We must say the system works quite well, but after some time, several systems are showing a common error: they don't start or fail showing an unexpected inconsistency for one of the partitions (every system has one hard disk with four partitions), the message refers to an unexpected inconsistency. When this error appears, a recovery console is started and I can run fsck and answer "yes" to its recommendations, after this the system runs again without errors. The problem is that this error can appear again at a random time and we need to avoid this "manual fixing" process, I've searched the web and found some references to a bug? in an early Karmic version: [URL]

Besides ALSA 1.0.23, we use only standard Karmic tools (all from the official repositories), we are running the latest kernel update available for Karmic, and don't know whether this inconsistency is caused by our software or by the system itself, or maybe because of incorrect shutdown?

At the moment, I'm setting a new test system using Lucid. Does anybody know if this is a "common" error in Karmic?

View 3 Replies View Related

Debian :: Mounting External Drives - Unexpected Inconsistency

Jan 28, 2010

This question is an extension of previous posts in relation to my removable drives. I have an external usb/ide drives and cowon iAduio7 music player. The former is always connected and latter occasionally. The first drive to be recognized gets allocated /dev/sdc1 and /dev/hdd respectively. Until ten days ago I would simply mount them manually after each boot. Recently I added them to my fstab file. It's fine only for this error message on boot.

Code:
/dev/sdc1 unexpected inconsistency.
fsck died with exit status 4
failed (code 4)
Control-D to continue

I found the following on the net
Code:
If a device is not being mounted during boot, it may be b/c the driver for that device has not been loaded yet at the time that /etc/fstab is read (and thus the device is not active yet and doesn't get mounted). If you want to make sure it gets mounted during boot, you may need to take a look at the boot sequence for your distro and make changes as needed. Another thing you could try is adding a "mount" command of your own to one of your boot scripts. Most distros provide a file with a name like "rc.local" which gets executed late in the boot process and can be used to add your own custom commands to execute during boot. Firstly I want to know which script do you edit and does that mean I have to re-edit the fstab after creating the script.?

Here is my fstab:
Code:
[sudo] password for siawacsh:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sdd /home/siawacsh/cowon vfat defaults
/dev/sdc1 /home/siawacsh/myhome ext3 defaults 0 3
/dev/sdb2 / ext3 errors=remount-ro 0 1
/dev/sdb1 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
siawacsh@debian:~$
Remember sdc1 is the external drive, and sdd the music player.

I have attached the removable drives to directories mhyome and cowon.

View 7 Replies View Related

General :: Fsck Failed Run Manually?

Sep 23, 2010

loading /usr/bin/teclafsck failed. please repair manually and reboot. the root file system is currently mounted read-only. to remount it read-write do:bash# mount -n -0 remount,rw /attention: only control-d will reboot the system in this maintence mode shutdown or reboot will not work.

View 3 Replies View Related

General :: Fsck And Manually Mounted Filesystems?

Nov 12, 2010

I want the filesystem of my external drive to be checked periodically after a numer of mounts. I put 2 in the sixth colums of fstab for this partition

Code:
/dev/sdb1/mnt/hdext3rw,dev,sync,user,noauto,exec,suid02
and I use the tune2fs to set the maximum mount count to 32.
Code:
tune2fs -c 32 /dev/sdb

now the mount count is 34 and the date of the last check is not recent, so apparently the auto fsck has not been performed. Probably because this partition is not mounted at start-up but I usually mount it manually.

View 3 Replies View Related

Ubuntu :: Command Prompt And Said The 'file System Check Failed' And To Run Fsck Manually?

Feb 25, 2010

I have Ubuntu 9.10 installed on my HP desktop, but I'm running an older version (8.10) on a live CD so I can at least get online to ask for some When I tried to log on earlier it went to a command prompt and said the 'file system check failed' and to run fsck manually. I entered 'sudo fsck' at the prompt and I selected "y" to fix all the bad inodes, when it was complete it told me to restart, I then entered 'sudo restart' at the prompt and it said 'sudo uuid unknown'. I have not installed anything recently and I'm not sure what to do.

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

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

Fedora :: LVM Inconsistency After F14 Install?

Jan 17, 2011

I couldn't find any posts on this specific issue. I am inexperienced in Linux so please forgive my Windows-centric perspective. I recently updated to Fedora 14, used LiveCD and reformated my drives. I have two hard drives at 500gb and 1tb that combine to form one large lvm, the bulk of which is /home. According to system-config-lvm everything is in order-- it indicates lv_home with a volume group size of 1.36t and 0 available space, as it should be.

However if I browse (using Gnome 2.32.0) my filesystem and check properties on home, it indicates contents of 124GB with 77.9GB available space. The 124 probably isn't far off from what's in there right now, but 124GB plus 77.9GB don't give me close to the 1.36TB that I should have. I have lots of backed up files to move to the new installation and they total a bit more than the 77.9GB indicated as available.

View 10 Replies View Related

Ubuntu :: Inconsistency Between LS And Nautilus

Sep 8, 2010

I have a USB hard drive for backups using rdiff-backup (/media/backups/). I tried to do a backup last night but rdiff-backup could not find the appropriate destination directory of the drive. Sure enough a ls of the drive could not find it. Odd thing is that it is all visible in nautilus! An umount and a (re) mount did not help, even a re-boot did not help.

View 5 Replies View Related

General :: Tar - Unexpected EOF In Archive

Feb 14, 2010

I had created a tar ball of my home folder. But after formatting the system when I tried to untar it, it is showing the following error:

Code:

How to somehow recover my home folder!

View 3 Replies View Related

General :: DNS Unexpected Rcode (SERVFAIL)

Jan 27, 2010

From last few days i am getting some log messages in /var/log/messages. The log is .... unexpected rcode (SERVFAIL) from master 192.168.110.8#53 I am not sure what is it.

View 8 Replies View Related

General :: Bash_profile [ Unexpected End Of The File ]?

May 18, 2011

I'm trying to edit the bash_profile but I'm getting this error."/.bash_profile: line 46: syntax error: unexpected end of the file"Here is my bash_profile.

# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then

[code]....

View 3 Replies View Related

General :: Unexpected Output From Program?

Sep 8, 2010

while doing socket/network programming, i am getting SSH-2.0-openssh4.7 error, instead of showing day time of server.general description i have Linux Box, with the help of putty i am connecting from windows system to Linux box,no problem in loging,after typing program, i am running the program with gcc. when typing ./a.out, it is showing SSH-2.0-openssh4.7, actually it should display daytime from linux box in both tcp and udp.

View 1 Replies View Related

General :: Syntax Error Near Unexpected Token

May 4, 2010

find /opt/postfix/mail/email.com/~spam/~quarantine/ ( -iname * -o -iname .* ) ! -type p -exec grep -i -c admin@email.com {}; -xdev -print
When I do this command I receive this error message:
-bash: syntax error near unexpected token `('

View 2 Replies View Related

General :: Syntax Error Near Unexpected Token `else'

Dec 1, 2010

I wrote a script to start portal.

Its start portal (not a problem)

Only getting following message:

This is the else before second logic

View 32 Replies View Related

General :: Find -mtime Gives Unexpected Results?

Aug 12, 2010

Code:
$ ls -l
-rw-r--r-- 1 username vuser 35553 Aug 9 18:15 note.20100809_1815.sql

[code]....

View 3 Replies View Related

General :: Installation Not Starting - Unexpected Exit

May 14, 2010

Can't install linux on PC. Get the massage "Starting udev... udevd-work[137]: 'sbinblkid -o udev -p/dev/tmp-blo k-7:14' unexpected exit with status 0x000b.

View 3 Replies View Related

General :: Sort Generates Unexpected Results

Jun 7, 2010

I sorted a large mailing list and the result is in almost sorted order, but not quite.The sort was invoked in the default manner, just "sort".See (below) a segment of the output file.(Note: the actual files have a street address following each name.I have omitted the addresses to avoid complaints about disclosing personal information on-line.) I expect all people named KATZ to be grouped together, but they aren't. This phenomenon occurs elsewhere in the output file, so it has nothing to do with surnames beginning with the character string KATZ.

View 5 Replies View Related

General :: Syntax Error Near Unexpected Token `in'

Jun 28, 2011

I'm trying to install the Sun Java plugin to use in Chrome. The installation seems to have gone well, but I have hit an error trying to create a symbolic link of the libnpjp2.so library in the plugins directory of Chrome.

When typing in "in -s /opt/java/jre1.6.0_26/lib/i386/libnpjp2.so" I get "Syntax error near unexpected token `in' ". I'm not sure what could be wrong, I'm in the right directory.

View 2 Replies View Related

Debian Multimedia :: Inconsistency In Switching Keyboard Layouts

Jan 7, 2016

I had debian 7 with GNOM,XFCE and LXDE woking fine. After I upgraded it to debian 8 (the DE mentioned also upgraded to e newer versions) I started having problems with switching between US and RU keyboard layouts. It now behaves as if I have two US layouts and one RU, so when I press CTRL+SHIFT several times the layout changes as follows: US-RU-US-US-RU-US-US-RU etc.

This happens in all the three DEs installed. If I exit a DE using CTRL+ALT+F1 to the command line the layout switches normally. So I guess something wrons is with DEs.

My /etc/default/keyboard file reads as follows:

Code: Select allXKBLAYOUT="us,ru"
XKBVARIANT=","
XKBOPTIONS="grp:ctrl_shift_toggle"
XKBMODEL="pc105"
BACKSPACE="guess"

View 4 Replies View Related

Ubuntu :: Font And Display Inconsistency Between Two Users On Same Machine?

Jan 3, 2011

I have two user accounts on this machine. This problem is particularly noticed when browsing the web in Google Chrome (though I'm not sure if this a Chrome-only problem, so I'm posting this here). My distro is Kubuntu, but all my user accounts use Gnome.

Basically, I have the same font and display settings set up on both user accounts, but the fonts are not showing up the same. I'm not sure if at some point a long time ago I did something on one account that I never did on another to change something, but either way I can't seem to find any difference in any of the settings, yet the display is still different.

This is easier explained with screenshots.

1st user account: [URL]

2nd user account: [URL]

Note how the fonts appear bold and not bold, note the different appearance of the (c) character on the webpage, and note the size of the "Google" image is different.

For Chrome settings, both are set at 100% zoom, so this is not an issue of scale. Both user accounts are also set at 1600x900 resolution. Notice that the Google Chrome fonts are both set exactly the same, as are the Gnome system fonts.

Does anybody have a clue what I'm forgetting to check here? I believe the 2nd user account is the correct one, and the 1st one is wrong, since it clearly looks uglier.

View 2 Replies View Related

Programming :: Inconsistency In Transferring Commands Over Serial Port?

Jun 10, 2009

I have been reading data(non-canonical input) off a serial port in a loop. The device I am connected to sends the data in a bursty manner and I have to read using the loop. The device sends some data when initially powered on which I am supposed to read. I can then send "commands" to the device over the serial port. The "command" is supposed to be "debug d 35 5 0"After I send the command there is some data that is sent back by the device to show that the command was successful. This command should elicit the right response from the device but it responds correctly some times while other times it does not. (when I try to write the consecutive commands) If I send two consecutive commands after reading the initial data and the command feedback I face some problems.

View 10 Replies View Related

General :: Remove A Folder : Getting An Error : Unexpected EOF While Looking For Matching?

Apr 8, 2011

I tried to remove a folder in linux, davidanderson'spetshop_617 as a folder name. It contained a single quotes. By using the following command

rm -r path/davidanderson'spetshop_617

I am getting this error ,Error: unexpected EOF while looking for matching `''unexpected end of files.How can i remove the folder?

View 2 Replies View Related

General :: SSH: Server Unexpected Closed Network Connection

Jul 4, 2011

In my case, it occurs intermittently when trying to connect using putty's command line client 'plink.exe' to a linux machine using ssh. For some testing purposes, a linux server is setup with 8K virtual ip addresses and the testing scripts will connect to these ip addresses through ssh using plink.exe. There will be concurrently 25 ssh sessions launched to the server. While it works for sometimes, it throws 'server unexpectedly closed network connection' error intermittently. If the same ip address is tried again manually, it works. While the ssh server is accepting connections, this error is thrown sometimes and unable to find out the reason from the logs. It is not that the ssh connection is completely blocked. It gives this error message while connecting to some of the virtual ip addresses but works some times.

The hosts.deny, sshd_config are tuned to allow the connections, allow more sessions etc.

View 2 Replies View Related

General :: Bash - Syntax Error Near Unexpected Token `('

May 2, 2010

I am trying to install vlc media player on my backtrack3 but when i am giving a command xvjf to extract bz2 file then

bash: syntax error near unexpected token `('

View 1 Replies View Related

General :: Syntax Error Near Unexpected Token `for File In

Jan 19, 2011

I have been trying to get the following code to run.


Code:

However I am getting the following error:

Is there something that I am missing in the script? I have it as a unix file and tried to make sure that I did not have any extra characters.

View 7 Replies View Related

General :: Live CD With A Fsck.jfs On It

May 18, 2010

my root partition was corrupted after loss of power, so now my gentoo system won't boot. I need a Live CD that can fsck it back up, but ubuntu never boots on my machine.

View 2 Replies View Related

General :: Run Fsck On Root FS?

Nov 26, 2010

Can I do fsck on my root File system (/ ) from linux rescue on RHEL 5 ?

View 1 Replies View Related

General :: Fsck Error During Start Up?

May 25, 2010

I get an error during start-up

fsck failed. Please repair manually

If I Ctrl D to carry on everything boots up ok as far as I can tell.

If I try and fix:
# fsck /dev/hdb1
fsck 1.37
e2fsck 1.37
/dev/hdb1: clean, 38/7340032 files, 283481/1465320 blocks

[Code]....

View 14 Replies View Related







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