• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 5586
  • Last Modified:

How do I rename an existing file system

With AIX 5.2 how can I rename an existing file system? If there is no direct way to rename a file system, can you make a recommendation based on the following scenario?

I am migrating data from one disk to another. I have the old FS and I have created a new FS. I will copy the date between the two FS's using rsync. When I am ready to cut over, I want the new FS to have the old FS name. This way I don't have to change all the reference to that FS within the applications.

Thank you,

Ray Ehrlich

p.s. I am not using Veritas.
1 Solution
raehrlichAuthor Commented:
When finished copying, unmount both filesystems then mount the new one on the old mount point (directory).  Edit /etc/filesystems to make the change permanent.
You should not do a rename this way.  This will not properly update any ODM refrences.  

Please see the man pages for chfs.  

Logically you do:

1) unmount original file system
2) re-name file system
3) remount file system

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now