I have two physical volume (for example: /dev/sdc
and /dev/sdd
). I create a volume group (VG001
) from the two physical volume, and I create a logical volume which take entire the volume group. From the logical volume, I want to create 2 files (after mounting it to a directory), each file in 1 physical volume. Is there anyway to do that?
You can't do that with the organisation you have created. Once you put both disks in the VG and created a single LV on top of it, you are at the mercy of the filesystem as to the placement of the files.