Can we have 2 mount point under the same name but at different directory?

 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Can we have 2 mount point under the same name but at different directory?
# 1  
Old 05-18-2017
Can we have 2 mount point under the same name but at different directory?

guys i would like to know can we have 2 mount point which is same name but on different directory?
# 2  
Old 05-18-2017
Could you give us an exact example of what you want? To me it seems, as I see it right now, the answer is 'it is possible'. An example would really help.

Code:
# mountpoint is foo
/path/to/foo
 # completely different mountpoint
/another/path/to/foo

# 3  
Old 05-18-2017
actually i getting this from etc/filesystems

Code:
/oranew:
           dev        =/dev/fslv04
           vfs         =jfs2
           log         =/dev/loglv02
           mount     =true
           option     =rw
           account   =false


Code:
/root/oranew:
           dev        =/dev/fslv04
           vfs         =jfs2
           log         =/dev/loglv02
           mount     =true
           option     =rw
           account   =false


and also i am not able to lsvg to the oranewvg..cant varyon and varyoff..please assist.

thanks


Moderator's Comments:
Mod Comment Please use CODE tags as required by forum rules!

Last edited by RudiC; 05-18-2017 at 09:59 AM.. Reason: Added CODE tags.
# 4  
Old 05-19-2017
This doesn't look great. I'm assuming that this is AIX. What version?

There is also confusion between what is a volume group, what is a logical volume and what is a filesystem, so I will attempt to summarise:-
  • Your server will have a number of physical volumes. These can be real disks or pseudo disks (often SAN LUNs or SAN Logical Units) which you would see as an hdisk device. If multipathing is involved on your server, they may be presented as a device that combines the various paths to the hdisks (one hdisk per device per path) so that you end up with a unit of space.
  • These physical volumes need to be formed into a Volume Group. There will be at least rootvg which should contain everything critical to getting the OS running, just enough for DR and nothing else. Other volume groups will be used for your software, applications and data.
  • Volume Groups are sliced into Logical Volumes so that you can sensibly segregate and size how you want to store the data. Because Volume Groups can contain multiple Physical Volumes, a Logical Volume can be bigger that a Physical Disk, indeed you can make a Logical Volume using all the Physical Disks in the Volume Group if you need to.
  • The Logical Volumes are usually formatted into Filesystems but can be left raw and used directly, e.g. given to a database.
  • Filesystems can be mounted explicitly on the command line or (more usually) added to /etc/filesystems automatically when you create them with mkfs or from within smit The Filesystem definition in /etc/filesystems includes the information, including the Mount Point that is used by default. If the value of mount is true, then the OS will attempt to mount the filesystem at the named mount point during the early part of the boot.

A filesystem cannot usually be mounted on more than one place at a time, however you can do this. Because of what you have, I would expect that the first entry in /etc/filesystems would be used and the second would get a failure because the logical volume is already in use.


So, to my question. What is your eventual goal? We might be better to set up a symbolic link so that any access to one 'mount point' actually affects the filesystem mounted at the other mount point. Another option would be use NFS, but that's more work.


Kind regards,
Robin
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

How to create a new mount point with 600GB and add 350 GBexisting mount point? IN AIX

How to create a new mount point with 600GB and add 350 GBexisting mount point Best if there step that i can follow or execute before i mount or add diskspace IN AIX Thanks (2 Replies)
Discussion started by: Thilagarajan
2 Replies

2. Linux

Make directory used as mount point read-only

For my backup , I mount and external hard disk to /mnt/mybackup and then I do an rsync to /mnt/mybackup If for some reason the rsync fails, I want to prevent it from writing data on the server hard disk itself since the external hard disk will no longer be mounted on it. I want /mnt/mybackup... (8 Replies)
Discussion started by: coolatt
8 Replies

3. Solaris

Mount point in a server

Hi , How to find out mount point in a server ? OS -- SunOS 5.6 Generic sun4u sparc SUNW Thanks (4 Replies)
Discussion started by: Maddy123
4 Replies

4. AIX

Change Mount point

Deart All, can any one help to do this, i need to change mount point in AIX 6 /opt/OM should be /usr/lpp/OM, how do i do.... Please help me Urgent issue (2 Replies)
Discussion started by: gulamibrahim
2 Replies

5. Solaris

Size of Mount Point

Hi, On Solaris 5.10, I have a following mount point: /dev/dsk/emcpower0a 492G 369G 118G 76% /u02 In /u02, from the du -h command, I can see that only 110G is used by couple of directories. I am wondering where the rest of 259G has gone? Any ideas please? How can I check... (17 Replies)
Discussion started by: fahdmirza
17 Replies

6. UNIX for Advanced & Expert Users

mount point lists

is there any command to know the list of mount points in a server.i need only the mount point lists.i tried using df but it was not helpful.i am using Solaris (1 Reply)
Discussion started by: dr46014
1 Replies

7. UNIX for Advanced & Expert Users

Mount point options

Hello all, I'm sharing 1 volume from a Sun Storage array (6130), out to 2 servers. Created a slice on one server and mounted a filesystem. On the other server the disk already sees the created slice from the other server (shared throught the storage array, so mounted this filesystem as well. ... (1 Reply)
Discussion started by: Sunguy222
1 Replies

8. UNIX for Dummies Questions & Answers

concept of mount point

Hi All I Know it is a really basic and stupid question perhaps...But I am going bonkers.. I have following valid paths in my unix system: 1. /opt/cdedev/informatica/InfSrv/app/bin 2. /vikas/cdedev/app Both refer to the same physical location. So if I created one file 'test' in first... (3 Replies)
Discussion started by: Vikas Sood
3 Replies

9. UNIX for Dummies Questions & Answers

mount point

hi people, I'm trying to create a mount point, but am having no sucess at all, with the following: mount -F ufs /dev/dsk/diskname /newdirectory but i keep getting - mount-point /newdirectory doesn't exist. What am i doing wrong/missing? Thanks Rc (1 Reply)
Discussion started by: colesy
1 Replies

10. UNIX for Dummies Questions & Answers

Recover mount point

A disk was sliced into 6 slices with m01 being the mount point for one of the slices. This mount point was deleted with rmdir (ie. rmdir m01). What is the easiest way to recover this mount point? (1 Reply)
Discussion started by: here2learn
1 Replies
Login or Register to Ask a Question