- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- information regarding changing mount points
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
11-23-2005 08:32 AM
11-23-2005 08:32 AM
Had a log drectory that I want to mount on its own slice.
/var/log/app1/dir1,dir2,dir3 was all under /var
Made a /var/log/app1 mount point
Instead of moving over the 5 subdirectories within (quite large) we hand bombed and just created the empty directories. No prob.
Changed to fstab & mnttab
Reboot no prob.
Here the question...
Where does that data that was previously in /var/log/app1 go that was part of /var
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2005 08:47 AM
11-23-2005 08:47 AM
Re: information regarding changing mount points
if you did not move or remove the data, it is still inside the /var filesystem, underneath the /var/log/app1 mountpoint.
To get to the files you need to close your application, umount /var/log/app1 filesytem and move the data to a temp filesystem.
Hope this helps,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2005 08:57 AM
11-23-2005 08:57 AM
SolutionIf I have understood it correctly you are asking what will happen to the contents of a directory when we mount a file system on it.
Answer - The contents will still be there and keep on cosuming same space but will nt be visible after mouting file system. After unmounting file system old contents will still be visible.
Is that what you asked ?
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2005 09:09 AM
11-23-2005 09:09 AM
Re: information regarding changing mount points
Hi LHradowy,
It would have been better understanding if you would hav egiven some real seanario with somemore details :
Well, the data /var/log/app1 will be still in /var as the mount point is on the top of /var
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2005 10:28 AM
11-23-2005 10:28 AM
Re: information regarding changing mount points
The normal way to create new mountpoints is to temporarily mount the new lvol, then use find|cpio to copy all the files and directories, then verify the file and directory counts in the old and new locations. Once verified, you recursively remove the old data, modify fstab and then mount the new lvol.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2005 02:38 AM
11-29-2005 02:38 AM