[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] Xen Server adding a virtual disk to a VM

Isn't 2.23.7 a later version than 2.3.x?  :-)

CentOS7 was released in 2014 and it currently has util-linux-2.23.2 which
provides fdisk.

Parted is cooler and has more capability.

On Oct 14, 2016 12:26 PM, "Scott Plante" <splante at insightsys.com> wrote:

> 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
> ------------------------------
> *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.
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20161014/be91e4b4/attachment.html>