Hello FAIs,

I've a problem with setup-storage and RHEL 7

While setup-storage is runing it give " Error in task partition. Code: 710":

Calling task_partition
WARNING: The variable USE_SETUP_STORAGE is not needed any more.
setup-storage is now the default tool for partitioning.
Starting setup-storage 2.2
Using config file: /var/lib/fai/config/disk_config/dvzsn-rb7540
====>> Mount point /boot is shadowed by stacked devices  <<====

This is your disk_config file:
# example of new config file for setup-storage
#
# <type> <mountpoint> <size>   <fs type> <mount options> <misc options>

disk_config sda align-at:1024K disklabel:msdos bootable:1 fstabkey:device
primary                 /boot   1000     xfs    rw,noatime createopts="-L BOOT"
primary         -       1100-   -       -

disk_config lvm fstabkey:device
vg      vgsys   sda1
vgsys-swap              swap    1024    swap    sw
vgsys-root              /       50G     xfs     defaults
vgsys-home              /home   10G     xfs     defaults
vgsys-custom            /opt/custom     20      xfs     defaults
vgsys-srv               /srv    20      xfs     defaults
vgsys-var               /var    1G-90%  xfs     defaults
Error in task partition. Code: 710


With Debian 9 i use:

disk_config disk1 align-at:1M fstabkey:label bootable:1
primary                 /boot   250     ext2    rw,noatime createopts="-L BOOT  
   -m 0"
primary                 -       500-     -       -
disk_config lvm 
vg      vgsys disk1.2   
vgsys-swap              swap                    1024    swap    sw
vgsys-root              /                       5G      ext4    defaults 
createopts="-L ROOT"
and so on...

This works fine
My disk_configs are attached

Any ideas?

Reiner Schulz

Attachment: DEBIAN_9
Description: DEBIAN_9

Attachment: dvzsn-rb7540
Description: dvzsn-rb7540

Antwort per Email an