LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 04-09-2006, 01:32 AM   #1
cecollinsjr
LQ Newbie
 
Registered: Apr 2006
Posts: 1

Rep: Reputation: 0
/etc/mtab input/ouput error


Never mind. Fixed it. Copied /etc to tmp, removed /etc, copied it back. Don't yet know why this fixed things.


2.6.16-1.2080_FC5
references to /etc/mtab by any utilities which concern mounting, including usb, removable media, internal disks, "df", etc. fail with "/etc/mtab input/output error".
proc/mounts is visible and populated.
This makes it impossible to mount usb, accumulates tons of error messages in dmesg and /var/log/messages.
First appeared after FC5 updates with:
Apr 8 06:58:32 localhost kernel: audit(1144504677.102:2): avc: denied { getattr } for pid=1292 comm="mount" name="mtab" dev=sda6 ino=8799416 scontext=system_u:system_r:mount_t:s0 tcontext=system_ubject_r:unlabeled_t:s0 tclass=file

Turned off selinux, no change.

also noticed when restarting nfs:
Starting RPC idmapd: Error: RPC MTAB does not exist.
and
[root@dtxps1 etc]# ln -s /proc/mount /etc/mtab
ln: accessing `/etc/mtab': Input/output error
[root@dtxps1 etc]# ls /etc/mtab
ls: /etc/mtab: Input/output error


Thank you.

Charlie Collins

Last edited by cecollinsjr; 04-10-2006 at 02:25 PM.
 
Old 04-14-2006, 02:36 PM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,950
Blog Entries: 5

Rep: Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755
You don't by any chance have /etc as a separate mount in your fstab do you? Since it writes to /etc/mtab on a mount it would right to that BEFORE you mounted /etc. After /etc mounted it would hide the original /etc/mtab beneath the mount point so susequent reads/writes to /etc/mtab would actually be using a different mtab that the original which would freak it out a bit.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
aplay: pcm_write:1029: write error: Input/output error mimithebrain Linux - Software 2 12-04-2007 11:51 AM
cp - error reading /mnt/cdrom/mpegav/avseq01.dat input/output error manishsingh4u Linux - General 2 10-17-2005 05:02 AM
java compiler+error ouput language bai_design Programming 0 10-06-2004 07:41 PM
question about ouput of ls -l Itzac Linux - Newbie 1 05-09-2004 04:18 PM
SAR Ouput Question te_conway Linux - General 10 01-26-2003 09:29 AM


All times are GMT -5. The time now is 03:24 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration