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

Re: adding a disk to a Volume group



On 2020-12-23 03:37, Andy Smith wrote:
<..>
e.g. if you install a drive and it shows up in your OS as /dev/foo
of size 1TB, then:

# pvcreate /dev/foo
# vgcreate myvg /dev/foo

Now you have a volume group called "myvg" with ~1TB (some space
reserved for metadata) available for allocation.

This might be where I have gotten confused as online tutorial indicates to fdisk the disk first in partitions. Make physical volumes of the partitions then create a volume group of the partitions.
You are saying that there is no need to use fdisk to make partitions ?
Can make Volume Group of raw device eg /dev/sdc after first saying it is a Physical Volume ?

mick

--
Key ID    4BFEBB31


Reply to: