×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Disk and filesystem management

AIX: moving filesystem between volume groups by ogniemi
Posted: 3 Dec 04


Step 1) Close the source LV (umount filesystem)

# umount /fs_on_testvg1


Step 2) Copy the source LV to another VG

# cplv -v new_vg -y newname_lv oldname_lv
cplv: Logical volume loglv01 successfully copied to newname_lv .


Step 3) Change filesystem's lv and log device (with these residing on new new_vg).

# chfs -a dev=/dev/newname_lv -a log=/dev/jfslogvg2_lv /fs_on_testvg1


Step 4) Remove old (source) LV.

# rmlv -f oldname_lv


Step 5) Change the LV name: newname_lv to oldname_lv

Syntax:
chlv -n NewLogicalVolume LogicalVolume

I our case:
# chlv -n oldname_lv newname_lv


Step 6) Mount the filesystem

# mount /fs_on_testvg1

Back to IBM: AIX FAQ Index
Back to IBM: AIX Forum

My Archive

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close