Hi Andrea You are correct the script fails after the modprobe command with the following:
lvcreate -L118816768K -n LogVolHome VolGroup_ID_25535 || shellout Insufficient free extents (173) in volume group VolGroup_ID_25535: 3626 Though there are a few lvcreate commands before this that seem to work successfully even though they report errors like: /etc/lvm/backup: fsync failed: Invalid argument Any ideas what's going on here? Thanks Zubin -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrea Righi Sent: Thursday, 15 June 2006 6:37 PM To: [email protected] Cc: Brian Elliott Finley Subject: Re: [Sisuite-users] blockdev and insmod errors 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 _______________________________________________ Sisuite-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sisuite-users
