The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
check if file exists in a mounted windows shared folder jul Shell Programming and Scripting 2 05-13-2008 10:50 PM
Not able to use NFS mounted directory as buffer for untar & unzip. suraj.bc High Level Programming 0 04-08-2008 04:11 AM
Distinction b/w file system and directory kd9626 UNIX for Dummies Questions & Answers 1 10-23-2006 09:28 AM
fsck on a mounted file system? GKnight UNIX for Dummies Questions & Answers 1 11-16-2005 07:39 AM
how to assign same mount point for file systems mounted on physical disks Hitesh Shah Filesystems, Disks and Memory 6 04-18-2003 11:42 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-05-2007
Registered User
 

Join Date: Nov 2005
Posts: 127
how many directory can be mounted on one file system

I have a question and seek help. How many directory can be mounted on one file system on UNIX with solaris 9? For example, I have one file system as /dev/dsk/cieit0a6. I have created one directory as /u01/app/oracle and mounted this directory to cieit06. It works. Then I create another directory as /u02/oradata, can I mount this directory to cieit06 too? Or UNIX file system only allow one mount point to be exist? Thanks.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 02-05-2007
reborg's Avatar
Administrator
 
Join Date: Mar 2005
Location: Ireland
Posts: 3,513
In general you can only mount a disk to one mount point, although in some circumstances it can be possible to mount the same disk twice, for example if you have multiple paths to the device. In the usual case in order to do this you would need to use a loopback mount of the already mounted filesystem.

Code:
mount -F lofs /u01/app/oracle /u02/oradata
Reply With Quote
  #3 (permalink)  
Old 02-05-2007
Registered User
 

Join Date: Nov 2005
Posts: 127
reborg:

Thanks so much for your advice. Could you be more specific about the command: what are -F and lofs doing in the command line? Can I do this:

mount -F lofs /u01/app/oracle /u02/oradata /u03/oradata /u04/oradata?

Thanks.
Reply With Quote
  #4 (permalink)  
Old 02-05-2007
Registered User
 

Join Date: Jan 2007
Posts: 366
man lofs .................................
Reply With Quote
  #5 (permalink)  
Old 02-05-2007
reborg's Avatar
Administrator
 
Join Date: Mar 2005
Location: Ireland
Posts: 3,513
not you can't

see 'man mount' and 'man lofs'.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 12:35 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0