- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Add a prefix to file system
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
Discussions
Forums
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
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
тАО05-01-2007 07:24 PM
тАО05-01-2007 07:24 PM
Add a prefix to file system
I need to add a prefix to some file system mounted in my hp ux server ,if there a commande to do this or I have just to umount files systems and rename the path for every file system
for exemple
I need to add a prefix for this file system
/var/dcs ===> /temp/var/dcs
/opt/dcs ===> /temp/opt/dcs
is there possible or not ?
thanks in advanced
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2007 07:36 PM
тАО05-01-2007 07:36 PM
Re: Add a prefix to file system
depending on why you are doing this,you could try and work with links.
See "man ln"
Please read:
http://66.34.90.71/ITRCForumsEtiquette/after.html
Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33
on how to reward any useful answers given to your questions.
So far you have not awarded any points !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2007 07:41 PM
тАО05-01-2007 07:41 PM
Re: Add a prefix to file system
the idea about a "prefix" is bad, because this will move all of /var or /opt to /tmp/var etc.
What do you want to do?
Just try to backup the directory like
/var/dcs using "tar".
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2007 07:46 PM
тАО05-01-2007 07:46 PM
Re: Add a prefix to file system
I need to migrate some application with oracle data base from server to another
and its recommanded to me from the personne ho devellop this application to have a prefix in all file system in the second server
If i use a link like for exemple :
ls -s /var/dcs /temp/var/dcs
we must have a new file system /temp with new disk or not ?
thank you in advanced
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2007 07:47 PM
тАО05-01-2007 07:47 PM
Re: Add a prefix to file system
Before you do this I would ask if it is either necessary or desirable: maybe there is a reason for dcs being under /var and /opt. It could well be that links, as suggested earlier, are indeed your best solution.
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2007 07:56 PM
тАО05-01-2007 07:56 PM
Re: Add a prefix to file system
I have add this ligne in /etc/fstab ,but I can't see the difference when i use bdf
etc/fstab
/dev/vg00/lvol8 /temp/var/dcs vxfs delaylog 0 2
I think that i need to make a copie to /var/dcs in /temp/var/dcs
that's right ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2007 08:04 PM
тАО05-01-2007 08:04 PM
Re: Add a prefix to file system
etc/fstab
/dev/vg00/lvol8 /temp/var/dcs vxfs delaylog 0 2
prepare to say good bye to your OS ;-)
Once rebooted, the system will never find
/var or /opt.
If you want to store data in
/temp/var/dcs
consider to create a new LVOL and mount it there.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2007 08:27 PM
тАО05-01-2007 08:27 PM
Re: Add a prefix to file system
NO I think taht i have a solution
I can create new file system with name /temp/var/dcs ,and If I mount this file with the same Lvol to /ver/dcs ,it will be the same lvol but in another diractory ,because the files is in the a lvol not in a diractory
i hve make a teste with /tmp and its work
Thank you very much and have a nice day
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2007 08:29 PM
тАО05-01-2007 08:29 PM
Re: Add a prefix to file system
Mark