LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-04-2006, 10:50 AM   #1
fudam
Member
 
Registered: Feb 2006
Distribution: FC
Posts: 86

Rep: Reputation: 15
Problems mounting a mount


I'm hoping someone can help me out with my mounting problem. On Machine A I have the following structure:

/dir
/dir/subdir1
/dir/subdir2
/dir/subdir3


Now /dir/subdir2 is really a mount:
/dev/hdb1 /dir/subdir2 ext3 auto,user,suid,async,dev,rw,exec 0 0

OK... so all is well when I'm on Machine A. Now I mount /dir as /mnt/machA on Machine B. Here's where I run into trouble. When looking at the mount on Machine B I'm able to see /mnt/machA/subdir1 & /mnt/machA/subdir3. However I can't see /mnt/machA/subdir2.

When I "ls -l" it shows me that /mnt/machA/subdir2 is owned by root:root (which is wrong) whereas all the other directories are listing the correct & expected user:group ownerships.

I hope this hasn't been too confusing of a message. Any help at all is greatly appreciated.

-theFoo
 
Old 02-04-2006, 11:08 AM   #2
Dudydoo
Member
 
Registered: Sep 2003
Location: UK
Distribution: I use 'em all ;-)
Posts: 275

Rep: Reputation: 38
How are you mounting from Machine A to B? nfs?
 
Old 02-04-2006, 04:47 PM   #3
fudam
Member
 
Registered: Feb 2006
Distribution: FC
Posts: 86

Original Poster
Rep: Reputation: 15
Yes, nfs. Here's the fstab entry:
MachineA:/dir /macha/dir nfs auto,user,defaults 0 0
 
Old 02-05-2006, 09:53 AM   #4
Dudydoo
Member
 
Registered: Sep 2003
Location: UK
Distribution: I use 'em all ;-)
Posts: 275

Rep: Reputation: 38
I would of thought you'd have to mount the subdir2 seprately. I'm no expert on nfs I'm affraid and I don't know if any other way is possible.

Hopefully a more experienced person will reply. Sorry.
 
Old 02-05-2006, 10:09 AM   #5
fudam
Member
 
Registered: Feb 2006
Distribution: FC
Posts: 86

Original Poster
Rep: Reputation: 15
The problem with mounting subdir2 separately is that it already exists with root:root ownerships, so I'd have to mount it elsewhere. Ideally I'll have an exact replica on multiple machines so that I never have to worry about which machine I'm on.

In theory I could mount each /subdir separately however the tree I presented in my initial post is greatly simplified. There are many more subdirectories. It's possible, just not elegant.

Thanks though. =)
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Having problems mounting hd. (mount: you must specify the filesystem type) brynjarh Linux - Newbie 5 01-05-2011 01:45 AM
FC 3 - mount: error 6 mounting ext2 mahendra Fedora 0 10-24-2004 11:29 AM
mount: error 6 mounting ext3 an0nym0us Linux - General 4 03-31-2004 08:37 AM
mount: error 6 mounting ext3 cknaresh Linux - Newbie 2 11-18-2002 06:35 AM
GUI mount tool + mounting =( hinoiri Linux - Newbie 4 06-28-2002 04:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:22 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