linux-fai Digest, Vol 124, Issue 9
Kerwin Macrohon
macrohon.ryankerwin at bdo.com.ph
Mon Oct 23 03:13:12 CEST 2017
Hi Thomas,
Thank you for your reply. I encountered error below when using LVM
disk_config.
Starting setup-storage 2.0
Using config file: /srv/fai/config/disk_config/LVM
Parted could not read a disk label (new disk?)
Executing: parted -s /dev/loop1 mklabel msdos
DEGRADED MODE. Incomplete RAID LVs will be processed.
Finding all volume groups
Finding volume group "vg1"
DEGRADED MODE. Incomplete RAID LVs will be processed.
Finding all volume groups
Finding volume group "vg1"
DEGRADED MODE. Incomplete RAID LVs will be processed.
Finding all volume groups
Finding volume group "vg1"
DEGRADED MODE. Incomplete RAID LVs will be processed.
Finding all volume groups
Finding volume group "vg1"
Cannot satisfy pre-depends for vgreduce vg1 /dev/loop0:
vg_extended_vg1,exist_/dev/loop0 -- system left untouched.
This is your disk_config file:
# <type> <mountpoint> <size> <fs type> <mount options> <misc options>
# entire disk with LVM, separate /home
disk_config disk1 fstabkey:uuid align-at:1M
primary /boot 200 ext2 rw,noatime
primary - 4G- - -
disk_config lvm
vg vg1 disk1.2
vg1-root / 3G-4G ext4 noatime,rw
vg1-swap swap 200-4G swap sw
vg1-home /home 600- ext4 noatime,nosuid,nodev,rw
Error in task partition. Code: 710
Thank you!
On Saturday, 21 October, 2017 06:00 PM, linux-fai-request at uni-koeln.de
wrote:
> Send linux-fai mailing list submissions to
> linux-fai at uni-koeln.de
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.uni-koeln.de/mailman/listinfo/linux-fai
> or, via email, send a message with subject or body 'help' to
> linux-fai-request at uni-koeln.de
>
> You can reach the person managing the list at
> linux-fai-owner at uni-koeln.de
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of linux-fai digest..."
>
>
> Today's Topics:
>
> 1. Re: LVM setup on image creation (Thomas Lange)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 20 Oct 2017 13:28:59 +0200
> From: Thomas Lange <lange at informatik.uni-koeln.de>
> To: fully automatic installation for Linux <linux-fai at uni-koeln.de>
> Subject: Re: LVM setup on image creation
> Message-ID: <23017.56827.488974.54233 at informatik.uni-koeln.de>
> Content-Type: text/plain; charset=iso-8859-1
>
>>>>>> On Fri, 20 Oct 2017 16:21:35 +0800, Kerwin Macrohon <macrohon.ryankerwin at bdo.com.ph> said:
> > Hi Guys!
> > Was trying to create an image using LVM disk config but to no avail.? Is
> > this doable? Thank you!
> Yes. If you host does not have LVM, it's easy. If you host is also
> using LVM you must use FAI 5.4. Older versions do not support
> lvm on host and in disk image. There's an example disk_config/LVM.
More information about the linux-fai
mailing list