Re: RHEL5.1 and lvm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Do, 22.11.2007, 16:54, schrieb Jan Wildeboer:
> On Thu, 2007-11-22 at 17:03 +0100, Rainer Duffner wrote:
>
>> Oh, I forgot to mention.
>> I use Workstation 6.0.2 build 59824
>
> Any error messages on the VMWare level?

Not really.

Nov 22 15:20:41.598: vcpu-0| CPU reset: soft
Nov 22 15:20:41.749: vcpu-0| SVGA: Unregistering IOSpace at 0x1060
Nov 22 15:20:41.750: vcpu-0| SVGA: Unregistering MemSpace at
0xf0000000(0xf0000000) and 0xe8000000(0xe8000000)
Nov 22 15:20:41.871: vcpu-0| SVGA: Registering MemSpace at
0xf0000000(0xf0000000) and 0xe8000000(0xe8000000)
Nov 22 15:20:41.882: vcpu-0| SVGA: Unregistering MemSpace at
0xf0000000(0xf0000000) and 0xe8000000(0xe8000000)
Nov 22 15:20:41.921: vcpu-0| SVGA: Registering MemSpace at
0xf0000000(0xf0000000) and 0xe8000000(0xe8000000)
Nov 22 15:20:41.935: vcpu-0| SVGA: Unregistering MemSpace at
0xf0000000(0xf0000000) and 0xe8000000(0xe8000000)
Nov 22 15:20:41.938: vcpu-0| SVGA: Registering IOSpace at 0x1060
Nov 22 15:20:41.938: vcpu-0| SVGA: Registering MemSpace at
0xf0000000(0xf0000000) and 0xe8000000(0xe8000000)
Nov 22 15:20:42.072: mks| Ignoring update request in VGA_Expose (mode
change pending).
Nov 22 15:20:42.072: mks| Ignoring update request in VGA_Expose (mode
change pending).
Nov 22 15:20:42.200: vcpu-0| DISKUTIL: scsi0:0 : geometry=4699/255/63
Nov 22 15:20:42.282: vcpu-0| BIOS-UUID is 56 4d c3 8c 59 de 63 5a-07 8a cc
e3 9a 64 e1 f2
Nov 22 15:20:42.453: vcpu-0| DISKUTIL: scsi0:0 : toolsVersion = 0
Nov 22 15:20:42.454: vcpu-0| DISKUTIL: Offline toolsVersion = 0
Nov 22 15:20:50.129: mks| Ignoring update request in VGA_Expose (mode
change pending).
Nov 22 15:20:50.132: mks| Ignoring update request in VGA_Expose (mode
change pending).
Nov 22 15:20:51.720: mks| Ignoring update request in VGA_Expose (mode
change pending).
Nov 22 15:20:51.720: mks| Ignoring update request in VGA_Expose (mode
change pending).
Nov 22 15:20:59.928: vcpu-0| SVGA: Unregistering IOSpace at 0x1060
Nov 22 15:20:59.928: vcpu-0| SVGA: Registering IOSpace at 0xfffffff0
Nov 22 15:20:59.928: vcpu-0| SVGA: Unregistering IOSpace at 0xfffffff0
Nov 22 15:20:59.928: vcpu-0| SVGA: Registering IOSpace at 0x1060
Nov 22 15:21:08.795: vcpu-0| SCSI0: RESET BUS
Nov 22 15:21:08.808: vcpu-0| SCSI DEVICE (scsi0:0): MODE SENSE(6) for
unsupported page 0
Nov 22 15:21:08.808: vcpu-0| SCSI DEVICE (scsi0:0): MODE SENSE(6) for
unsupported page 0x8
Nov 22 15:21:08.809: vcpu-0| SCSI DEVICE (scsi0:0): MODE SENSE(6) for
unsupported page 0
Nov 22 15:21:08.810: vcpu-0| SCSI DEVICE (scsi0:0): MODE SENSE(6) for
unsupported page 0x8
Nov 22 15:22:12.674: vcpu-0| VLANCE: Ethernet1 skipped 2304 time(s)
Nov 22 15:22:12.674: vcpu-0| VLANCE: 981 549 534 56 48 23 34 34 20 12 8 4
0 0 0 1
Nov 22 15:22:12.674: vcpu-0| VLANCE: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Nov 22 15:22:12.749: vcpu-0| VLANCE: Ethernet1 skipped 2560 time(s)
Nov 22 15:22:12.749: vcpu-0| VLANCE: 1075 614 587 68 59 29 41 38 22 13 9 4
0 0 0 1
Nov 22 15:22:12.749: vcpu-0| VLANCE: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Nov 22 15:22:12.825: vcpu-0| VLANCE: Ethernet1 skipped 2816 time(s)
Nov 22 15:22:12.825: vcpu-0| VLANCE: 1164 668 655 82 71 36 47 41 22 15 9 4
1 0 0 1
Nov 22 15:22:12.825: vcpu-0| VLANCE: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Nov 22 15:22:12.895: vcpu-0| VLANCE: Ethernet1 skipped 3072 time(s)
Nov 22 15:22:12.896: vcpu-0| VLANCE: 1253 741 731 93 73 39 48 42 22 15 9 4
1 0 0 1
Nov 22 15:22:12.896: vcpu-0| VLANCE: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Nov 22 15:22:12.968: vcpu-0| VLANCE: Ethernet1 skipped 3328 time(s)
Nov 22 15:22:12.968: vcpu-0| VLANCE: 1346 806 800 104 78 43 53 42 25 16 9
4 1 0 0 1
Nov 22 15:22:12.968: vcpu-0| VLANCE: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Nov 22 15:22:29.347: vcpu-0| FLOPPY-MAIN : CMD Checking status for
non-existent Drive 0
Nov 22 15:22:29.393: vcpu-0| SCSI DEVICE (scsi0:0): INQUIRY request with
EVPD set
Nov 22 15:22:29.393: vcpu-0| SCSI DEVICE (scsi0:0): INQUIRY request with
EVPD set
Nov 22 15:22:35.030: vcpu-0| FLOPPY-MAIN : CMD Checking status for
non-existent Drive 0


I can send the whole ks.cfg file, if it is of any use.
We have been doing kickstart installs with RHEL4 for some time (with
LVMs), but my co-worker tells me that the syntax he used with RHEL4 has
stopped working with RHEL5.

[root@vmrhel5 syslog]# cat
/var/www/cobbler/kickstarts_sys/rhel5-test-client/ks.cfg

#platform=x86, AMD64, or Intel EM64T
# System authorization information
auth  --useshadow  --enablemd5
# System bootloader configuration
bootloader --location=mbr
# Partition clearing information
clearpart --all --initlabel --drives=sda
# Use text mode install
text
key --skip
# Firewall configuration
firewall --enabled
# Run the Setup Agent on first boot
firstboot --disable
# System keyboard
keyboard us
# System language
lang en_US
# Use network installation
url --url=http://172.16.50.100/cblr/links/RHEL5-i386
# If any cobbler repo definitions were referenced in the kickstart
profile, include them here.
# Network information
network --bootproto=static --device=eth0 --onboot=on --ip=172.16.50.56
--netmask=255.255.255.0 --gateway=172.16.50.2 --nameserver=172.16.50.2
# Reboot after installation
reboot

#Root password
rootpw --iscrypted $1$yadayadayadayadayadayada.
# SELinux configuration
selinux --disabled
# Do not configure the X Window System
skipx
# System timezone
timezone  --utc Europe/Zurich

# Install OS instead of upgrade
install
# Clear the Master Boot Record
zerombr

# Magically figure out how to partition this thing
#SNIPPET::partition_select_normal
# or not
part /boot --fstype ext3 --size=150 --ondisk=sda --asprimary
part swap --fstype swap --size=4096  --ondisk=sda --asprimary

part pv.01  --size=2048 --ondisk=sda  --asprimary
volgroup rootvol pv.01 --pesize=32768
logvol / --vgname=rootvol --size=1024 --name=root --grow --fstype=ext3

part pv.02  --size=4096 --ondisk=sda
volgroup usrvol  pv.02 --pesize=32768
logvol /usr --vgname=usrvol --size=1024 --name=usr --grow --fstype=ext3

part pv.03  --size=2048 --grow --ondisk=sda
volgroup varvol pv.03 --pesize=32768
logvol /var --vgname=varvol --size=1024 --name=var --grow --fstype=ext3

part pv.04  --size=4096 --ondisk=sda
volgroup varlogvol pv.04 --pesize=32768
logvol /var/log --vgname=varlogvol --size=1024 --name=varlog --grow
--fstype=ext3


%packages
#-s390utils
#-bluez-bluefw
#-bluez-hcidump

#-bluez-libs
#-bluez-utils

#-bluez-gnome
#-bridge-utils
#-dhclient
#-dhcpv6_client

#-irda-utils
#-pcmciautils
#-rp-pppoe
#-sendmail
#-mutt
#-fetchmail
#-mdadm

#-wireless-tools
#-rhpl
#-NetworkManager

#lvm2
#grub
#e2fsprogs
#compat-libstdc++-296
#compat-libstdc++-33
#elinks
#ntp
#postfix
#vim-common
#vim-enhanced


%post

wget http://172.16.50.100/cblr/watcher.py?system_done=rhel5-test-client -b
wget http://172.16.50.100/cobbler/kickstarts_sys/rhel5-test-client/ks.cfg
-O /root/cobbler.ks

%pre
#!/bin/sh
echo "Running LVM scan..."
/usr/sbin/lvm.static vgscan
/usr/sbin/lvm.static vgchange -ay
/usr/bin/sleep 5
echo "...done!"



_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux