Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LV Help 1

Status
Not open for further replies.

Mag0007

MIS
Feb 15, 2005
829
US
I need some mounting a closed LV.

lsvg -l rootvg
shows
hd8 closed/synced /home

And /admin/home is active, is on /

There is also a /home and its being used from /

There is a symlink from /home -> /admin/home

I would like to start using /home from hd8, and migrate my /home data to it, what is the best way to do this?


TIA
 
You sure?

hd8 is the jfslog in a jfs rootvg...



HTH,

p5wizard
 
Mag0007,

Temporarily change the mount point for /dev/hd1 to /home_new and move your data:

Code:
chfs -m /home_new /dev/hd1

mount /home_new

# now move all your data to /home_new

unmount /home_new

unlink /home #(get rid of the symlink)

mkdir /home

chfs -m /home /dev/hd1

mount /home

Also check that /home will be mounted at next reboot.



HTH,

p5wizard
 
Thats the way I was going. Also I was planning to do a tar -cvf /home before I do anything.

TIA!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top