- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mount point vs management
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2009 02:16 PM
08-14-2009 02:16 PM
I’m running hpux 11iv3 with an eva in backend. The system is share between client and each client have few env (prod, preprod,test)
• I presented to the hpux a lun per client env (client1_prod, client1_test,etc)
• I have built a vg per client env (vg_client1_prod, vg_client1_test)
• Built multiple lv per vg (/dev/vg_client1_prod/lvol_data,/dev/vg_client1_prod/lvol_opt,etc)
My questions is, how should I deploy it at the file system.
Ideally, I would like to have something similar to this …
/prod/client1/data
/prod/client1/opt
…
/prod/client10
/test/client1/data…
Should I :
Create symlink
- Vg00 will contain /opt/company/client1/prod
- Create symlink from the previous path to /prod/client1/data on the vg_client1_prod
- Pros and cons?
Mount in the right directory
- Create my file system from /dev/vg_client1_prod/lvol_data to /opt/company/client1/data
- Pros and cons
Or better solution?
Thanks,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2009 02:30 PM
08-14-2009 02:30 PM
Re: mount point vs management
Instead of six (6) separate threads that deal with the same fundamental question, you would be better served either (1) referencing the URL's of the latest thread with its predecessor; or (2) not starting a new thread at all, but continuing to refine the discussion in one thread until you are satisfied.
Of course, providing feedback (yes, points do equate to that) as you proceed is also, always appreciated. Points also help responders guage how they might have helped and where additional responses may add further value.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2009 08:32 PM
08-14-2009 08:32 PM
SolutionJust create the directories like /prod/client1/data
Use newfs command to create filesystem
#newfs -F vxfs /dev/vg_client1_prod/rlvol_data
Then use mount comamnd to mount.
mount /dev/vg_client1_prod/lvol_data /prod/client1/data
Put the entries in /etc/fstab
Regards,
Sooraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2009 03:51 AM
08-17-2009 03:51 AM
Re: mount point vs management
My point is if I mount, let say 5 fs like this with newfs + mount command:
/prod/client1/data
/prod/client1/opt
/prod/client1/etc/
/prod/client1/var
/prod/client1/other
if by mistake, one of my programmer is building a file in /prod/client1 and not the right mount point. In which lv the file will reside, the first mount point?
thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2009 03:53 AM
08-17-2009 03:53 AM
Re: mount point vs management
On your root disk, or whatever filesystem contains /prod/client1/.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2009 03:57 AM
08-17-2009 03:57 AM
Re: mount point vs management
what you are saying is that I will need to build my structure on vg00 /prod/client1, is this ok? This is the right way to do?
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2009 04:01 AM
08-17-2009 04:01 AM
Re: mount point vs management
The only thing I implied was not to make the mistake of putting anything in /prod/client1/, only in your 5 subdirectories.
To prevent mistakes, you can remove write access to /prod/client1/.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2009 04:06 AM
08-17-2009 04:06 AM
Re: mount point vs management
If you were asking do you need to do the following before you mount, yes:
mkdir -p /prod/client1/data /prod/client1/opt /prod/client1/etc/ \
/prod/client1/var /prod/client1/other
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2009 04:13 AM
08-17-2009 04:13 AM
Re: mount point vs management
1- why the options -p if the mkdir
2- so my vg mount point need to be on top of the dir structure of my vg00?
Thansk,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2009 04:33 AM
08-17-2009 04:33 AM
Re: mount point vs management
-p option is there to create any intermediary subdirectories that may not exist on your loooong path.
For instance
lets assume you do not have anything under /prod. In order to create /prod/client1/data, you will need to do
mkdir /prod/client1
mkdir /prod/client1/data
-p option eliminates the need to use two mkdir statements and create the /prod/client1 on the fly for you when you execute
mkdir -p /prod/client1/data
command.
>> 2- so my vg mount point need to be on top of the dir structure of my vg00?
well, yes. Considering "/", i.e. the root of all filesystems is actually a filesystem residing on vg00, all filesystems created are actually dangling off of the vg00. So there is no escaping from it.
UNIX because I majored in cryptology...