Thus spake A Righi ([EMAIL PROTECTED]): >Zubin, > >comments below... > >Sethna, Zubin wrote: >> Blockdev –rereadpt /dev/sda || shellout >> >> SCSI device sda: 312500000 512-byte hdwr sectors (160000 MB) >> >> SCSI device sda: drive cache: write back >> >> sda: unknown partition table >> >> BLKRRPART: Input/output error >> >> >> >> If I comment out the blockdev command in the script and rerun it I get >> further, partitioning occurs successfully but since I am using LVM the >> script tries to load the device mapper driver and fails as follows: >> > >OK, I think we could comment the shellout by default in blockdev... >maybe in some cases the command reports an error, but it's able to do >the sufficient operations to continue. On the other hand if it >completely fails the first parted commands below will fail. > >Brian, what do you think? do you see any problem?
Yes. Looks like we're telling the client to re-read it's partition table, but it doesn't have one. Still a good thing to do by default, though. So, yes, let's remove the shellout for the blockdev command, but leave the command there. >> insmod: cannot insert >> ‘/lib/modules/2.6.9-5.ELsmp/kernel/drivers/md/dm-mod.ko’: >> >> File exists (-1): File exists >> >> modprobe: failed to load module dm-mod >> >> >> >> Does anyone know what causes the above errors and how to fix them? The >> dm-mod.ko file is present in the initrd.img. > >The module dm-mod is loaded in the autoinstall script as following: > >logmsg "Load device mapper driver (for LVM)." >modprobe dm-mod > >So if it fails it simply continue with the next commands reporting the >failure message (there's not "shellout"). So maybe in your case the >script fails when performing the pvcreate commands... can you check this? > >Regards, >-Andrea > -- Brian Elliott Finley Mobile: 630.631.6621 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Sisuite-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sisuite-users
