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 Sep 11, 2007 6:21 pm 
Offline
Joined: Thu Dec 15, 2005 8:15 pm
Posts: 46
Location: Michigan
Just upgraded from R5D50 or so to R5F27, and my super-reliable mounting of my two mdadm volumes (dev/md0 and dev/md1) have me concerned. My fstab is correct, but my mount is showing that they're mounted to a new top level /media directory. If I go into /mnt, it looks like they're being linked to /media. When I go to /media, horror of horrors, the INDIVIDUAL VOLUMES of my RAID system show up here. That's not cool. How do I stop this from happening?

If it's part of the automounter for USB stuff, I don't care -- this is a closet backend.

Or... if it's not a concern, I'll leave it be. Just makes me nervous.

Thanks!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 11, 2007 8:02 pm 
Offline
Site Admin
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location: Whittier, Ca
Just edit fstab...


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 12, 2007 7:22 am 
Offline
Joined: Thu Dec 15, 2005 8:15 pm
Posts: 46
Location: Michigan
cecil wrote:
Just edit fstab...


It's strange, when I df, it shows my volumes correctly.

My fstab's the first thing I fixed upon reinstall. Here's my current fstab with all the media stuff properly crossed out, and my correct md devices mounted.

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

proc  /proc  proc  defaults  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/hda2 none swap defaults 0 0

/dev/md0 /mnt/md0   ext3  defaults,auto               0  2
/dev/md1 /mnt/md1   ext3  defaults,auto               0  2




#/dev/hde1 /media/hde1 ext3 noauto,users,exec 0 0
#/dev/hdf1 /media/hdf1 ext3 noauto,users,exec 0 0
#/dev/hdg1 /media/hdg1 ext3 noauto,users,exec 0 0
#/dev/hdh1 /media/hdh1 ext3 noauto,users,exec 0 0
#/dev/md0 /media/md0 ext3 noauto,users,exec 0 0
#/dev/md1 /media/md1 ext3 noauto,users,exec 0 0


At least df and mount are now showing the correct filesystems and mounts, but I'm still nervous that /mnt and /media show my individual devices, even though they don't show up in df or mount.

What's the mechanism that controls this? I can do all of the investigatory legwork without needing to trouble you. This is just new behavior compared to my previous versions, and all I need is the starting point. Again, it could be nothing.

Thanks!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 12, 2007 9:57 am 
Offline
Site Admin
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location: Whittier, Ca
No need to worry. The drives were just seen and the fstab entries made. The drives were not touched. This was done by the updated Koppix scripts/udev.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 12, 2007 1:13 pm 
Offline
Joined: Thu Dec 15, 2005 8:15 pm
Posts: 46
Location: Michigan
Good enough, and thanks! I'll let it be.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 18, 2007 2:45 pm 
Offline
Joined: Thu Dec 15, 2005 8:15 pm
Posts: 46
Location: Michigan
Just FYI in case someone stumbles upon this...

It's embarrassing, but the links were only created in /mnt a single time. I only had to delete them. I initially assumed there was some neat new dynamic auto-mounter that would put and remove entries here, and I was freaking about to how prevent that behavior. Instead, as Cecil says, they were autodetected during installation, entries made one time only, and that was that. Typical circa-1997 newbie mistake ;).


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: No registered users and 25 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