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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-24-2012, 02:55 PM
|
#1
|
Member
Registered: Jan 2008
Location: Brighton, UK
Distribution: Ubuntu 18.04 / CentOS 7.6
Posts: 397
Rep:
|
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?
|
|
|
06-24-2012, 05:50 PM
|
#2
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,162
|
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.
|
|
|
06-24-2012, 05:57 PM
|
#3
|
Member
Registered: Jan 2008
Location: Brighton, UK
Distribution: Ubuntu 18.04 / CentOS 7.6
Posts: 397
Original Poster
Rep:
|
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.
|
|
|
06-24-2012, 06:00 PM
|
#4
|
Moderator
Registered: Aug 2002
Posts: 26,455
|
Yes, via bind you can mount an already mounted filesystem.
http://docs.1h.com/Bind_mounts
|
|
1 members found this post helpful.
|
06-25-2012, 04:56 AM
|
#5
|
Member
Registered: Jan 2008
Location: Brighton, UK
Distribution: Ubuntu 18.04 / CentOS 7.6
Posts: 397
Original Poster
Rep:
|
Quote:
Originally Posted by michaelk
|
Yup, that did it Many thanks. Must have missed the "bind" switch last time I did this...
|
|
|
All times are GMT -5. The time now is 01:55 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|