Home > Cannot Lock > Cannot Lock Lock File /etc/mtab

Cannot Lock Lock File /etc/mtab

Required fields are marked *Comment Notify me of followup comments via e-mail Name * Email * Website Twitter Proudly powered by WordPress Debian Bug report logs - #440828 umount fails to To: [email protected] Cc: [email protected] Subject: Re: Problem with mtab? ISTM that problem can be cleanly addressed by issuing: mount -n /var mount -n /var/lock Immediately after we've performed filesystem checks (IIRC, this is what Solaris used to do eons ago). Mounting other filesystems: can't create lock file /etc/mtab~977: Read-only file system (use -n flag to override) These all probably need to take the advise to use "-n" when readonlyroot is set. http://ecoflashapps.com/cannot-lock/cannot-lock-lock-file-etc-mtab-timed-out.html

For a system with /var on its own FS, the first command would mount it and we can continue on our merry way. Format For Printing -XML -Clone This Bug -Top of page First Last Prev Next This bug is not in your last search results. The basic idea is keep the root partition usable and consistent in itself. see bug #214891 Comment 10 Karel Zak 2006-11-30 17:21:05 EST Ah.. check here

Jeff Comment 5 Karel Zak 2006-11-29 18:29:17 EST OK. the mount failed) or it just means that /etc/mtab isn't mounted. With that in mind, I don't think we should bother with a symlink to the lock file; it doesn't make a lot of sense to me. Thank you Reply With Quote 26-Dec-2008,06:06 #6 big_red NNTP User Re: Strange issues SUSE 11.1 Gnome You guys are having it easy, i'm having boot problems on 11.1 x86_64 - my

By the way, I still don't know why, if you have the custom menu (GNOME), some items are duplicated. If there is a remote share involved, a reboot of the NFS server (or restart of nfsd) & a reboot of your machine should cancel any NFS connections. None of this seems particularly difficult to implement. Attached patch defers the attempt to create /etc/mtab until after the mount has completed.

Comment 4 Bill Nottingham 2009-02-27 16:12:54 EST *** This bug has been marked as a duplicate of bug 214891 *** Comment 5 Alexander Todorov 2009-08-24 06:31:53 EDT This is incorrectly closed Tango Icons Tango Desktop Project. Re: /etc/mtab is missing But I cannot create /etc/mtab. Bug archived.

did mount-a 6. most of the time i get a message saying "invalid file system" for my root partition. Mark's patch only deals with getting some consistency in regards to error messages and the like. I was tensed and removed my USB drive without Unmounting. 3 Then I rebooted my machine, now neither my Xp-partitions nor my USB drive is getting mounted. 4.

Notification sent to "Richard Wohlstadter" : Bug acknowledged by developer. https://lists.debian.org/debian-user/1997/06/msg02370.html Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Major release. Comment 10 Steve Rotolo 2009-12-17 08:59:58 EST When READONLY root is used with the default /etc/rwtab, rc.sysinit creates /var/lock as a bind-mount into /var/lib/stateless/writable. Reply With Quote 01-Jan-2009,19:27 #8 Jreed11665 NNTP User Re: Strange issues SUSE 11.1 Gnome -JAVA binfmt_misc The reason that disabling jexec clears the hangs at startup is that SUSE 11.1 tries

Reply With Quote 02-Jan-2009,02:20 #9 Will Honea NNTP User Re: Strange issues SUSE 11.1 Gnome Jreed11665 wrote: > > The reason that disabling jexec clears the hangs at startup is that navigate here I deleted the mtab.fuselock, same thing. A little lysdexic this morning. Contact Us - Advertising Info - Rules - LQ Merchandise - Donations - Contributing Member - LQ Sitemap - Main Menu Linux Forum Android Forum Chrome OS Forum Search LQ

Reported by: "Richard Wohlstadter" Date: Tue, 4 Sep 2007 16:12:04 UTC Severity: normal Found in version util-linux/2.12r-19 Fixed in versions 2.13, 2.20.1-1 Done: Roger Leigh Bug is archived. Join Date Aug 2008 BeansHidden! Do not delete the file /etc/mtab (without "~"). Check This Out When I boot, I saw /etc/mtab~2395, I think that's the root of my problem, but i can't seem to find /etc/mtab~2395 The error message when I try to create /etc/mtab using

You will have to register before you can post in the forums. (Be aware the forums do not accept user names with a dash "-") Also, logging in lets you avoid timmeke View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by timmeke 05-22-2010, 12:54 AM #5 Asmita_Nag LQ Newbie Registered: May 2010 Posts: Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [ubuntu] /etc/mtab is missing Having

I removed the mobprobe call to mount for binfmt_mish in the modprobe.conf file to clear the problem temporarily.

All are fixed now /etc/mtab is a symlink. #64479 mount: should use /proc/mounts with mtab as backup - /proc/mounts is now always used #94076 mount: doesn't update mtab when link to I > removed the mobprobe call to mount for binfmt_mish in the modprobe.conf > file to clear the problem temporarily. You are currently viewing LQ as a guest. Basically, with so many umounts going on at once, the code was not trying enough times to gain the lock on mtab before it gave up.

Is it when loading a driver or specific service? -Wj Have a lot of fun! What does: $ ps -ax|grep [m]ount output on your system (is mount still running)? I hope I didn't overlook something :-) Comment 3 Mark McLoughlin 2006-11-10 10:51:59 EST (In reply to comment #2) > Your request make sense, but if create_mtab() fails: > * old this contact form e-mail to [email protected] .

They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Full text and rfc822 format available. Reply With Quote Page 1 of 2 12 Last Jump to page: « Previous Thread | Next Thread » Bookmarks Bookmarks Digg del.icio.us StumbleUpon Google Facebook Twitter Posting Permissions You may Comment 2 Bill Nottingham 2009-02-27 11:23:15 EST *** This bug has been marked as a duplicate of bug 214819 *** Comment 3 Brian J.

Asmita_Nag View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by Asmita_Nag 05-22-2010, 01:13 AM #6 linuxlover.chaitanya Senior Member Registered: Apr 2008 Location: can you see where the delay occurs? For systems with a separate /var it provides a suitable lock directory when running in rescue mode (which is probably a good idea anyway).