Problem with disk_config
Werner Pommerer
werner.pommerer at uni-hohenheim.de
Fri Nov 13 16:49:25 CET 2015
Hello,
the contents of my disk_config is:
----------------------------------
disk_config sda align-at:4KiB
primary /boot 300MiB ext4 rw
primary swap 4GiB swap sw
primary - 12GiB- - -
disk_config lvm
vg system sda3
system-_root / 4GiB ext4 rw
system-_usr /usr 4GiB ext4 rw,nodev
system-_var /var 4GiB ext4 rw,nodev
when I install SLC 6 with this package_config file:
------------------------------------------------------
PACKAGES yumgroup
openafs-client
#"X Window System"
#"Desktop"
#"General Purpose Desktop"
PACKAGES yumgroup XORG
#gnome-desktop base-x # slc5/CentOS 5
#basic-desktop x11 fonts #slc6/CentOS 6
PACKAGES yumi
compat-libstdc++-33
kernel-module-openafs-$kversion
openafs
..
lvm2.x86_64
lvm2-cluster.x86_64
it works fine. But when I uncomment:
PACKAGES yumgroup
openafs-client
"X Window System"
"Desktop"
"General Purpose Desktop"
.....
The system stops during the first boot with strange messages:
...
Dracut Warning: No root device "block:/dev/system/_root" found
...
Without LVM it works fine.
----------------------------------------------------------------------------
--------------
# example of new config file for setup-storage
#
# <type> <mountpoint> <size> <fs type> <mount options> <misc options>
disk_config disk1 disklabel:msdos bootable:1 fstabkey:label
primary / 50%- ext4 rw,noatime,errors=remount-ro createopts="-L
ROOT"
logical swap 2000 swap sw createopts="-L SWAP"
logical /var 20%- ext4 rw,noatime createopts="-L VAR
-m 5" tuneopts="-c 0 -i 0"
logical /tmp 10%- ext4 rw,noatime,nosuid,nodev createopts="-L TMP
-m 0" tuneopts="-c 0 -i 0"
logical /var/cache/openafs 1024 ext4 rw,noatime,nosuid,nodev
createopts="-L AFS -m 1" tuneopts="-c 0 -i 0"
----------------------------------------------------------------------------
--------------
What is wrong?
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20151113/7ff941e8/attachment.html>
More information about the linux-fai
mailing list