Oracle Linux - How to relocate a Volume Group to a new block volume.
in Linux
Applies to:
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64
Oracle Linux 7 – Oracle Linux 9.
Goal:
Move a Volume Group to a new block volume
Solution:
$ df -hPT /reports /docs Filesystem Type Size Used Avail Use% Mounted on /dev/mapper/dataVG-reports_lv xfs 10G 5.2G 4.9G 52% /reports /dev/mapper/dataVG-docs_lv xfs 50G 46G 4.6G 91% /docs
$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 46.6G 0 disk ├─sda1 8:1 0 100M 0 part /boot/efi ├─sda2 8:2 0
Tagged:
0