当前位置:网站首页>VirtualBox has expanded the capacity of virtual hard disk (without modifying the original data)
VirtualBox has expanded the capacity of virtual hard disk (without modifying the original data)
2022-07-29 05:12:00 【V__ KING__】
virtualbox by ubuntu Add virtual hard disk
The general steps are as follows :
- stay virtualbox Register a virtual hard disk
- Use fdisk Partition the hard disk
- mkfs.ext4 Format the hard disk
- modify uuid: VBoxManage internalcommands sethduuid “Z:\extdisk1.vdi”
- modify /etc/fstab
# sudo blkid /dev/sdb1
UUID=xxx /mnt/extdisk1 ext4 defaults,rw 0 2
For details, please refer to :https://blog.csdn.net/V__KING__/article/details/95513244
Expand the existing hard disk
requirement
- Ensure that the original data in the virtual hard disk remains unchanged
Over time , There is more and more data in the hard disk of the virtual machine , Virtual hard disk space cannot meet the demand , Have to expand capacity ./dev/sdb For the virtual hard disk that needs to be expanded .
sudo fdisk -l
sudo umount /dev/sdb
sudo e2fsck -f /dev/sdb
sudo resize2fs /dev/sdb
sudo umount /mnt/extdisk3
# here /mnt/extdisk3 The data in is still
边栏推荐
- The most comprehensive promotion plan for the launch of new products
- AttributeError: ‘module‘ object has no attribute ‘create_connection‘
- JS (in ES6) sync & await understanding
- roLabelImg转DATO格式数据
- Mysql多对多关系,分组拼接把多个数据查询到一条数据上
- Open source Huizhi creates the future | the openeuler sub forum of 2022 open atom global open source summit was successfully held
- 时间序列分析的表示学习时代来了?
- Network Security Learning - Intranet Security 1
- How does word view document modification traces? How word views document modification traces
- Rolabelimg to data format data
猜你喜欢

Traffic flow prediction pit climbing record (I): traffic flow data set, original data

WPS insert hyperlink cannot be opened. What should I do if I prompt "unable to open the specified file"!

How to install Office2010 installation package? How to install Office2010 installation package on computer

开源汇智创未来 | 2022开放原子全球开源峰会 openEuler 分论坛圆满召开

Torch.nn.crossentropyloss() details

Google gtest事件机制

Pivot table of odoo development tutorial

MySQL定时调用预置函数完成数据更新

How to monitor micro web services

Deadlock analysis using jstack, jconsole, and jvisualvm
随机推荐
荣耀2023内推,内推码ambubk
How to set row height and column width in excel? The method of setting row height and column width in Excel
Jackson parsing JSON detailed tutorial
TCP three handshakes and four waves
Glory 2023 push, push code ambubk
带你搞懂 Kubernetes 集群中几种常见的流量暴露方案
2021-10-23
Reply from the Secretary of jindawei: the company is optimistic about the market prospect of NMN products and has launched a series of products
How to add a map to the legendary server
Mysql的自连接和联合查询
Mapper agent development
js(forEach)出现return无法结束函数的解决方法
搭建手机APP需要用到什么服务器
The difference between the two ways of thread implementation - simple summary
传奇服务端如何添加地图
Activity workflow table structure learning
Huawei ilearning AI mathematics foundation course notes
一文带你搞懂环绕通知@Around与最终通知@After的实现
后置通知的流程分析与功能实现有哪些内容你还记得吗?
How to monitor micro web services