linux
1. Device addition
2. Restart, let the virtual machine recognize the added device
3. fdisk -l check whether the device exists
4. Check the status of the newly added disk partition
fdisk /dev/sdc
p, n create a new partition -> p Main partition -> 1->w save
5. Format mkfs.ext4 /dev/sdc1, df -T can view the category of the current disk partition
6. Modify the configuration file vi /etc/fstab to mount it permanently
7. Restart again , after executing the df -h command, you can see the result
windows:
1. Shut down the virtual machine first, modify the disk capacity of the virtual machine through the vSphere client, and log in again after the modification.
2. After logging in, go through Disk Management in the system tools, right-click the corresponding disk, and click the extension option, so that the expansion of the disk is OK
Expand the disk!
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=326678313&siteId=291194637
Recommended
Ranking