How do I rename an existing file system

Posted on 2005-03-08
Medium Priority
Last Modified: 2013-11-17
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.
Question by:raehrlich
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Author Comment

ID: 13489457
LVL 21

Accepted Solution

tfewster earned 375 total points
ID: 13489826
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.

Expert Comment

ID: 14070576
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


Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses
Course of the Month15 days, 10 hours left to enroll

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question