Operating System - HP-UX
1753481 Members
4985 Online
108794 Solutions
New Discussion

Re: Moving a filesystem to an seperate LV.

 
Lolupee
Regular Advisor

Re: Moving a filesystem to an seperate LV.

Mitchell,

brief steps if you must mv directory.
make new file systems and mount on junk

mkdir /tmp/junk_new
mount /dev/vg00/lvol?? /tmp/junk_new

Move to your source files

cd /var/junk_old

tar cvf - *|(cd /tmp/junk_new; tar xvf -)

above would tar the files from /var/junk_old and dump them on /tmp/junk_new

after confirming the files are the same, then follow the next step

Hopefully, the files system or files you plan to move are those that could be moved withput an outage.

If the directory is a file system, try to mount, if it does then you may be ok. If not you might need to be on single user level before you can do that or maintenance level.

If it is a dirctory, if it is in use it could be difficult to mount on.

Let us knowthe directory in question.