- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Mounting Filesystems
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
Forums
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
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-27-2003 03:54 PM
05-27-2003 03:54 PM
I am trying to build a new server for the first time (a-class running hp-ux 11.11)
I am trying to create a mount point for the omniback database to live in /var/opt/sw/omni. The logical volume size is 8GB, but when I try and mount that directory, everything in it dissapears??? I find this really strange as on rare occasions the files stay there when I mount different filesystems?? I am awfully confused... can someone please shed some light on this for me?
Thanks in advance!
Andrew
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2003 04:05 PM
05-27-2003 04:05 PM
Re: Mounting Filesystems
If I understand the problem correctly,
here is what you are trying to do ...
1> You have data in /var/opt/sw/omni. Now you have created a logical volume and you are trying to mount it as /var/opt/sw/omni. During this the data inside /var/opt/sw/omni is disappearing.
What I would suggest here is....
Initially mount the new logical volume as a temporary mount point.. say /mount.
Then dump the contents of /var/opt/sw/omni into this mount point.
Now unmount the temporary mount point.
And mount the logical volume as /var/opt/sw/omni.
Hope this helps...
Suhas.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2003 04:06 PM
05-27-2003 04:06 PM
SolutionMy assumption are :
1) you already have data in /var/opt/sw/omni and this is just directory not mount point.
2) You have create a new filesystem and want to mount at /var/opt/sw/omni
Well , you need to copy out the data in /var/opt/sw/omni either to tape or another directory.
2) good practise are to delete everything in /var/opt/sw/omni before mount
3) mount the new filesystem ro /var/opt/sw/omni
4)copy back the data...
If you a mount a filesystem to directory then the data in the directory cannot be seen anymore.(it's hidden)...the data are dare but hidden..
hope this help
regards
mB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2003 04:12 PM
05-27-2003 04:12 PM
Re: Mounting Filesystems
e.g. /omni_db
# mkdir /omni_db
turn off omniback
# /sbin/init.d/omni stop
# lvcreate -n obvol /dev/myvg
# lvextend -L 8192 /dev/myvg/obvol
# newfs -F vxfs /dev/myvg/robvol
# mount /dev/myvg/obvol /omni_db
# cd /var/opt/omni
# mv db40 /omni_db (if version 4)
There should be no other files.
# rm -rf /var/opt/omni
# ln -s /omni_db /var/opt/omni
# /sbin/init.d/omni start
update the /etc/fstab with the appropriate entries.
regards
Michael
"When I have trouble spelling, it's called fat finger syndrome"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2003 04:23 PM
05-27-2003 04:23 PM
Re: Mounting Filesystems
But I still dont understand why this happens??
Regards,
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2003 04:59 PM
05-27-2003 04:59 PM
Re: Mounting Filesystems
Cheers ;)
Andrew