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? > > > 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 _______________________________________________ Sisuite-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sisuite-users
