sonicwall:hard_disk:how_to_expand_the_hard_drive_of_a_virtual_appliance
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
sonicwall:hard_disk:how_to_expand_the_hard_drive_of_a_virtual_appliance [2021/02/16 15:23] – dgonzalez | sonicwall:hard_disk:how_to_expand_the_hard_drive_of_a_virtual_appliance [2021/02/16 15:29] (current) – dgonzalez | ||
---|---|---|---|
Line 38: | Line 38: | ||
1. Contact Technical Support to get the Root SSH password Best method is to open a Web ticket requesting Root SSH with this KB ID in the Title | 1. Contact Technical Support to get the Root SSH password Best method is to open a Web ticket requesting Root SSH with this KB ID in the Title | ||
- | 2. Check that the disk has been partition by running (should be listed as /dev/sdb1): fdisk -l | + | 2. Check that the disk has been partition by running (should be listed as / |
| | ||
+ | {{: | ||
+ | |||
+ | |||
+ | 3. First unmount the new device with the command: **umount /dev/sdb1** | ||
+ | 4. Create a Physical Volume (PV) with the following command: **pvcreate /dev/sdb1** | ||
+ | 5. Extend the Volume Group (VG) size to use the new PV with the following command: **vgextend datavg /dev/sdb1** | ||
+ | 6. Extend the Logical Volume (LV) size to use all of the VG free space with the following command: **lvm lvextend -l +100%FREE / | ||
+ | 7. Resize the entire file system with the following command: **resize2fs -p / | ||
+ | (This command can take a little bit depending on the amount of space being added) | ||
+ | |||
+ | {{: | ||
+ | |||
+ | 8. Check the size of the disk by running the following command: df -h | ||
+ | |||
+ | {{: | ||
+ | |||
sonicwall/hard_disk/how_to_expand_the_hard_drive_of_a_virtual_appliance.txt · Last modified: 2021/02/16 15:29 by dgonzalez