- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Change mount point name
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
06-13-2002 07:48 AM
06-13-2002 07:48 AM
Change mount point name
I wuold like to change the name of this mount point /home/db/db /home/db/bug
Is this possible ?
How to do it ?
The disk is mounted and mirrored.
Thanks a lot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2002 07:51 AM
06-13-2002 07:51 AM
Re: Change mount point name
umount the filesystem.
Create the new directory bug
#mkdir /home/db/bug
#mount /dev/vg02/lvol2 /home/db/bug
Edit /etc/fstab and change the dir mount point from /home/db/db to /home/db/bug to mount it automatically during next reboot.
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2002 07:51 AM
06-13-2002 07:51 AM
Re: Change mount point name
1) find out and get rid of all processes using this file system (lsof, fuser)
2) un mount the file system (umount)
3) Create the new mount_point (mkdir)
4) Mount the file system back to new mount_point.
5) Edit /etc/fstab (if needed this change permanently)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2002 07:52 AM
06-13-2002 07:52 AM
Re: Change mount point name
Try this:
1.- Umount the filesystem.
2.- Create the new directory.
3.- Change the /etc/fstab
4.- mount -a
Regards,
Justo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2002 07:52 AM
06-13-2002 07:52 AM
Re: Change mount point name
# cd /
# umount /home/db/db
# mkdir /home/db/bug
# vi /etc/fstab
====> change the entry appropriately
# mount -a
# bdf
====> check it
# rmdir /home/db/db
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2002 07:53 AM
06-13-2002 07:53 AM
Re: Change mount point name
unmount the filesystem mounted at that point,
/home/db/db
Make the changes in /etc/fstab and then remount the filesystem after creating the mount dir if it does not exist,
mkdir /home/db/bug
mount -a
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2002 07:54 AM
06-13-2002 07:54 AM
Re: Change mount point name
Please assign points to the answer the people that help you use his time for help you.
This member has assigned points to 12 of 140 responses to his/her questions.
Regards,
Justo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2002 07:54 AM
06-13-2002 07:54 AM
Re: Change mount point name
Unmount /home/db/bug
mv /home/db/bug /home/db/NEWNAME
mount /home/db/db /home/db/NEWNAME
change /etc/fstab
live free or die
harry