[ale] Xen Server adding a virtual disk to a VM
Scott Plante
splante at insightsys.com
Fri Oct 14 12:23:19 EDT 2016
Ah ha, very interesting. I was vaguely aware of GPT but I've never used parted before just now. I know GPT is (generally) needed for disks larger than 2TB, but should I use it all the time now, even for virtual disks inside a Xen VM?
For that matter, if I'm creating a virtual disk to give to a VM, is there any reason to partition it with anything? I've been creating one partition and then creating the filesystem in the partition. I just create separate virtual disks for what I would have used partitions for in the past--so for example the main OS is on one virtual disk, /opt is on another, and each disk has one partition. I saw a btrfs tutorial yesterday where they were just using the whole unpartitioned disk, and it made me wonder why I was should partitionVM disks, other than habit.
On GPT / 2TB drive limits, how can you tell if the hardware & BIOS will support GPT and/or drives larger than 2TB?
The lsblk looks very cool, ty DJ!
Scott
p.s. I just learned that fdisk was patched in June 2012, for v2.3.1, to support GPT! Of course, that's of little use to me since CentOS 7 still has 2.23.7 as the latest available version.
https://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=766d5156c43b784700d28d1c1141008b2bf35ed7
----- Original Message -----
From: "DJ-Pfulio" <DJPfulio at jdpfu.com>
To: "Atlanta Linux Enthusiasts" <ale at ale.org>
Sent: Friday, October 14, 2016 6:23:17 AM
Subject: Re: [ale] Xen Server adding a virtual disk to a VM
fdisk doesn't handle GPT partitions.
Use parted instead.
lsblk
lvs
vgs
pvs
are handy too.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20161014/563a45c2/attachment.html>
More information about the Ale
mailing list