View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 6 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Dec 25, 2007 11:00 pm 
Offline
Joined: Tue Jan 30, 2007 1:27 am
Posts: 299
Hi,

I have a system that's been running fairly well with a SATA 250gb disk for the mythtv installation and a SATA 320 disk for /myth/tv.

I filled up the /myth/tv disk and that caused the usual problems... frontend can't talk to the backend, and error logs grow in size. I delete the error logs and some shows... and some "tmp" files in /myth/tv (perhaps some unfinished transcoding jobs). This should be enough for the FE and BE to communicate, but they aren't, even after restarting the BE. So I rebooted.

When the system came up, the SATA 320 (location of /myth/tv) didn't mount. Doing a "df" showed only 2 mounts. /dev/sda1 mounted to /, and tmpfs mounted to /dev/shm. I know there were 4 mounts before, one was /dev/sdb1 mounted to /myth/tv, and I don't recall the other, but i think it was /dev/sda3 mounted somewhere. And, I think the tmpfs mount looked different (but I'm not sure). I rebooted again and still only booted with the two mount points.

My /etc/fstab file shows a datestamp of Dec 14, so I didn't think this was the problem, but just doesn't look "right". At the bottom, it says this:

Code:
# Added by KNOPPIX
/dev/sda2 none swap defaults 0 0
# Added by KNOPPIX
/dev/sda3 /media/sda3 ext3 noauto,users,exec 0 0
# Added by KNOPPIX
/dev/sdb1 /media/sdb1 ext3 noauto,users,exec 0 0


when I added the second disk (this was months ago, I can't remember) I'm sure I specified a directory, not /media/sdb1.

Also, every subdirectory under / is owned by root group and root user. I thought some were owned by myth/myth?

Help, please! TIA


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 26, 2007 1:20 pm 
Offline
Joined: Sun Nov 13, 2005 5:56 pm
Posts: 104
Need to see your entire fstab. Do you have duplicates? From what I see now /dev/sdb1 is mounting to /media/sdb1 instead of /myth/tv. Plus that entry has the 'noauto' option so it will not mount until you do it explicitly. Is there another entry for /dev/sdb1? There should be one using /myth/tv as a mount point.

Did something else happen and hose your fstab?

-s-


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 26, 2007 2:38 pm 
Offline
Joined: Tue Jan 30, 2007 1:27 am
Posts: 299
I can't think of anything specifically happening to hose my setup, except for / and /myth/tv filling up completely.

Weeks ago, I was getting error messages for my / partition during boot, however, I ran fsck and then did a re-install. That stopped the boot errors. Again, that was earlier in the month, and I'd been running good since then, and had rebooted several times since with no problems.

Here is the complete /etc/fstab:

Code:
# /etc/fstab: filesystem table.
#
# filesystem  mountpoint  type  options  dump  pass
/dev/sda1  /  ext3 defaults,error=remount-ro  0  1
/myth  auto  defaults,auto  0  2

proc /proc  proc  defaults  0  0
/dev/fd0  /floppy  vfat  defaults,user,noauto,showexec,umask= 022  0  0
usbfs  /proc/bus/usb  usbfs  devmode=0666  0  0
sysfs  /sys  sysfs  defaults  0  0
tmpfs  /dev/shm  tmpfs defaults  0  0
/dev/cdrom /cdrom  auto  defaults,ro,user,noexec,noauto  0  0
# Added by KNOPPIX
/dev/sda2 none swap defaults 0 0
# Added by KNOPPIX
/dev/sda3 /media/sda3 ext3 noauto,users,exec 0 0
# Added by KNOPPIX
/dev/sdb1 /media/sdb1 ext3 noauto,users,exec 0 0


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 26, 2007 6:19 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Do you have a recent backup with a different fstab in it?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 27, 2007 5:23 pm 
Offline
Joined: Sun Nov 13, 2005 5:56 pm
Posts: 104
The problem is in line 5. The '/dev/sdb1' got excised some how. The line starts with the mount point '/myth' instead of the device. Go to line 5 and type '/dev/sdb1' followed by a space or tab (depending on what style you want).

Should look like:
/dev/sdb1 /myth auto defaults,auto 0 2

That should do it.

-s-


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 03, 2008 8:00 pm 
Offline
Joined: Tue Jan 30, 2007 1:27 am
Posts: 299
Thanks, that did the trick!


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: Bing [Bot] and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu