Solved

No Outage : Directory to Filesystem conversion

Posted on 2014-04-01
5
282 Views
Last Modified: 2014-04-01
Is there a way to migrate a directory to its own filesystem using the same path WITHOUT AN OUTAGE....??

Example sas_work is a directory under /opt, I want to create a filesystem /opt/sas_work and mount it...I know this cannot be done the conventional way, So I wanted to know if there is any backdoor method...

This is on AIX, I just want to get an experts opinion.
0
Comment
Question by:aanya247
[X]
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
  • 2
  • 2
5 Comments
 
LVL 62

Expert Comment

by:gheist
ID: 39970429
You need to close all files in directory to mount filesystem
If you rsync it copies just differences and must be couple of seconds of outage.
0
 
LVL 16

Expert Comment

by:Joseph Gan
ID: 39970967
I thought was oppsite, if you dismount a filesystem which requires no activities within the filesystem. If you mount a new filesystem from a directory should be fine.

Nothing stop for you to try, worst case is unsuccess.
0
 

Author Comment

by:aanya247
ID: 39971121
Here is the scenario, Lets consider /opt/sas_works as a directory with data, now If I try to create a FS name /opt/sas_works I get an error saying sas_works  exists and my FS is not  created, My question is to ask if there is another alternative with out taking an outage.
0
 
LVL 16

Accepted Solution

by:
Joseph Gan earned 500 total points
ID: 39971128
You can't creat the same name of FS, as the directory already there, you just need to alocate a disk partition and mount it.
0
 
LVL 62

Expert Comment

by:gheist
ID: 39971364
This is data damaging as programs will keep files open under mount.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
LINUX : Create user with required privilages to take backup of a file system 5 102
Image not there 4 74
Solaris acount issues 44 74
touch cat vi differences 7 24
When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
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

738 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