The commands for these steps.
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
The commands for these steps.
Part I: Extend/Reduce Logical Volumes in CentOS Assume that you received a warning, in which the root volume (where your OS is at) of the system is running out of space. Your boss allows you to purchase a new hard drive to extend the space. Your job is to plug in the new hard drive and add the extra space to the root volume. To accomplish the task, you should: Step 1. 9). Step 2. Step 3. [Screenshot] Add a new (virtual SATA/IDE) hard drive to your CentOS VM (lecture page [Screenshot] Partition the new hard drive (lecture page 10-12). [Screenshot] Convert the partition that you want to add to the root volume to a Physical Volume (PV) (lecture page 32). Step 4. [Screenshot] Add the PV to the 'centos' Volume Group (VG) (lecture page 33). [Screenshot] Extend the 'root' LV (Logical Volume) (lecture page 34). Step 5.