RE: setup-storage 1.0.4 - ERROR (line 11): Invalid file: Wasexpecting /\Z/ but found
-Message d'origine- De : Michael Tautschnig [mailto:m...@debian.org] Envoyé : 29 avril 2009 08:55 À : Fortier,Vincent [Montreal] Cc : linux-fai Objet : Re: setup-storage 1.0.4 - ERROR (line 11): Invalid file: Wasexpecting /\Z/ but found [...] # # config LVM disk_config lvm fstabkey:uuid # vg vg00 disk1.3 # vg00-root / 5120 xfs defaults - vg00-var /var3072 xfs defaults - vg00-opt /opt1024 xfs defaults - vg00-tmp /tmp1024 xfs defaults - # Help/patch greatly appreciated! The - (presumably at the end of the lines?) is not allowed (anymore). If you want to pass additional options, use createopts, pvcreateopts or lvcreateopts Thnx, it worked :) Now I'm still faced with the problem I was hoping the update to 3.2.19 would fix: Calling task_action FAI_ACTION: install Performing FAI installation. All data may be overwritten! Calling task_install Calling task_partition Partitioning local harddisks using setup-storage Starting setup-storage 1.0.4 Using config file: /var/lib/fai/config/disk_config/SERVER Executing: parted -s /dev/sda unit TiB print Executing: parted -s /dev/sda unit B print free Executing: parted -s /dev/sda unit chs print free Creating directory /tmp/lvm/lock Finding all volume groups No volume groups found Executing: mdadm --detail --scan --verbose -c partitions Lower bound of partition size is greater than disk size Error in task partition. Traceback: task_error task_partition task task_install task task_action task main Usually n order to solve this I need to manually invoke a dd if=/dev/zero of=/dev/sda bs=512 count=1 to remove any traces of a partition table then restart the install once more but this does not work on my Dell PE1950 ?? Any fix for this one perhaps ? Help again greatly appreciated! - vin
Re: setup-storage 1.0.4 - ERROR (line 11): Invalid file: Wasexpecting /\Z/ but found
Executing: mdadm --detail --scan --verbose -c partitions Lower bound of partition size is greater than disk size Error in task partition. Traceback: task_error task_partition task task_install task task_action task main Usually n order to solve this I need to manually invoke a dd if=/dev/zero of=/dev/sda bs=512 count=1 to remove any traces of a partition table then restart the install once more but this does not work on my Dell PE1950 ?? Any fix for this one perhaps ? Help again greatly appreciated! - vin i had this issue once because i was allocating more storage than my disk has space for. Are you sure you are not overbooking the disk's capacity ? If a dd let you go over this issue this should not be the case just giving experience return for the same error message i had.. try to put vg00-root / 5- xfs defaults and see if it helps... regards, Jean.
RE: setup-storage 1.0.4 - ERROR (line 11): Invalid file: Wasexpecting /\Z/ but found
-Message d'origine- De : Jean Spirat [mailto:jeanspi...@squirk.org] Envoyé : 29 avril 2009 09:41 À : Fortier,Vincent [Montreal] Cc : Michael Tautschnig; linux-fai Objet : Re: setup-storage 1.0.4 - ERROR (line 11): Invalid file: Wasexpecting /\Z/ but found Executing: mdadm --detail --scan --verbose -c partitions Lower bound of partition size is greater than disk size Error in task partition. Traceback: task_error task_partition task task_install task task_action task main Usually n order to solve this I need to manually invoke a dd if=/dev/zero of=/dev/sda bs=512 count=1 to remove any traces of a partition table then restart the install once more but this does not work on my Dell PE1950 ?? Any fix for this one perhaps ? Help again greatly appreciated! - vin i had this issue once because i was allocating more storage than my disk has space for. Are you sure you are not overbooking the disk's capacity ? If a dd let you go over this issue this should not be the case just giving experience return for the same error message i had.. try to put vg00-root / 5- xfs defaults and see if it helps... You where soo right... Thnx... I was trying to assign 72304 x 1024 = 74039296 disk_config disk1 bootable:1 primary /boot 256 ext3defaults primary - 2048swaprw primary - 7- - - while I the disk as: [r...@urpbe1 /root]# fdisk -l Disk /dev/sda: 72.7 GB, 72746008576 bytes 255 heads, 63 sectors/track, 8844 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Thnx a lot! - vin
RE: setup-storage 1.0.4 - ERROR (line 11): Invalid file: Wasexpecting /\Z/ but found
-Message d'origine- De : Jean Spirat [mailto:jeanspi...@squirk.org] Envoyé : 29 avril 2009 13:17 À : Fortier,Vincent [Montreal] Cc : Michael Tautschnig; linux-fai Objet : Re: setup-storage 1.0.4 - ERROR (line 11): Invalid file: Wasexpecting /\Z/ but found You where soo right... Thnx... I was trying to assign 72304 x 1024 = 74039296 disk_config disk1 bootable:1 primary /boot 256 ext3defaults primary - 2048swaprw primary - 7- - - while I the disk as: [r...@urpbe1 /root]# fdisk -l Disk /dev/sda: 72.7 GB, 72746008576 bytes 255 heads, 63 sectors/track, 8844 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Thnx a lot! - vin i agree that the error message could be a little different like: disk is not big enough for the settings or I don't want to talk to you no more, you empty headed animal food trough wiper. I fart in your general direction. Your mother was a hamster and your father smelt of elderberries, something that really told us we got somethign wrong in our configs ;) I tend to agree... At least for the first part :) regards, jean
Re: setup-storage 1.0.4 - ERROR (line 11): Invalid file: Wasexpecting /\Z/ but found
You where soo right... Thnx... I was trying to assign 72304 x 1024 = 74039296 disk_config disk1 bootable:1 primary /boot 256 ext3defaults primary - 2048swaprw primary - 7- - - while I the disk as: [r...@urpbe1 /root]# fdisk -l Disk /dev/sda: 72.7 GB, 72746008576 bytes 255 heads, 63 sectors/track, 8844 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Thnx a lot! - vin i agree that the error message could be a little different like: disk is not big enough for the settings or I don't want to talk to you no more, you empty headed animal food trough wiper. I fart in your general direction. Your mother was a hamster and your father smelt of elderberries, something that really told us we got somethign wrong in our configs ;) I've changed the error message to Sorry, can't create a partition of $start B on a disk of $size_b - check your config! (with $start and $size_b being the size of the partition and that of the disk, respectively). Will make it into the next experimental upload. Best, Michael pgpeELJjqjZCh.pgp Description: PGP signature
Re: setup-storage 1.0.4 - ERROR (line 11): Invalid file: Wasexpecting /\Z/ but found
i agree that the error message could be a little different like: disk is not big enough for the settings or I don't want to talk to you no more, you empty headed animal food trough wiper. I fart in your general direction. Your mother was a hamster and your father smelt of elderberries, something that really told us we got somethign wrong in our configs ;) I've changed the error message to Sorry, can't create a partition of $start B on a disk of $size_b - check your config! (with $start and $size_b being the size of the partition and that of the disk, respectively). Will make it into the next experimental upload. Best, Michael woohoo great, so much for the monthy python message then i guess this is easier to debug now ... ;) regards, Jean.