[linux-lvm] -l 100%FREE doesn't work with RAID1

Bryan Larsen bryan at larsen.st
Wed Jan 20 12:19:13 UTC 2016


I'm setting up some provisioning scripts, so I don't know the actual sizes
of the hard drives

$ sudo lvcreate --type raid1 -m 1 -l 100%FREE -n backups hdd_vg
  Insufficient free space: 781320 extents needed, but only 390658 available
$ sudo lvcreate --type raid1 -m 1 -l 50%FREE -n backups hdd_vg
  Insufficient free space: 390662 extents needed, but only 390658 available

thoughts?

thanks,
Bryan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20160120/4791a89e/attachment.htm>


More information about the linux-lvm mailing list