FAI 4.3.2: Fehler bei setup-storage 1.7

2015-04-30 Diskussionsfäden looper

Hallo,

seit der Umstellung von Debian Wheezy auf Jessie schlägt die 
Installation mit FAI fehl. Hier die Daten aus dem FAI-Client:


fai-client 4.3.2
fai-setup-storage   4.3.2
liblinux-lvm-perl  0.17-2
lvm2  2.02.111-2.2

--
Fehlermeldung aus fai.log:

Starting setup-storage 1.7
Using config file: /var/lib/fai/config/disk_config/BASIS
DEGRADED MODE. Incomplete RAID LVs will be processed.
Creating directory "/run/lock/lvm"
Finding all volume groups
  No volume groups found
Preserved partition /dev/sda1 does not end at a cylinder boundary, 
parted may fail to restore the partition!
Preserved partition /dev/sda5 does not end at a cylinder boundary, 
parted may fail to restore the partition!

/dev/sda5 will be preserved
/dev/sda2 will be resized
/dev/sda1 will be preserved
Executing: parted -s /dev/sda mklabel msdos
Executing: parted -s /dev/sda mkpart primary "" 1048576B 525336575B
Executing: parted -s /dev/sda mkpart extended "" 525336576B 17179869183B
Executing: parted -s /dev/sda mkpart logical "" 525337600B 2672821247B
Command had non-zero exit code
Error in task partition. Code: 710

--
Weiß jemand Rat?

Danke, Peter



FAI 4.3.2: Fehler bei setup-storage 1.7

2015-04-30 Diskussionsfäden looper

Hallo,

hier noch meine disk_config:

disk_config disk1 disklabel:msdos bootable:1 fstabkey:uuid
primary/boot  500 ext3rw
logicalswap   2G  swapsw
logical/var/log   4G  ext4rw,noatime,nodev
logical/  8G- ext4rw,noatime,errors=remount-ro

Danke, Peter



> seit der Umstellung von Debian Wheezy auf Jessie schlägt die
> Installation mit FAI fehl. Hier die Daten aus dem FAI-Client:
>
>
> fai-client 4.3.2
> fai-setup-storage   4.3.2
> liblinux-lvm-perl  0.17-2
> lvm2  2.02.111-2.2
>
> --
> Fehlermeldung aus fai.log:
>
> Starting setup-storage 1.7
> Using config file: /var/lib/fai/config/disk_config/BASIS
> DEGRADED MODE. Incomplete RAID LVs will be processed.
> Creating directory "/run/lock/lvm"
> Finding all volume groups
>   No volume groups found
> Preserved partition /dev/sda1 does not end at a cylinder boundary,
> parted may fail to restore the partition!
> Preserved partition /dev/sda5 does not end at a cylinder boundary,
> parted may fail to restore the partition!
> /dev/sda5 will be preserved
> /dev/sda2 will be resized
> /dev/sda1 will be preserved
> Executing: parted -s /dev/sda mklabel msdos
> Executing: parted -s /dev/sda mkpart primary "" 1048576B 525336575B
> Executing: parted -s /dev/sda mkpart extended "" 525336576B
> 17179869183B
> Executing: parted -s /dev/sda mkpart logical "" 525337600B 2672821247B
> Command had non-zero exit code
> Error in task partition. Code: 710
>
> --
> Weiß jemand Rat?
>
> Danke, Peter



FAI 4.3.2: Fehler bei setup-storage 1.7

2015-05-03 Diskussionsfäden looper


Hallo Thomas,

ich muss mich entschuldigen, es ist die richtige 'disk_config', aber die 
Fehlermeldungen sind aus einer anderen Konfiguration. Ich habe jetzt die 
simple Konfiguration aus '/usr/share/doc/fai-doc/examples' kopiert (und 
angepasst), um Fehler auszuschließen.



--
Die ist meine aktulle disk_config:

disk_config disk1 disklabel:msdos bootable:1 fstabkey:uuid
primary/boot  500 ext3rw
logicalswap   2G  swapsw
logical/var/log   4G  ext4rw,noatime,nodev
logical/  8G- ext4rw,noatime,errors=remount-ro


--
Und dies sind die Fehlermeldungen dazu:

Starting setup-storage 1.7
Using config file: /var/lib/fai/config/disk_config/BASIS
DEGRADED MODE. Incomplete RAID LVs will be processed.
Creating directory "/run/lock/lvm"
Finding all volume groups
  No volume groups found
Executing: wipefs -a /dev/sda1
Executing: wipefs -a /dev/sda5
Executing: parted -s /dev/sda mklabel msdos
Executing: parted -s /dev/sda mkpart primary "ext3" 1048576B 525336575B
Executing: parted -s /dev/sda set 1 boot on
Executing: parted -s /dev/sda mkpart extended "" 525336576B 17179869183B
Executing: parted -s /dev/sda mkpart logical "linux-swap" 525337600B 
2672821247B

Command had non-zero exit code
Error in task partition. Code: 710


--
Die anderen Dinge bleiben gleich:

fai-client  4.3.2
fai-setup-storage   4.3.2
liblinux-lvm-perl   0.17-2
lvm22.02.111-2.2

--
Ich wollte dich nicht verwirren. Sorry

Gruß, Peter


FAI 4.3.2: Fehler bei setup-storage 1.7

2015-05-04 Diskussionsfäden looper

Hallo Thomas,

wie gewünscht übersende ich die die beiden Logdateien.

Ich habe die Konfiguration bis zur Aktualisierung auf Jessie unter 
Wheezy so genutzt.


Vielen Dank für deine Hilfe
Peter
 -
   Fully Automatic Installation  -  FAI

   4.3.2   (c) 1999-2015
   Thomas Lange  
 -

Calling task_confdir
Kernel currently running: Linux 3.2.0-4-amd64 x86_64 GNU/Linux
Kernel parameters: initrd=initrd.img ip=dhcp root=/dev/nfs nfsroot=192.168.178.30:/opt/regenmann/fai/nfsroot aufs boot=live FAI_CONFIG_SRC=nfs://192.168.178.30/opt/regenmann/fai/config FAI_FLAGS=verbose,sshd,createvt FAI_ACTION=install BOOT_IMAGE=vmlinuz
Reading /tmp/fai/boot.log
FAI_FLAGS: verbose sshd createvt
Setting SERVER=192.168.178.30. Value extracted from FAI_CONFIG_SRC.
Can't connect to monserver on 192.168.178.30 port 4711. Monitoring disabled.
FAI_CONFIG_SRC is set to nfs://192.168.178.30/opt/regenmann/fai/config
Configuration space 192.168.178.30:/opt/regenmann/fai/config mounted to /var/lib/fai/config
Calling task_setup
FAI_FLAGS: verbose sshd createvt
 4 May 14:44:34 ntpdate[583]: step time server 192.168.178.1 offset 5.009757 sec
Press ctrl-c to interrupt FAI and to get a shell
Starting FAI execution - 20150504_144435
Calling task_defclass
fai-class: Defining classes.
Executing /var/lib/fai/config/class/10-base-classes.
10-base-classes  OK.
Executing /var/lib/fai/config/class/20-hwdetect.source.
loading kernel module sd_mod
loading kernel module sr_mod
loading kernel module mptspi
loading kernel module dm-mod
loading kernel module md-mod
loading kernel module aes
loading kernel module dm-crypt
2: eth0:  mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 1000
link/ether 08:00:27:86:70:a1 brd ff:ff:ff:ff:ff:ff
inet 192.168.178.49/24 brd 192.168.178.255 scope global eth0
inet6 fe80::a00:27ff:fe86:70a1/64 scope link 
20-hwdetect.source   OK.
Executing /var/lib/fai/config/class/50-host-classes.
50-host-classes  OK.
List of all classes:  DEFAULT LINUX AMD64 BASIS DEBDEU PC_NGDIENSTE PC_NGWERKZEUGE PC_DESKTOP PC_SYSTEM PC_KOMMUNIKATION PC_OFFICE PC_MULTIMEDIA PC_ENTWICKLUNG PC_WERKZEUGE GRUB_PC (none) LAST
Calling task_defvar
Executing BASIS.var
++ FAI_ALLOW_UNSIGNED=1
++ UTC=yes
++ TIMEZONE=Europe/Berlin
++ ROOTPW='$1$kBnWcO.E$djxB128U7dMkrltJHPf6d1'
++ KEYMAP=us-latin1
++ STOP_ON_ERROR=700
Executing DEBDEU.var
++ CONSOLEFONT=
++ KEYMAP=de-latin1-nodeadkeys
++ MODULESLIST='usbkbd ehci-hcd ohci-hcd uhci-hcd usbhid psmouse'
Defining variables from additional.var
Loading keymap(s) de-latin1-nodeadkeys ...done.
Calling task_action
FAI_ACTION: install
Performing FAI installation. All data may be overwritten!

Calling task_install
Calling task_partition
Starting setup-storage 1.7
Using config file: /var/lib/fai/config/disk_config/BASIS
DEGRADED MODE. Incomplete RAID LVs will be processed.
Creating directory "/run/lock/lvm"
Finding all volume groups
  No volume groups found
Executing: wipefs -a /dev/sda1
Executing: wipefs -a /dev/sda5
Executing: parted -s /dev/sda mklabel msdos
Executing: parted -s /dev/sda mkpart primary "ext3" 1048576B 525336575B
Executing: parted -s /dev/sda set 1 boot on
Executing: parted -s /dev/sda mkpart extended "" 525336576B 17179869183B
Executing: parted -s /dev/sda mkpart logical "linux-swap" 525337600B 2672821247B
Command had non-zero exit code
Error in task partition. Code: 710
Traceback: task_error task_partition task task_install task task_action task main
Source hook: savelog.LAST.source
ERRORS found in log files. See /tmp/fai/error.log
savelog.LAST.source  OK.
$LOGUSER is undefined. Not saving log files to remote.
FATAL ERROR. Installation stopped.
root@(none):/tmp/fai# ifconig
bash: ifconig: command not found
root@(none):/tmp/fai# ifconfig
eth0  Link encap:Ethernet  HWaddr 08:00:27:86:70:a1  
  inet addr:192.168.178.49  Bcast:192.168.178.255  Mask:255.255.255.0
  inet6 addr: fe80::a00:27ff:fe86:70a1/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:25189 errors:0 dropped:0 overruns:0 frame:0
  TX packets:14250 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000 
  RX bytes:34510074 (32.9 MiB)  TX bytes:1296200 (1.2 MiB)
  Interrupt:19 Base address:0xd020 

loLink encap:Local Loopback  
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0 
  RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@(none):/tmp/fai# ifcon     perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (

FAI 4.3.2: Fehler bei setup-storage 1.7

2015-05-07 Diskussionsfäden looper

Hallo Thomas,

ich habe die Befehle jetzt mal einzeln ausgeführt:


root@fai:~# wipefs -a /dev/sda1
root@fai:~# wipefs -a /dev/sda5
root@fai:~# parted -s /dev/sda mklabel msdos
root@fai:~# parted -s /dev/sda mkpart primary "ext3" 1048576B 525336575B
root@fai:~# parted -s /dev/sda set 1 boot on
root@fai:~# parted -s /dev/sda mkpart extended "" 525336576B 17179869183B
root@fai:~# parted -s /dev/sda mkpart logical "linux-swap" 525337600B 
2672821247B
Warning: The resulting partition is not properly aligned for best 
performance.
Error: Error informing the kernel about modifications to partition 
/dev/sda2 -- Invalid argument.  This means Linux won't know about any 
changes you made to /dev/sda2 until you reboot -- so you shouldn't mount 
it or use it in any way before rebooting.
Error: Partition(s) 2 on /dev/sda have been written, but we have been 
unable to inform the kernel of the change, probably because it/they are 
in use.  As a result, the old partition(s) will remain in use.  You 
should reboot now before making further changes.

root@fai:~# echo $?
1
root@fai:~#


Leider weiß ich absolut nicht, warum der parted-Befehl für das swap hier 
fehl schlägt. Die gleiche Fehlermeldung erscheint, wenn ich die 
Festplatte vorher lösche.




Wenn ich die 'disk_config' so anpasse:

disk_config disk1 disklabel:msdos bootable:1 fstabkey:uuid
primary   /boot 500ext3rw
primary   swap  2G swapsw
primary   / 8G-ext4rw,noatime,errors=remount-ro


... läuft die Partitionierung sauber durch. Es scheint also an der 
Konfiguration zu liegen, oder?


Ich weiß hier irgendwie nicht weiter

Peter