vgdisplay command

I recently added SSD to my home server and reloaded the operating system. However, when I try to access my dm-crypt based old disk, I am getting the following error:

Reading all physical volumes. This may take a while...
WARNING: Duplicate VG name server01: Existing bc7YA8-eEXt-1aA1-OHTr-zJkA-ucd0-DsbRTc (created here) takes precedence over RIKiar-w3MG-Gzh5-VFWq-bkRT-9IFc-ia8k87
WARNING: Duplicate VG name server01: Existing bc7YA8-eEXt-1aA1-OHTr-zJkA-ucd0-DsbRTc (created here) takes precedence over RIKiar-w3MG-Gzh5-VFWq-bkRT-9IFc-ia8k87
Found volume group "server01" using metadata type lvm2
Found volume group "server01" using metadata type lvm2

The problem is my volume group. I set to to server01 on both old and new hard disk. How can I rename old LVM2? How do I access my old hard disk?

{ 1 comment }

I‘m using dm-crypt based transparent disk encryption subsystem in Linux. The cryptsetup command is used deal with the Linux Unified Key Setup (LUKS) on-disk format and mount the partition. My setup includes RAID-10 with an LVM physical volume. How do I run fsck (“file system check”) on dm-crypt / LUKS based LVM physical volume under Linux operating systems?

{ 2 comments }