Last active
January 10, 2019 07:41
-
-
Save lilongen/4b2f8191ebb3f208be339a3f8c041a2f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. config vm to increase disk size | |
2. for i in /sys/class/scsi_device/*; do echo 1 > $i/device/rescan; done | |
3. parted /dev/sdb | |
-- to confirm disk and partion changes and fix change | |
4. umount -l /sdb | |
5. parted /dev/sdb resizepart 1 100% | |
6. mount /sdb | |
7. xfs_growfs /sdb | |
--btw-- | |
[root@uydc-76 ~]# parted /dev/sdb | |
GNU Parted 3.1 | |
Using /dev/sdb | |
Welcome to GNU Parted! Type 'help' to view a list of commands. | |
(parted) p | |
Error: The backup GPT table is not at the end of the disk, as it should be. This might mean that another operating system believes the disk is smaller. Fix, by moving the backup to the end (and | |
removing the old backup)? | |
Fix/Ignore/Cancel? Fix | |
Warning: Not all of the space available to /dev/sdb appears to be used, you can fix the GPT to use all of the space (an extra 3892314112 blocks) or continue with the current setting? | |
Fix/Ignore? Fix |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment