I've got a RedHat 9 box with LVM support in a 2.4.22 kernel. What I would like to do is take a set of empty files created with 'dd' and concatenate them into a volume group. I've done a good deal of googling, and it seems that this is something that can be done. But when I try to use 'pvcreate' with a plain file, I get this error:
pvcreate -- ERROR "pv_get_size(): ioctl" getting size of physical volume "vdisk1.dsk"
pvcreate [-d|--debug] [-f[f]|--force [--force]] [-h|--help]
[-s|--size PhysicalVolumeSize[kKmMgGtT]] [-y|--yes] [-v|--verbose]
[--version] PhysicalVolume [PhysicalVolume...]
I searched for this error with Google and only found one hit which didn't get any replies other than "it should work". Any ideas why it's not working?