hi i have a server which its first hdd was broken , the server has 2 HDD , the first hdd crashed . datacenter replaced it for me with a new hdd.
the second hdd use to have 2 pv on 2 partitions , and both PV where added to 1 vg , and 1 lv used allof the vg available space.
/dev/mapper/vg1-lv1 2.7T 255G 2.4T 10% /mnt/home2
/dev/sdb1 --> pv /dev/sdb2 --> another pv
both these PV where added to vg1 , vg1 had one 2.7 TB lv1 /dev/mapper/vg1-lv1 was mounted as ext4 on /home2
now the problem is that datacenter replaced the hdd , and i installed a new OS on the first hdd , but linux do not see second hdd PV or LV or VG .
i dont know if i do
pvcreate /dev/sdb1
and
pvcreate /dev/sdb2
so that they get a UUid , will the linux see the rest vg/lv ?
or if i do pvcreate it will break the existing lvm on it ?
Disk /dev/sdb: 3000.6 GB, 3000592982016 bytes 255 heads, 63 sectors/track, 364801 cylinders, total 5860533168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0xe88b6ea0
Device Boot Start End Blocks Id System /dev/sdb1 63 4294961684 2147480811 8e Linux LVM Partition 1 does not start on physical sector boundary. /dev/sdb2 4294961685 5860528064 782783190 8e Linux LVM Partition 2 does not start on physical sector boundary.
************************************************
Disk /dev/sdb: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders, total 5860533168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0xe88b6ea0
Device Boot Start End Blocks Id System
/dev/sdb1 63 4294961684 2147480811 8e Linux LVM
Partition 1 does not start on physical sector boundary.
/dev/sdb2 4294961685 5860528064 782783190 8e Linux LVM
Partition 2 does not start on physical sector boundary.
***************************************************************************