LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-24-2012, 01:55 PM   #1
arashi256
Member
 
Registered: Jan 2008
Location: Brighton, UK
Distribution: Ubuntu 18.04 / CentOS 7.6
Posts: 397

Rep: Reputation: 62
NTFS partitions multiple mount points?


I have an external USB NTFS drive which I'm mounting on my server with ntfs-ng. I'm sure I used to be able to mount NTFS partitions on multiple mount-points, but now I get:-

Code:
mount -t ntfs-3g -n /dev/sdc1 /home/jonftp/Media
Mount is denied because the NTFS volume is already exclusively opened.
The volume may be already mounted, or another software may use it which
could be identified for example by the help of the 'fuser' command.
Like I said, I'm *sure* this used to work. I'm using Fedora 17. Any ideas?
 
Old 06-24-2012, 04:50 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,510

Rep: Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491
I suppose you could mount a partition to two or more mount points but I don't see the purpose and don't believe it could be done simultaneously. For example, if you have an entry for a partition in /etc/fstab and it auto-mounts and then you try to manually mount, I would expect to see the error you report above. I would expect the same error if you manually mounted a partition then tried to manually mount it again to a different mount point. That's always been my experience. Not sure that I'm understanding if that's what you want? Perhaps someone with a little more expertise will respond.
 
Old 06-24-2012, 04:57 PM   #3
arashi256
Member
 
Registered: Jan 2008
Location: Brighton, UK
Distribution: Ubuntu 18.04 / CentOS 7.6
Posts: 397

Original Poster
Rep: Reputation: 62
The end result is to mount a directory on a separate partition in a users's home directory. Symlinks don't seem to work permission-wise, as NTFS is set to the "nobody" owner (wondering if I should change this?). I'm pretty sure I used to be able to mount a directory that was itself a mount point. But that no longer seems to work.

I'm open to other suggestions.
 
Old 06-24-2012, 05:00 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,703

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
Yes, via bind you can mount an already mounted filesystem.

http://docs.1h.com/Bind_mounts
 
1 members found this post helpful.
Old 06-25-2012, 03:56 AM   #5
arashi256
Member
 
Registered: Jan 2008
Location: Brighton, UK
Distribution: Ubuntu 18.04 / CentOS 7.6
Posts: 397

Original Poster
Rep: Reputation: 62
Quote:
Originally Posted by michaelk View Post
Yes, via bind you can mount an already mounted filesystem.

http://docs.1h.com/Bind_mounts
Yup, that did it Many thanks. Must have missed the "bind" switch last time I did this...
 
  


Reply



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
Sequence of partitions / mount points Swift100 Linux - Newbie 10 03-01-2011 05:04 PM
mount points for partitions cch2cch Linux - Newbie 1 08-03-2005 12:55 PM
what partitions(mount points) can you reuse in a multiple boot linux system? scottk88 Linux - General 5 08-01-2005 11:49 AM
mount points, /home partitions, /etc/fstab's and booting bigjohn Linux - Newbie 4 11-16-2004 10:14 AM
Mount points - Partitions - etc... Vaugerant Linux - Newbie 7 02-06-2001 02:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:45 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration