Re: Side effect in setup-storage using 3.3.4~beta1+experimental3
> > > > >Could you please try 3.3.4~beta1+experimental4? I believe I forgot a simple > >return. > > > It's a little different, but not better: > [...] Err, sorry, one should really test their code before releasing it. 3.3.4~beta1+experimental7 should be online in a few minutes and finally fix those problems; at least it worked on my system. Best, Michael pgpJmAbmIyLM9.pgp Description: PGP signature
Re: Side effect in setup-storage using 3.3.4~beta1+experimental3
Michael Tautschnig a écrit : Err, sorry, one should really test their code before releasing it. 3.3.4~beta1+experimental7 should be online in a few minutes and finally fix those problems; at least it worked on my system. Best, Michael Still failing a little later, I've put the log on http://paste.debian.net/64576/. -- Nicolas
Re: Side effect in setup-storage using 3.3.4~beta1+experimental3
> Michael Tautschnig a écrit : > > > >Err, sorry, one should really test their code before releasing it. > >3.3.4~beta1+experimental7 should be online in a few minutes and finally fix > >those problems; at least it worked on my system. > > > >Best, > >Michael > > > Still failing a little later, I've put the log on > http://paste.debian.net/64576/. > Hmm, that's weird, it seemingly cannot match sda to any of the configured disks; could you please replace /usr/share/fai/setup-storage/Volumes.pm (in your NFSROOT) with the attached one and once again paste the output? Thanks a lot, Michael pgpIVBYJh0dpa.pgp Description: PGP signature
Re: Side effect in setup-storage using 3.3.4~beta1+experimental3
Hi Michael, Michael Tautschnig wrote, > > Michael Tautschnig a écrit : > > > > > >Err, sorry, one should really test their code before releasing it. > > >3.3.4~beta1+experimental7 should be online in a few minutes and finally fix > > >those problems; at least it worked on my system. > > > > > >Best, > > >Michael > > > > > Still failing a little later, I've put the log on > > http://paste.debian.net/64576/. > > > > Hmm, that's weird, it seemingly cannot match sda to any of the configured > disks; > could you please replace /usr/share/fai/setup-storage/Volumes.pm (in your > NFSROOT) with the attached one and once again paste the output? I am facing the same problem. I think you forgot to attach the file. bye Waldemar
Re: Side effect in setup-storage using 3.3.4~beta1+experimental3
> Hi Michael, > Michael Tautschnig wrote, > > > > Michael Tautschnig a écrit : > > > > > > > >Err, sorry, one should really test their code before releasing it. > > > >3.3.4~beta1+experimental7 should be online in a few minutes and finally > > > >fix > > > >those problems; at least it worked on my system. > > > > > > > >Best, > > > >Michael > > > > > > > Still failing a little later, I've put the log on > > > http://paste.debian.net/64576/. > > > > > > > Hmm, that's weird, it seemingly cannot match sda to any of the configured > > disks; > > could you please replace /usr/share/fai/setup-storage/Volumes.pm (in your > > NFSROOT) with the attached one and once again paste the output? > > I am facing the same problem. I think you forgot to attach the file. > Sorry!!! Here it is. I'm grateful for your help in debugging this. Thanks a lot, Michael Volumes.pm Description: Perl program pgp30bkzorKHn.pgp Description: PGP signature
Re: Side effect in setup-storage using 3.3.4~beta1+experimental3
Michael Tautschnig a écrit : Michael Tautschnig a écrit : Err, sorry, one should really test their code before releasing it. 3.3.4~beta1+experimental7 should be online in a few minutes and finally fix those problems; at least it worked on my system. Best, Michael Still failing a little later, I've put the log on http://paste.debian.net/64576/. Hmm, that's weird, it seemingly cannot match sda to any of the configured disks; could you please replace /usr/share/fai/setup-storage/Volumes.pm (in your NFSROOT) with the attached one and once again paste the output? Here you go: http://paste.debian.net/64596/ -- Nicolas
Re: Side effect in setup-storage using 3.3.4~beta1+experimental3
> Michael Tautschnig a écrit : > >>Michael Tautschnig a écrit : > >>>Err, sorry, one should really test their code before releasing it. > >>>3.3.4~beta1+experimental7 should be online in a few minutes and finally fix > >>>those problems; at least it worked on my system. > >>> > >>>Best, > >>>Michael > >>> > >>Still failing a little later, I've put the log on > >>http://paste.debian.net/64576/. > >> > > > >Hmm, that's weird, it seemingly cannot match sda to any of the configured > >disks; > >could you please replace /usr/share/fai/setup-storage/Volumes.pm (in your > >NFSROOT) with the attached one and once again paste the output? > > > > > Here you go: http://paste.debian.net/64596/ > Err, could please use the attached version of disk-info to replace /usr/lib/fai/disk-info? And retry... Thanks, Michael #! /bin/bash ### BEGIN SUBROUTINE INFO # Provides-Var:none # Requires-Var:none # Short-Description: ### END SUBROUTINE INFO # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diskandsize() { local isdisk major minor blocks device suffix while read major minor blocks device suffix; do isdisk=1 # skip ide cdrom [ -f /proc/ide/$device/media ] && grep -q cdrom /proc/ide/$device/media && isdisk=0 # old way of detecting disks: [ `cat /sys/block/$device/removable` -eq 1 ] && isdisk=0 [ `stat -c %G /dev/$device` = "disk" ] || isdisk=0 [ $isdisk -eq 1 ] && echo "$device" done } # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # echo a space separated list of devices and their block size egrep ' etherd/e[[:digit:]]+\.[[:digit:]]+\b| i2o/hd.\b| cciss/c.d.\b| ida/c.d.\b| rd/c.d.\b| hd.\b| sd[a-z]{1,2}\b|/disc\b| vd.\b| xvd.\b' /proc/partitions | diskandsize pgp7SUkrKNlCs.pgp Description: PGP signature
Re: Side effect in setup-storage using 3.3.4~beta1+experimental3
> Michael Tautschnig a écrit : > >>Michael Tautschnig a écrit : > Michael Tautschnig a écrit : > >Err, sorry, one should really test their code before releasing it. > >3.3.4~beta1+experimental7 should be online in a few minutes and finally > >fix > >those problems; at least it worked on my system. > > > >Best, > >Michael > > > Still failing a little later, I've put the log on > http://paste.debian.net/64576/. > > >>>Hmm, that's weird, it seemingly cannot match sda to any of the configured > >>>disks; > >>>could you please replace /usr/share/fai/setup-storage/Volumes.pm (in your > >>>NFSROOT) with the attached one and once again paste the output? > >>> > >>> > >>Here you go: http://paste.debian.net/64596/ > >> > > > >Err, could please use the attached version of disk-info to replace > >/usr/lib/fai/disk-info? And retry... > > > > Working again :-) . I've sent the output to > http://paste.debian.net/64600/ juste in case you wish to read it. > Thanks for the quick fix. > Fixed once and forever in 3.3.4~beta2+experimental1. Best, Michael pgp7b1AE9ARB6.pgp Description: PGP signature
resizing an lvm volume with setup-storage
Hello, I'm trying to resize the /usr volume while installing a host in squeeze with 3.3.4~beta2+experimental1, and setup-storage strangely removes the volume before trying to resize it: Starting setup-storage 1.2.1+exp [...] vg0/usr will be resized [...] Executing: lvremove -f vg0/usr [...] Executing: lvresize -L 8192 vg0/usr Command lvresize -L 8192 vg0/usr had exit code 5 [...] Following is the config file; as it's the first time I use this option it might be wrong somewhere. disk_config sda disklabel:msdos bootable:1 primary /boot 512 ext3rw primary - 30GiB- - - disk_config lvm resize:vg0-usr vg vg0 sda2 vg0-swapswap2GiBswapsw vg0-root/ 1GiBext3rw vg0-var /var4GiBext3rw vg0-usr /usr8GiBext3rw vg0-opt /opt2GiBext3rw vg0-home/export/home6GiBext3rw vg0-projet /export/projet 6GiBext3rw I have also tried to preserve and resize the volume at the same time; not that I find it useful, but just to see if it would work better: it's preserved, but not resized. Looks to me that in this case setup-storage should either say "don't do that you idiot", or gracefully resize both the volume and the filesystem. Unless the filesystem doesn't support resizing, of course. -- Nicolas
HDD installation
Welcome Michael I'm trying to reproduce those problems, maybe I'll find a solution to reproduce them. I'm always on this problem, so if I got the error message, I'll send you a message with the problem. […] I'm not sure whether you still have a possibility to reproduce those problems, but I'd be interested to improve setup-storage to fix the problem with precentage specifications. I'd need some more details, however... Thanks, Michael [...]