- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Renaming a directory in a mount point path in a sh...
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-20-2007 07:44 AM
11-20-2007 07:44 AM
Renaming a directory in a mount point path in a shared disk scenario.
SCENARIO:
Between 2 HP machines (primary and secondary node) I've got a san. There is an exported volume group between these to machines, on the shared disk of the san.
There is a mount point similiar to this(/etc/fstab):
/dev/some_vg/some_lv14 /some_dir/pXX/another_dir vxfs rw,suid,largefiles,delaylog,datainlog 0 2
I wish to change the directory name from "pXX from "pYY"
I'm pretty sure I can do it like this:
STEP (1)
umount /some_dir/pXX/another_dir
(on both nodes)
STEP (2)
cd /some_dir
mv pXX pYY
(on the primary node ONLY)
STEP (3)
Change the fstab on BOTH nodes to reflect the new directory name
STEP (4)
re-mount.
Note: there was no renaming (mv) of the directory name on the secondary node.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2007 07:50 AM
11-20-2007 07:50 AM
Re: Renaming a directory in a mount point path in a shared disk scenario.
Looking wat what you've shown us there you aren't as the Serviceguard Cluster Filesystem only works with VxVM not LVM.
If you only have it mounted on one node at a time, your steps look OK to me.
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2007 08:01 AM
11-20-2007 08:01 AM
Re: Renaming a directory in a mount point path in a shared disk scenario.
> Are you saying this same volume group is active on both nodes and an LV in the volume group is mounted on both nodes?
Yes.
> You do know this is only supported if you are using the Serviceguard Cluster Filesystem
Yes. This is what we are using. It is a service guard RAC machine, 2 node.
> If you only have it mounted on one node at a time, your steps look OK to me.
Well, I guess it will be mounted since this particular VG is SGeRAC.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2007 08:08 AM
11-20-2007 08:08 AM
Re: Renaming a directory in a mount point path in a shared disk scenario.
The only way to have a filesystem mounted on 2 nodes at once is with the Cluster Filesystem option, and that uses the clustered version of VxVM.
Sorry to be pedantic here, but if your current config isn't a supported one, I wouldn't want to suggest any changes at all yet...
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2007 08:17 AM
11-20-2007 08:17 AM
Re: Renaming a directory in a mount point path in a shared disk scenario.
No. We are raw. Maybe ASM in the future.
Thanks for clarifying these points.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2007 08:23 AM
11-20-2007 08:23 AM
Re: Renaming a directory in a mount point path in a shared disk scenario.
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2007 08:42 AM
11-20-2007 08:42 AM
Re: Renaming a directory in a mount point path in a shared disk scenario.
This WILL contain raw data files.
Right now, there is no live production data on this filesystem, since the machine is still being configured for future production use.
Are you saying there is a risk beyond data corruption, that is the filesystem itself might become corrupt?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2007 08:51 AM
11-20-2007 08:51 AM
Re: Renaming a directory in a mount point path in a shared disk scenario.
Yes, the root mount point is ONLY mounted on 1 node in the cluster.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2007 08:37 PM
11-20-2007 08:37 PM
Re: Renaming a directory in a mount point path in a shared disk scenario.
>> This WILL contain raw data files.
But if it contains raw Oracle data files, it won't be on a filesystem?
A cooked oracle datafile might look like:
/oracle/u03/oradata/SID/mydata01.dbf
That's on a filesystem and can't be concurrently mounted between hosts.
A raw oracle datafile might look like this:
/dev/vgORA03/rlvol_mydata01
And with SGeRAC over SLVM that would be accessed concurrently from both hosts (not MOUNTED of course cos its not a filesystem)
But you are talking about moving a filesystem which is mounted from both hosts...
So I'm confused...
HTH
Duncan
I am an HPE Employee
