TL4 for AIX 6.1 now allows you to rename logical volumes (LV) while they are still online i.e. open.
In my case, my nimserver oslevel is:
guexnim01(/)#oslevel -s
6100-07-01-1141
root@guexnim01(/)#
Here is an example, my /backup is mounted over /dev/fslv00 filesystem. I am going to rename fslv00 to backlv.
guexnim01(/)#df -g |grep backup ⤶
/dev/fslv00 8.00 1.29 84% 2597 1% /backup
guexnim01(/)#
guexnim01(/)#lsvg -l nimvg |grep backup ⤶
fslv00 jfs2 16 16 1 open/syncd /backup
guexnim01(/)#
Lets change the name from fslv00 to backuplv, while the filesytem is mounted.
guexnim01(/)#chlv -n backuplv fslv00 ⤶
Lets verify:
guexnim01(/)#df -g |grep backup ⤶
/dev/backuplv 8.00 1.29 84% 2597 1% /backup
guexnim01(/)#
guexnim01(/)#lsvg -l nimvg |grep backup ⤶
backuplv jfs2 16 16 1 open/syncd /backup
root@guexnim01(/)#
guexnim01(/etc)#more filesystems |grep -p /backup ⤶
/backup:
dev = /dev/backuplv
vfs = jfs2
log = /dev/loglv00
mount = true
options = rw
account = false
guexnim01(/etc)#
No comments:
Post a Comment