You are not logged in.
Pages: 1
What command would I use to create a Linux lvm partition with the free space on a drive in parted? It isn't nearly as straightforward as cfdisk, but it supports GPT.
Last edited by duke11235 (2009-10-19 23:52:53)
Offline
mkpart (primary/logical) beginninghere endinghere
LVM tools will let you turn it into a PV.
Offline
So, after that command, with the values substituted in from fdisk -l, i just continue with pvcreate, then vgcreate, etc? Will that label it as lvm or do I need another command?
Do I label it and is the one referring to partition number?
set 1 lvm on
I am looking for a command that does the same as creating an 8e linux lvm partition. Is it true the arch installer creates filesystem types(ext4) in the real arch installer?
Last edited by duke11235 (2009-10-19 04:28:57)
Offline
set partition flag state: Change the state of the flag on partition to state. Supported flags are:
"boot", "root", "swap", "hidden", "raid", "lvm", "lba", and "palo". state should be either "on" or "off".
From man parted.
Offline
set partition flag state: Change the state of the flag on partition to state. Supported flags are:
"boot", "root", "swap", "hidden", "raid", "lvm", "lba", and "palo". state should be either "on" or "off".
Does it need a location? In the man it says:
set 1 lvm on
The first command creates a partition,
mkpart (primary/logical) beginninghere endinghere
in the man it specifies the type.
mkpart primary ext2 0 4000
I thought the arch installer did that later.
Offline
NVM I figured it out. parted numbers the partitions, and the arch installer will create the filesystem.
from ubuntu parted man page
Offline
Pages: 1