Hi Mike,
It's worth noting that fstab is the list of available filesystems and mtab is the list of currently mounted filesystems. In other words fstab says nothing about the current state of mounts, but rather is a list of mounts you've defined to be available. You can run the command `mount` to see what is currently mounted. Also keep in mind that the error "location already mounted" means the location you're mounting, not the device you're mounting, I believe someone suggest `umount /dev/cdrom` this assumes that the device already mounted is the cd (which is not necessarily the case, more likely whatever service that auto mounts wants to use a directory that's not empty, like `/media`. I'm not a desktop Linux user, so I don't know where the dir it tries to mount to is but worst case scenario you could run:
mkdir /media/mynewdvd
mount /dev/dvd /media/mynewdvd
As root and sidestep the auto mounter.
--
Paul Mooring
Systems Engineer and Customer Advocate
www.opscode.com
From: Michael Havens <
bmike1@gmail.com<
mailto:bmike1@gmail.com>>
Reply-To: Main PLUG discussion list <
plug-discuss@lists.phxlinux.org<
mailto:plug-discuss@lists.phxlinux.org>>
Date: Friday, February 22, 2013 11:19 PM
To: Main PLUG discussion list <
plug-discuss@lists.phxlinux.org<
mailto:plug-discuss@lists.phxlinux.org>>
Subject: Re: mounts cd twice
I don't understand... the cdrom isn't mounted until I put a disk in. so why is it saying that it is already mounted? In fstab everything that is mounted is a hard drive, not the cdrom. Please, I don't want to upset anyone, I want to understand.
:-)~MIKE~(-:
On Fri, Feb 22, 2013 at 10:04 PM, Dazed_75 <
lthielster@gmail.com<
mailto:lthielster@gmail.com>> wrote:
The HD partitions are what is already mounted. The automounter trying to mount the now present media in the CDROM drive is telling you it won't auto mount there because doing so would make what is already mounted there inaccessible. When you click on OK, you are telling the automounter you accept the consequences.
On Feb 22, 2013 8:54 PM, "Michael Havens" <
bmike1@gmail.com<
mailto:bmike1@gmail.com>> wrote:
The cd isn't mounted unless I put a disk into it and after I put a disk in a info window appears saying that 'Location is already mounted.' So please, tell me, how is changing the mount points of the hd partitions going to fix the cdrom mount?
:-)~MIKE~(-:
On Fri, Feb 22, 2013 at 8:30 PM, Dazed_75 <
lthielster@gmail.com<
mailto:lthielster@gmail.com>> wrote:
Mike, your initial complaint was a message that said something was already mounted there. The result of you running the mount command showed you what that was. And the first paragraph of the man page says that if you go ahead and mount something there any WS at that what was there before becomes inn accessible and that permissions for the directory get changed as well.
So your entire question has been answered and the way to fix it is clear. Change your mount point for those partitions and all will be golden. What could possibly still be your question?
On Feb 22, 2013 6:00 PM, "Michael Havens" <
bmike1@gmail.com<
mailto:bmike1@gmail.com>> wrote:
yes... I do have things in media. but they are all partitions, not the dvd.
:-)~MIKE~(-:
On Fri, Feb 22, 2013 at 5:26 PM, Dazed_75 <
lthielster@gmail.com<
mailto:lthielster@gmail.com>> wrote:
So this clearly shows that you DO have things mounted on /media. Specifically the bmike1 base which was your experiment to move your data files elsewhere. Mike, read the first paragraph of prose in the man page on mount.
On Feb 22, 2013 1:04 PM, "Michael Havens" <
bmike1@gmail.com<
mailto:bmike1@gmail.com>> wrote:
no one suggested it but I did run it.
mount
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
/dev/sda6 on /home type ext4 (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfsd-fuse on /run/user/bmike1/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=bmike1)
/dev/sda9 on /media/bmike1/backtrack type ext4 (rw,nosuid,nodev,uhelper=udisks2)
/dev/sda7 on /media/bmike1/entertainment type ext4 (rw,nosuid,nodev,uhelper=udisks2)
/dev/sda8 on /media/bmike1/F3E7-6D4B type vfat (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks2)
:-)~MIKE~(-:
On Fri, Feb 22, 2013 at 1:56 PM, Carruth, Rusty <
Rusty.Carruth@smartstoragesys.com<
mailto:Rusty.Carruth@smartstoragesys.com>> wrote:
I’m sorry, I haven’t been watching this thread very closely - did anybody ask about doing ‘mount’ to see what it thinks is mounted?
Rusty
From:
plug-discuss-bounces@lists.phxlinux.org<
mailto:plug-discuss-bounces@lists.phxlinux.org> [
mailto:plug-discuss-bounces@lists.phxlinux.org<
mailto:plug-discuss-bounces@lists.phxlinux.org>] On Behalf Of Michael Havens
Sent: Friday, February 22, 2013 1:51 PM
To: Main PLUG discussion list
Subject: Re: mounts cd twice
it was worth a shot!
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.phxlinux.org<
mailto:PLUG-discuss@lists.phxlinux.org>
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.phxlinux.org<
mailto:PLUG-discuss@lists.phxlinux.org>
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.phxlinux.org<
mailto:PLUG-discuss@lists.phxlinux.org>
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.phxlinux.org<
mailto:PLUG-discuss@lists.phxlinux.org>
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.phxlinux.org<
mailto:PLUG-discuss@lists.phxlinux.org>
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.phxlinux.org<
mailto:PLUG-discuss@lists.phxlinux.org>
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.phxlinux.org<
mailto:PLUG-discuss@lists.phxlinux.org>
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss