Tuesday, 12 March 2013

Rename Logical volume name


Steps

1: In the below example the logical volume name is changed from testlv_old to testlv_new

Umount the filesystem /testfs associated with the logical volume

2: Rename the logical volume type

chlv -n testlv_old testlv_new

3: Change the DEV parameters of the mount point of the filesystem associates with the logical volume in

the /etc/filesystems file to match the new name of the logical volume

4: Note If you rename a JFS log , you will be prompted to run chfs on all filesystems that was renamed

5: remount the filesystem type

mount /testfs

Verfication
#df -k /testfs
# ls -ltr /testfs
#cd /testfs  point / then create an file using the touch comand .




No comments:

Post a Comment