大网数据广告活动
服务器运维问答

Ubuntu on Hyper-V and VHDX

· 52CE 我爱测

I have a setup where I will run a Ubuntu Server on two VHDX disks. System 50GB and Data 4TB. They are located on a mirrored Storage Spaces Pool and are dynamic expanded. During the Ubuntu installation the system disk got created …

问题原文

原帖链接 · Sam · CC BY-SA 3.0

I have a setup where I will run a Ubuntu Server on two VHDX disks. System 50GB and Data 4TB. They are located on a mirrored Storage Spaces Pool and are dynamic expanded.

During the Ubuntu installation the system disk got created on first VHDX as a EXT4 on a LVM pool.

My question is if its a good idea to use LVM on linux, or just simpel EXT4 on system and / or data-disk. Just a “mkfs”, file system creation of the Data-disk to EXT4 result in a 60GB expanded VHDX-file.

“mkfs -t ext4 -E lazy_itable_init=1 /dev/sdb1”

I created the machine before I read about the “VHDX Block Sizes”. So maybe thats a reason… http://www.altaro.com/hyper-v/understanding-working-vhdx-files/

What are your thoughts? Regards, Sam

已采纳解答

原帖链接 · B.J.Goodman · CC BY-SA 3.0

LVM gives you flexibility, storage snapshots and simplified volume expandability. In the case of generic Linux server on top of the "regular" storage, I would always recommend going with LVM, it makes the storage management much easier.

In your case, LVM won't really give you any significant benefits since VM is already sitting on top of redundant Storage Spaces with an ability to expand virtual disks and perform snapshots.

To sum up, choose one you are more comfortable with.

P.S.:I would use LVM myself anyway :)

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2017-03-29)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。