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
ADVERTISEMENT
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
View Related
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
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
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
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
Mar 14, 2010
i am very frustrated with my ubuntu system which is meant as a workstation-server. It seems to loose track of its drives every time I add diskspace.Now every other boot (it seems) it says (among other things: VFS: can't find ext3 filesystem on dev sdd5) drops me to a maintenance-shell and asks for the root password (whats that in ubuntu, the user password does not word) - so I can't log in. Ctrl-D sometimes works and it boots through or boots after warmstart by Ctrl-Alt-Del.
[edit: found out that with alt-f3 i can access a normal shell - good - but how do I start up the GUI in ubuntu? - startx does not work] I have manually fsck'd all ext2/3 partitions form a ubuntu booted from CD - still it says something about not being able to mount /dev/sdd5.Since every now and then I have so much trouble bringing up the machine I am quite unhappy. I suspect the constant updates are prone to break things - is that so?And how do I resolve this issue. Unfortunately there is nothing about the errors in /var/log/messages or dmesg so it is no use posting it here. Where are such errors recorded? [edit: I changed the mappings in fstab to resolve the issue - still it is awkward that drives get messed up so easily. Are UUIDs in fstab less error prone when moving drives around, or do they have other issues?]
View 9 Replies
View Related
May 12, 2011
So a few hours ago I opened up GPartEd from a live CD, and one of my operations was moving the /home partition up a little. In the process, it was changed from /dev/sda8 to /dev/sda7. Well upon the next boot, /home failed to mount. I edited /etc/fstab (and apparantly DropBox had just commented out the line that mounts /home so I have NO IDEA how /home was being mounted before) and still no dice. So every time I boot, I have to go to manual recovery and type mount /home before I can boot.
Is there some way I can mount /home without making a "git 'er done" script?
On a side note, Google Chrome has refused to open since the partition editing.
Oh, and, in case it is helpful, here's the contents of /etc/fstab:
Quote:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
[Code]....
View 2 Replies
View Related
Aug 13, 2010
I want log in locally to my Lucid (10.04) workstation and have my code saved over the network on my samba account At work, all developers have samba user ids and when we were running Red Hat, we went thru the following procedure to get setup.
* open a shell session to NFS server and execute the "id" command to get my samba user information.
Code:
$> ssh l alberto our_nfs_server
$> id
uid=7090(alberto) gid=100(users) groups=100(users)
* Create locally a login on my Linux workstation with the same login and uid.
Code:
$>sudo useradd u 7090 g 100 d /home/alberto s /bin/bash alberto
[code].....
Code:
mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) mount.nfs: access denied by server while mounting our_nfs_server:/d0/homedirs/alberto It does not work at all!!?? However, the same procedure on a RedHat workstation works fine. No errors.
View 2 Replies
View Related
Feb 14, 2010
So when I booted my system up today my second internal hard drive which is formatted to ext4 failed to auto-mount for me(I have an fstab entry for it). When I I tried to manually mount it from terminal it failed and suggested I run dmesg | tail and here is the output from said command:
Code:
dmesg | tail
[ 292.424199] sd 2:0:0:0: [sdb] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[code]....
View 7 Replies
View Related
May 28, 2011
I have no problems accessing files, with the windows shares. The only problem is getting my printer to mount. Here is the trouble shoot log, I didn't fine the problem till, I tried to print something.
Quote:
Page 1 (Scheduler not running?):
{'cups_connection_failure': False}
Page 2 (Choose printer):
{'cups_dests_available': [], 'cups_queue_listed': False}
[Code]....
View 2 Replies
View Related
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
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
Jan 12, 2011
I've just upgraded to 11.3 (64 bit) and the nfs client does not quite work. I have 3 mounts I try to make, and 2 out of 3 work. The third seems to mount, but shows an empty directory. There are no errors in /var/log/messages on the 11.3 client or the server. The only difference between the 3 mounts that I can see is that the failing mount is of an xfs system. The other two happen to be ext3. Is that visible to the nfs client? Or is that a red herring? I can still mount all 3 just fine from my other opensuse 11.2 systems.
For info, the server is running opensuse 10.3...
Code:
nas:~ # uname -a
Linux nas 2.6.22.19-0.2-default #1 SMP 2008-12-18 10:17:03 +0100 i686 athlon i386 GNU/Linux
View 5 Replies
View Related
Jan 24, 2010
My 4 GB 2nd generation Ipod nano will not mount to my Compaq Presario 2105US running Xubuntu 9.10. I get a message that says, "Failed to mount Ipod" with a description that says, "mount: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so ."
I even went back to my XP to restore the ipod to factory settings essentially formating it, to see if that would help, but I get the same result.
Is there something that I may have overlooked?
View 7 Replies
View Related
Mar 15, 2011
One entry I have put in fstab results in the failure of a partition to be mounted at boot time. I get the message:
Code: The disk drive for /media/WinXP is not ready yet or not present. Continue to wait; or Press S to skip mounting or M for manual recovery If I choose M and enter the command: Code:mount -t ntfs /dev/sdb1 /media/WinXP then I get no error message, but the partition still doesn't seem to be mounted, when boot completes.
I don't understand this failure. I have created my fstab file using UUIDs to boot Ubuntu on my dual boot machine. It works fine, booting from the hard-disk which is Master on my Secondary IDE channel. For Ubuntu booting the MBR and grub menu are on this disk. The default is to boot Ubuntu , but with an option to select Windows Xp.
As an aside, I can set an option in my BIOS to make the Master disk on the Primary IDE channel the first disk, rather than the second disk. Then the system boots from the MBR on this Primary IDE channel and boots only to WinXP. That works fine.
When running Ubuntu I use space on the Windows disk (on the Primary IDE channel) to hold backups of key Ubuntu files in case I loose Ubuntu - as I did for the past few days. So, to mount this partition I inserted this line into my fstab:
Code:
UUID=0e4851c44851ab6b/media/WinXPntfsnosuid, nodev, allow_other00 I know the UUID is correct because I have checked it with blkid. But the partition is not mounted at boot time. I don't even get an icon for the partition on my desk top. It appears in the 'places' menu, as unmounted, but mounts as soon as I click on it. However, this causes some of my linux apps, which want to load and save to this partition, to post an error message until I have manually mounted it via clicking on it in the Places menu. I want to avoid this manual step by having the partition automatically loaded at boot time. What am I doing wrong?
View 9 Replies
View Related
Dec 27, 2010
I am saddened that I can't install any Linux distro with ease on my HP m8530f computer which runs on a m2n78-la motherboard. It has a Phenom CPU, 6 SATA ports and probably a fakeRaid (at least that's what I guess is causing problem). The Fedora 14 Desktop install goes all the way to the end and then I get a fail message due to not being able to mount /dev/mapper/xxxxx.
P.S. the motherboard only has SATA mode or disabled for HardDrive mode and no any other options. Seems like this is an HP custom made motherboard from Asus hence the limited options in Bios setup.
View 3 Replies
View Related
Jul 16, 2011
I'm using OpenSuse 11.4 (x86_64) with KDE 4.
It's not possible to mount external USB (ntfs) disks with a non-root user using the Device Notifier or Dolphin. The error is:
Could not mount the following device: MyBook 2
org.freedesktop.UDisks.Error.PermissionDenied: Authentication is required
It is a permission problem; running Dolphin under root and clicking the USB disk mounts it without problems. The same should be possible to an ordinary user. The Update Applet does not work for the same reason (I can only install updates using yast).
Of course, I googled the error and there were a number of possible solutions, which I all tried. That includes allowing the action in the policy and adding the user in AdminIdentities local-authority. The file /usr/share/polkit-1/actions/org.freedesktop.udisks.policy contains "yes" for every option. Needless to say it doesn't make sense and I'm out of options.
View 1 Replies
View Related
May 1, 2011
I've added my public key to the remote machine's authorized_keys file, and I can ssh over without password. But when I try to mount the remote share using sshfs it -always- asks for my user's password. I have set sshd_config|PasswordAuthentication no
... and when I mount the share as root it says, "read: Connection reset by peer". My mount is being done as user, so it shouldn't be a root authentication problem:
sshfs#bill@droog://media/droogfuseuser,noauto,gid=6,umask=007,cache=no,ServerAliveInterval=15,reconnect,allow_other,comment=sshfs 0 0
I can't mount as user because /dev/fuse is not suid, and I'd rather not set it such.
View 10 Replies
View Related
Apr 11, 2011
I have been tearing my hair out with this. As part of a backend perl script i am holding the Epoch time as session data using apache session and mysql so i can delete sessions after an expiry period. When I retrieve the time it is about three months old even when i only just set it. The code example below best describes the problem:
View 5 Replies
View Related
Jul 21, 2010
I was running openSUSE 11.2 on a Dell Studio with a mirrored disk. The upgrade to 11.3 went well it seemed until it got to the point of installing the new bootloader. Then it couldn't mount /boot. Otherwise it seemed to go OK though.It completed and rebooted. I see a very brief flash of the word GRUB on the reboot, but then the screen blanks and I get the BIOS messages again.How can I now install GRUB so that I can boot. I had a similar issue with 11.2 in the past, and was able to repair GRUB using 11.2's DVD's "Repair Installation" which had tools to reinstall GRUB.11.3's DVD is missing this option.I'd prefer not to do a fresh install as then I will have a lot of OS setup to repeat (Samba, Apache, Trac, etc.....)
View 9 Replies
View Related
Feb 14, 2010
So when I booted my system up today my second internal hard drive which is formatted to ext4 failed to auto-mount for me(I have an fstab entry for it). When I I tried to manually mount it from terminal it failed and suggested I run dmesg | tail and here is the output from said command:
Code:
dmesg | tail
[ 292.424199] sd 2:0:0:0: [sdb] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[ 292.424208] end_request: I/O error, dev sdb, sector 65
[ 292.424456] EXT4-fs (sdb1): unable to read superblock
[ 298.348591] DRS: unkown mode,default use 11N 1S AP
[ 298.348602] DRS: unkown mode (SupRateLen=8, ExtRateLen=4, MCSSet[0]=0x0, MCSSet[1]=0x0)
[ 301.371878] ===>rt_ioctl_giwscan. 1(1) BSS returned, data->length = 80
[ 306.211535] sd 2:0:0:0: [sdb] Unhandled error code
[ 306.211543] sd 2:0:0:0: [sdb] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[ 306.211552] end_request: I/O error, dev sdb, sector 65
[ 306.211581] EXT4-fs (sdb1): unable to read superblock
View 1 Replies
View Related
Feb 15, 2010
mount: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so
I am not sure what is happening here. My ipod nano worked perfectly with the computer I am using with Windows XP, Ubuntu 9.04, Xubuntu 9.04, and gNewSense 2.3.
I wanted to use Xubuntu 9.10, but my ipod does not work with it. The other choice is gnewSense, but I am not sure if I want to be limited by their ultra-strict free software policy. I posted a TON of information on the Ubuntu forums about this:
[URL]
View 1 Replies
View Related
Nov 20, 2010
I'm attempting to mount a Windows dir to a mount point on my Linux VMWare instance running on my Windows 7 machine. I am using a shell file to automatically mount the directory I want at bootup. However, I'm finding that Linux always mounts to a directory at the top of my C: file structure for some reason, and I can't figure out why.
Here's the dir structure:
C:/target (don't want to mount this, but this is what gets mounted)
C:/Users/me/target (this is what I want to mount to)
Here's my shell script:
Code:
mount.cifs //192.168.56.1/Users/me/target /mnt/target -o credentials=/root/credentials.auth,domain=mycomputer,uid=1001,gid=1001,rw
And here's what I get when I enter mount at the prompt:
Code:
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sda1 on /boot type ext3 (rw)
none on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
If this means anything my Virtual Machine has a single hard drive SCSI, which I believe is /dev/sda1. I don't see anything from mount that would indicate that the c:/target dir is getting hard-mounted somehow from the /etc/vfstab file, but maybe I just don't understand how mounting works...
View 2 Replies
View Related
Dec 2, 2010
I have a machine with a fresh install of fc14. When I first created the machine about 3 weeks ago I could attache my iPhone 3GS and FC14 (gnome) would detect it and I could use shotwell and rhythmbox fine. Ya!
Now as of about 1.5 weeks ago, when I plug in my phone I get a pop up with : Unable to mount Brian's iPhone DBus error org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus) dmesg doesn't show any errors, just that an iPhone was attached. Is this just me or are others seeing this? Any ideas as to what might be wrong?
View 1 Replies
View Related
Dec 27, 2009
I have a mounting rack in which I try to plug in various HDDs. Now, all of them have vfat. Blkid returns something like:
/dev/sda7: UUID="4B16-F1E8" TYPE="vfat" The UUID looks abnormally short to me. I found no way to obtain a longer, typical UUID, and when I set Yast2 partitioner to mount by UUID, it sees and it successfully uses the short UUID. Yast2 even adds it to /etc/fstab like this: UUID=4B16-F1E8 /windows/C vfat users,gid=users,umask=0002,utf8=true 0 0 However, this short UUID is useless in /etc/fstab. It doesn't work at boot time and it doesn't work when I try to mount manually. xxxxx:~ # mount /windows/C mount: special device UUID=4B16-F1E8 does not exist. Also, one cannot find these short UUIDs in /dev/disk/by-id/.
For a billion reasons, I really want to mount these FAT32 partitions by UUID. Do I have any way to do it?
View 9 Replies
View Related
May 14, 2010
Both server (web01), in DMZ, and client (app01), intranet, are Linux OEL5.5.
A few hints follows:
1- I ssh to web01, in DMZ, from a intranet machine on my desktop, export my DISPLAY, and try to bring up xclock; nothing happens.
2- traceroute from web01 to app01 fails.
3- NFS mount from web01, nfs server, to nfs client, app01, fails.
How should my network configuration on web01 or app01 be to make this NFS mount from web01 to app01 work?Each server has 4 NICs, I've only used eth0.
View 2 Replies
View Related
Oct 18, 2015
I eventually gave up and migrated to mdadm. Works just fine. Having upgraded to jessie and solved one problem
[URL] ....
I find the next one. When I boot into jessie my RAID device (just a data partition not /) is not found causing the boot to fail as per problems reported here
[URL] ....
After booting I can mount my RAID device but if it's in the fstab when booting it fails. Also, I notice that some of my lvm device names have changed. After a bit of hunting around I found a couple of solutions pointing to running dmraid as a service during boot and changing the entry for the RAID device in fstab to use the UUID.
[URL] .....
This seems to work. However this seems to be a workaround and as the lvm device paths for my / and /usr partitions have also changed, I'm wondering if there is a bug here as mentioned in the second link?
The / and /usr paths changed to /dev/dm-2 and /dev/dm-3 from the /dev/mapper/ form.
View 2 Replies
View Related
Jan 8, 2010
Update-notifier told me there were updates today and I installed them. Among them were some for chromium (the browser, not the game ). After the update I couldn't start the browser. I tried starting from terminal and got: "Inconsistency detected by ld.so: dl-minimal.c: 138: realloc: Assertion `ptr == alloc_last_block' failed!" "I haz a fail!", I thought to myself and then tried rebooting and then reinstalling. Neither worked. This is on a 64-bit machine. Everything else works as expected. Using Firefox now, but I want my chromium-browser as well.
View 9 Replies
View Related
Jan 13, 2010
I've been trying to connect to my office Cisco VPN several time using the network-manager-vpnc GUI in Ubuntu Karmic with no success. I read a couple of articles and i tried using the direct command line way:
Code:
sudo vpnc office
with the following /etc/vpnc/office.conf file:This is fictional data
Code:
IPSec gateway vpn.office.com
IPSec ID office
IPSec secret 0ff1c3
which worked perfecly.
So i went back to the Network Manager GUI way and i used the same credentials. Same fictional data I got a libnotify message telling me it couldn't connect.Anyone know how i could troubleshoot this issue? Would be great to have it integrated in gnome instead of running a background command which is not tracked by nwm.
View 6 Replies
View Related