Your browser version is too early. Some functions of the website may be unavailable. To obtain better user experience, upgrade the browser to the latest version.
Products, Solutions and Services for Enterprise
About Huawei, Press & Events , and More
Smartphones, PC & Tablets, Wearables and More
Products, Solutions and Services for Carrier
Publication Date: 2012-07-18 |
Views: 236 |
Downloads: 0 |
Author: anliku |
Document ID: EKB1000003984
Step 1 Unmount the LV from the directory where it is stored. #umount /dev/vgoracle/lvoracle.
Step 2 Change the name of the LV (the names of both the block device file and character device file need to be changed.) #cd /dev/vgoracle #mv lvoracle myoracle #mv rlvoracle rmyoracle.
Step 3 Back up the configuration file of the volume group (VG). #vgcfgbackup vgoracle.
Step 4 Export and import the configuration file of the VG again. #vgexport -p -s -v -m /tmp/vgoracle.map /dev/vgoracle #vgexport vgoracle #mkdir /dev/vgoracle #mknod /dev/vgoracle/group c 64 0x0y0000 (y is the secondary device ID) #vgimport -v -s -m /tmp/vgoracle.map /dev/vgoracle.
Step 5 Change the /etc/fstab file. Change the mounting point to /dev/vgoracle/myoracle.
Step 6 Remount the new LV name. #mount /dev/vgoracle/myoracle /oracle.
Copyright © 2021 Huawei Technologies Co., Ltd. All rights reserved.