当前位置:网站首页>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
边栏推荐
- office2010每次打开都要配置进度怎么解决?
- JS daily question (10)
- Let you understand several common traffic exposure schemes in kubernetes cluster
- [config] configure array parameters
- How does word view document modification traces? How word views document modification traces
- Five correlation analysis, one of the most important skills of data analysts
- How does WPS use smart fill to quickly fill data? WPS method of quickly filling data
- Word如何查看文档修改痕迹?Word查看文档修改痕迹的方法
- DataSourceClosedException: dataSource already closed at Mon Oct 25 16:55:48 CST 2021
- How to set row height and column width in excel? The method of setting row height and column width in Excel
猜你喜欢

js(forEach)出现return无法结束函数的解决方法

stack和queue和优先级队列(大堆和小堆)模拟实现和仿函数讲解

How to solve the problem of configuring the progress every time Office2010 is opened?

Climbing the pit of traffic flow prediction (II): the simplest LSTM predicts traffic flow using tensorflow2

How does WPS take quick screenshots? WPS quick screenshot method

How to add a map to the legendary server

Solve the warning prompt of MySQL mapping file

What if the office prompts that the system configuration cannot run?

力扣------对奇偶下标分别排序

时间序列分析的表示学习时代来了?
随机推荐
JS (in ES6) sync & await understanding
AttributeError: ‘module‘ object has no attribute ‘create_ connection‘
缓存穿透、缓存击穿、缓存雪崩以及解决方法
Mapper agent development
自贸经济中架起的“隐形桥梁”:国货精品与中国AI力量
Solve the warning prompt of MySQL mapping file
力扣------对奇偶下标分别排序
How does excel filter out the content you want? Excel table filtering content tutorial
2021-10-23
TCP three handshakes and four waves
[wechat applet] swiper slides the page, and the left and right sides of the slider show part of the front and back, showing part of the front and back
2021-10-11
Deadlock analysis using jstack, jconsole, and jvisualvm
Traffic flow prediction pit climbing record (I): traffic flow data set, original data
What if the computer cannot open excel? The solution of Excel not opening
电脑无法打开excel表格怎么办?excel打不开的解决方法
传奇如何一台服务器配置多个版本微端更新
The method and detailed code of automatically pop-up and QQ group when players visit the website
Five correlation analysis, one of the most important skills of data analysts
How to debug UDP port