LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mount point and confusion (https://www.linuxquestions.org/questions/linux-newbie-8/mount-point-and-confusion-4175522335/)

linuxmantra 10-16-2014 11:41 AM

Mount point and confusion
 
In our standard OS we have /opt in a volume group vg00. I need to create separate file system from volume group vg01 and mount at /opt/app.

My question is will it create any problem? Is it allowed per red hat standard FS practice.

szboardstretcher 10-16-2014 03:22 PM

It's possible and I don't have any problem with mounted nested VG's.

But. Are you sure this is the best solution for you? You can grow a volume group...

suicidaleggroll 10-16-2014 03:27 PM

Nested mounts aren't a problem, after all any mount other than "/" is nested within the "/" mount.

jpollard 10-18-2014 03:27 PM

Quote:

Originally Posted by linuxmantra (Post 5254679)
In our standard OS we have /opt in a volume group vg00. I need to create separate file system from volume group vg01 and mount at /opt/app.

My question is will it create any problem? Is it allowed per red hat standard FS practice.

The only times it may cause a problem is if something like /opt/bin has hard links to things in /opt/app. This is unlikely, as most links being created now are symbolic links - in which case it shouldn't be an issue.

Sometimes you may need to set security labels when setting things up - the easiest is to "resorecon -r /opt" or "restorecon -r /opt/app" after getting the mount working and files loaded.


All times are GMT -5. The time now is 12:15 PM.