- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Regarding mounting
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
07-19-2006 01:45 AM
07-19-2006 01:45 AM
Regarding mounting
for eg. FS XYZ is mounted on root. but since its NOT a best practice to have more FS on root, I am creating a new mount point and moving the XYZ to it.
what are all the possible/available ways?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2006 01:47 AM
07-19-2006 01:47 AM
Re: Regarding mounting
Do you just want to change the mount point location on the local server, or we are talking about mount points in a NFS server?
Regards,
Jaime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2006 01:53 AM
07-19-2006 01:53 AM
Re: Regarding mounting
You can simply unmount your old filesystem and copy from its data to a new one. Modify your 'etc/fstab' to reflect the new mountpoint and mount the filesystem on that new mountpoint.
You can use 'cpio' to perform the data copy, thusly:
# cd srcdir && find . -depth -print | cpio -pudlmv dstdir
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2006 01:54 AM
07-19-2006 01:54 AM
Re: Regarding mounting
One way is to
*Create the new mount point name with mkdir
*Unmount the FS to be relocated
*modify /etc/fstab (vi) and change the mount point for the lvol to the new location
*mount the fs to the new mount point (mount -a)
The FS needs to be quiet, i.e. no one logged in for this to work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2006 01:58 AM
07-19-2006 01:58 AM
Re: Regarding mounting
cd /old_fs
find . -xdev -depth -print|cpio -pmd /new_fs
cd /etc
cp fstab fstab.old
vi fstab
Swap /old_fs with /new_fs
Reboot the server. Your "old" filesystem will now be in the new place.
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2006 02:13 AM
07-19-2006 02:13 AM