List Info

Thread: RHEL5.1 and lvm




RHEL5.1 and lvm
country flaguser name
Germany
2007-11-22 09:54:38
Hi,

I'm trying to do an install of RHEL5.1 (i386), with the help
of cobbler.
All in a VMware at the moment.

The partitioning section looks like this:

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
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

But the installer halts with the "Big Problem, I can
only reboot - OK?"
screen.
The problem seems to be that the volumegroups are not active
(I can
activate them via vgscan and vgchange -ay on the 2nd
terminal, I see  on
the 3rd that anaconda can't find them in /dev)).
I tried a "pre"-scripts, but I think anaconda
enters into some kind of
chroot and the device-files are not there anymore, when it
wants to format
the devices...

Has anyone had this problem?
I couldn't find anything in the archives.


Rainer

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


Re: RHEL5.1 and lvm
user name
2007-11-22 09:46:39
On Thu, 2007-11-22 at 16:54 +0100, Rainer Duffner wrote:

> I'm trying to do an install of RHEL5.1 (i386), with the
help of cobbler.
> All in a VMware at the moment.

AFAIK there are problems with older versions of VMWare and
RHEL5.

What VMWare version are you using?

Jan

-- 
Jan H Wildeboer          |
Solution Architect, RHCE | Office: +49 (0)89 205071-207
Red Hat GmbH             | Mobile: +49 (0)174 33 23 249
Otto-Hahn-Str.20         | Fax:    +49 (0)89 205071-111
D-85609 Dornach/Munich   | eMail:  jan.wildeboerredhat.com
____________________________________________________________
_________

GPG-Key-ID:      5DEBAFB0
GPG-Fingerprint: 6104 0F74 8513 F17E DFD5  E820 6F61 A078
5DEB AFB0
____________________________________________________________
_________

Reg. Adresse: Red Hat GmbH, Hauptstaetter Strasse 58, 70178
Stuttgart
Handelsregister: Amtsgericht Stuttgart HRB 153243 
Geschaeftsfuehrer: Brendan Lane, Charlie Peters, Michael
Cunningham,
                   Werner Knoblich
____________________________________________________________
_________

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

Re: RHEL5.1 and lvm
country flaguser name
Germany
2007-11-22 10:03:06
Am Do, 22.11.2007, 16:46, schrieb Jan Wildeboer:
> On Thu, 2007-11-22 at 16:54 +0100, Rainer Duffner
wrote:
>
>> I'm trying to do an install of RHEL5.1 (i386), with
the help of cobbler.
>> All in a VMware at the moment.
>
> AFAIK there are problems with older versions of VMWare
and RHEL5.
>
> What VMWare version are you using?


Oh, I forgot to mention.
I use Workstation 6.0.2 build 59824
I wanted to use server first, but server1.0.4 is only for
RHEL4 and
server2 is beta still 
It's running quite nicely on a Ubuntu 7.10.


cheers,
Rainer

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


Re: RHEL5.1 and lvm
user name
2007-11-22 09:54:29
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?

If you try without LVs, does it work?

You can use the remote-syslog feature of anaconda to collect
possible
error messages during install. Cobbler uses this by default,
so it might
be worth checking these logs too.

Jan

-- 
Jan H Wildeboer          |
Solution Architect, RHCE | Office: +49 (0)89 205071-207
Red Hat GmbH             | Mobile: +49 (0)174 33 23 249
Otto-Hahn-Str.20         | Fax:    +49 (0)89 205071-111
D-85609 Dornach/Munich   | eMail:  jan.wildeboerredhat.com
____________________________________________________________
_________

GPG-Key-ID:      5DEBAFB0
GPG-Fingerprint: 6104 0F74 8513 F17E DFD5  E820 6F61 A078
5DEB AFB0
____________________________________________________________
_________

Reg. Adresse: Red Hat GmbH, Hauptstaetter Strasse 58, 70178
Stuttgart
Handelsregister: Amtsgericht Stuttgart HRB 153243 
Geschaeftsfuehrer: Brendan Lane, Charlie Peters, Michael
Cunningham,
                   Werner Knoblich
____________________________________________________________
_________

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

Re: RHEL5.1 and lvm
country flaguser name
Germany
2007-11-22 10:16:44
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?
>
> If you try without LVs, does it work?

I think it would work (because /boot is formated OK.
"sda" is there, after all.

> You can use the remote-syslog feature of anaconda to
collect possible
> error messages during install. Cobbler uses this by
default, so it might
> be worth checking these logs too.

here:

1195741327.0    Thu Nov 22 15:22:07 2007        172.16.50.50
   <14>INFO  
  moving (1) to step enablefilesystems
1195741327.0    Thu Nov 22 15:22:07 2007        172.16.50.50
   <14>INFO  
  lv is rootvol/root, size of 2016
1195741327.0    Thu Nov 22 15:22:07 2007        172.16.50.50
   <14>INFO  
  lv is usrvol/usr, size of 4064
1195741327.0    Thu Nov 22 15:22:07 2007        172.16.50.50
   <14>INFO  
  lv is varlogvol/varlog, size of 4064
1195741327.0    Thu Nov 22 15:22:07 2007        172.16.50.50
   <14>INFO  
  lv is varvol/var, size of 22368
1195741327.0    Thu Nov 22 15:22:07 2007        172.16.50.50
   <14>INFO  
  formatting / as ext3
1195741327.0    Thu Nov 22 15:22:07 2007        172.16.50.50
   <14>INFO  
  Format command:  ['/usr/sbin/mke2fs', '/dev/rootvol/root',
'-i', '4096',
'-j']


On sceen 5, it says:
--->
Could not stat "/dev/rootvol/root" --- no such
file or directory

The device apparently does not exist; did you specify it
correctly.
<---

Is it a problem that I use several volume-groups?



cheers,
Rainer

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


Re: RHEL5.1 and lvm
country flaguser name
Germany
2007-11-22 10:30:03
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.

[rootvmrhel5 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_do
ne=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-listredhat.com
https://www.redhat.com/mailman/listinfo/kickstart-list


Re: RHEL5.1 and lvm
user name
2007-11-22 10:25:29
On Thu, 2007-11-22 at 17:30 +0100, Rainer Duffner wrote:
> but my co-worker tells me that the syntax he used with
RHEL4 has
> stopped working with RHEL5.

This is directly from one one of my (working) RHEL5
kickstarts:

partition /boot --fstype=ext3 --size=200
partition pv.01 --size=1000 --grow
partition swap --size=1000   --maxsize=2000

volgroup myvg pv.01

logvol / --vgname=myvg --name=rootvol --size=1000 --grow


-- 
Jan H Wildeboer          |
Solution Architect, RHCE | Office: +49 (0)89 205071-207
Red Hat GmbH             | Mobile: +49 (0)174 33 23 249
Otto-Hahn-Str.20         | Fax:    +49 (0)89 205071-111
D-85609 Dornach/Munich   | eMail:  jan.wildeboerredhat.com
____________________________________________________________
_________

GPG-Key-ID:      5DEBAFB0
GPG-Fingerprint: 6104 0F74 8513 F17E DFD5  E820 6F61 A078
5DEB AFB0
____________________________________________________________
_________

Reg. Adresse: Red Hat GmbH, Hauptstaetter Strasse 58, 70178
Stuttgart
Handelsregister: Amtsgericht Stuttgart HRB 153243 
Geschaeftsfuehrer: Brendan Lane, Charlie Peters, Michael
Cunningham,
                   Werner Knoblich
____________________________________________________________
_________

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

Re: RHEL5.1 and lvm
user name
2007-11-22 10:32:13
	
	Why do you  create so much physical volumes instead of
creating just
one and several LV on it? ¿Why so much VG too?

	Regards
	Pablo

	

El jue, 22-11-2007 a las 17:30 +0100, Rainer Duffner
escribió:
> 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.
> 
> [rootvmrhel5 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_do
ne=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-listredhat.com
> https://www.redhat.com/mailman/listinfo/kickstart-list

-- 

Pablo Iranzo Gómez (Pablo.Iranzoredhat.com)
RHCE/Global Profesional Services Consultant Spain
Phone: +34 645 01 01 49 (CET/CEST)
GnuPG KeyID: 0xFAD3CF0D

--
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B-82 65
79 41
Directores: Michael Cunningham, Charlie Peters y David
Owens
Dirección Registrada: Red Hat S.L., C/ Velazquez 63, Madrid
28001, España
Dirección contacto: C/Jose Bardasano Baos, 9, Edif. Gorbea
3, Planta 3ºD, 28016 Madrid, Spain


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

Re: RHEL5.1 and lvm
country flaguser name
Germany
2007-11-23 04:06:53
Am Do, 22.11.2007, 17:25, schrieb Jan Wildeboer:
> On Thu, 2007-11-22 at 17:30 +0100, Rainer Duffner
wrote:
>> but my co-worker tells me that the syntax he used
with RHEL4 has
>> stopped working with RHEL5.
>
> This is directly from one one of my (working) RHEL5
kickstarts:
>
> partition /boot --fstype=ext3 --size=200
> partition pv.01 --size=1000 --grow
> partition swap --size=1000   --maxsize=2000
>
> volgroup myvg pv.01
>
> logvol / --vgname=myvg --name=rootvol --size=1000
--grow

I don't know what I'm doing wrong.

partition /boot --fstype=ext3 --size=200
partition swap --fstype=swap --size=4096

partition pv.01  --size=2048 --grow
volgroup vgMain pv.01 --pesize=32768
logvol / --vgname=vgMain --size=7000 --name=root
logvol /var --vgname=vgMain --size=2048 --name=var
logvol /var/log --vgname=vgMain --size=4096 --name=varlog
logvol /data --vgname=vgMain --size=4096 --name=data --grow

Disk is a virtual 36 GB disk, newly created.

Rest of the ks-file is unchanged, but I deleted the
%pre-section.

Same error again.
/dev/mapper is empty, apart from the "control"
file.
If I vgscan && vgchange -ay, the devices show up.
Can you take my ks-file and try it at your site?
I'm using vmware, because it boots faster 


cheers,
Rainer

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


Re: RHEL5.1 and lvm
user name
2007-11-23 04:16:13
On Fri, 2007-11-23 at 11:06 +0100, Rainer Duffner wrote:

> Can you take my ks-file and try it at your site?
> I'm using vmware, because it boots faster 

I am using Xen, because it is Free Software 

Will try over the weekend. I *guess* this is related to the
storage
driver and VMWare combination, but who knows ...

Jan

-- 
Jan H Wildeboer          |
Solution Architect, RHCE | Office: +49 (0)89 205071-207
Red Hat GmbH             | Mobile: +49 (0)174 33 23 249
Otto-Hahn-Str.20         | Fax:    +49 (0)89 205071-111
D-85609 Dornach/Munich   | eMail:  jan.wildeboerredhat.com
____________________________________________________________
_________

GPG-Key-ID:      5DEBAFB0
GPG-Fingerprint: 6104 0F74 8513 F17E DFD5  E820 6F61 A078
5DEB AFB0
____________________________________________________________
_________

Reg. Adresse: Red Hat GmbH, Hauptstaetter Strasse 58, 70178
Stuttgart
Handelsregister: Amtsgericht Stuttgart HRB 153243 
Geschaeftsfuehrer: Brendan Lane, Charlie Peters, Michael
Cunningham,
                   Werner Knoblich
____________________________________________________________
_________

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

[1-10] [11-14]

about | contact  Other archives ( Real Estate discussion Medical topics )