- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
扩展Linux虚拟机硬盘、分区一例(国外英语)
扩展Linux虚拟机硬盘、分区一例(国外英语资料)
Extend Linux virtual machine hard disk, partition example
When I deploy the Linux virtual machine to a customer, I typically make a separate partition to store all the data for the customer and name it data. The default size of the/data partition is 35G, and as time goes on, some clients ask for expanded/data partitioning requirements. Here are my steps for implementing ESX4.0:
Note: in production environment, must do the backup before doing operation!
1) turn off the Linux virtual machine and run the vmkfstools command to extend the VMDK file. The original size is 50G, and now it extends to 65G.
Vmkfstools - X 65 g CentOS53 VMDK
Starting the Linux virtual machine, you can view the new available space by following commands.
[root @centos53]
The GNU Parted, version 1.8.1
Using/dev/sda
Welcome to the GNU Parted! Type help to view a list of commands.
(parted) print free
Model: VMware Virtual disk (SCSI)
Disk/dev/sda: 69.8 GB
Sector size (logical/physical) : 512B / 512B
Partition Table: msdos
Number Start the End value type File system Flags
1 32.3 kB 107MB 107MB primary ext3 boot
2 107 MB 4401 MB 4294 MB primary ext3
3 4401MB 6547MB 2147MB primary Linux - swap
46547mb 53.7 GB 47.1 GB extended
5 6547 MB 6547 MB 8694 MB logical ext3
6, 8694MB 10.8 GB 2147MB logical ext3
710.8 GB 11.9 GB 1077MB logical ext3
8 11.9 GB 13.0 GB 1077MB logical ext3
9.13.0 GB 53.7 GB 40.7 GB logical ext3
53.7 GB 69.8 GB 16.1 GBFree Space
3) when running disk/dev/sda, enter P to view the partition result as follows and record it (/dev/sda9 on/data partition). There are 8485 of them, but the final partition is just over 6527. This means there is a hard disk space behind it.
Disk/dev/sda: 69.7 GB, 69793218560 bytes
255 heads, the 63 sectors/track, 63 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot End Blocks Id System
/dev/sda1 * 1.13 1043983 Linux
/dev/sda2 14535Linux
/dev/sda3 536 796 2096482 + 82 Linux swap/Solaris
/ dev/sda4 797652746
您可能关注的文档
最近下载
- 2022年宜春职业技术学院招聘笔试真题含答案详解.docx VIP
- 印花税法解读课件PPT.pptx VIP
- 信息安全培训课件银行.ppt VIP
- 2025年高速公路收费员考试题(附答案+解析).docx VIP
- 抗高血压药物的分类应用抗高血压药物的分类及应用.doc VIP
- 2024年宜春职业技术学院招聘笔试真题含答案详解.docx VIP
- 光伏发电能源项目.docx VIP
- 重症肌无力护理业务学习.pptx VIP
- Razer雷蛇雷蛇幻影战狼 V3 竞技版 8K PC专用 RZ06- 05550 支持和常见问题解答 用户指南 (简体中文)说明书用户手册.pdf
- 塑料件结构的设计规范.ppt VIP
原创力文档


文档评论(0)