- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Renaming a vxfs filesystem
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
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
тАО03-03-2006 03:47 AM
тАО03-03-2006 03:47 AM
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2006 03:53 AM
тАО03-03-2006 03:53 AM
Solution1) Create directory for new mount point.
# mkdir /new_mount
2) Unmount current filesystem
# umount /mount
3) Modify /etc/fstab to point the LV to the new mount point /new_mount
4) Verify permissions on directories before mounting.
# ll /mount /new_mount
Make sure the ownership and permissions are the same. If not, modify the /new_mount so they are.
5) Mount /new_mount
# mount /new_mount
This should work if you correctly modified /etc/fstab.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2006 03:53 AM
тАО03-03-2006 03:53 AM
Re: Renaming a vxfs filesystem
umount /home
mkdir /myhome
mount /dev/vg00/lvol4 /myhome
/home has now been renamed /myhome!
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2006 03:54 AM
тАО03-03-2006 03:54 AM
Re: Renaming a vxfs filesystem
If the file system is its own mount point
unmount the file system
create the new mount point name
edit /etc/fstab and change the mount point name to the new name
run mount -a to mount the file system on the new name
If the file system is not its own mount point, simply use mv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2006 03:57 AM
тАО03-03-2006 03:57 AM
Re: Renaming a vxfs filesystem
ln -s /xxx/yyy/olddir /aaa/bbb/newdir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2006 03:58 AM
тАО03-03-2006 03:58 AM
Re: Renaming a vxfs filesystem
For the change of mount point I think you've got lots of answers above.
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2006 04:06 AM
тАО03-03-2006 04:06 AM
Re: Renaming a vxfs filesystem
If say your have an existing filesystem named /data123. And your new application needs to address the data at a new filesystem called /data456, you can simply:
ln -s /data123 /data456
No interruption to your filesystem whatsoever. /data123 will still be available. /data456 will ne there but will point to /data123.
;^)
Peace and Clean Air.
Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2006 05:40 AM
тАО03-03-2006 05:40 AM
Re: Renaming a vxfs filesystem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2006 08:27 AM
тАО03-03-2006 08:27 AM