I confused the hard drives, and deleted all sections of the hard disk. No more write operations on this hard drive were made. It was ubuntu with lvm-encryption. On the hard disk is extremely important customer data, and several months of daily (and even weekly work). You need to restore partitions at any cost. How to do it?
PS So far, I launched gparted to search for deleted partitions, it will scan in the region of 30 hours.
fdiskuse? if so, start with a clean partition table (o) and simply create one partition for the whole disk (p) and enter several times and assign it the type lvm (t->8e), then save (w). After that,pvscanwill have to find the lvm volume ... If it does not help, try doing the same thing, only with the dos-compatibility flag enabled (c). All these actions work only with the partition table and, with due regard, should not spoil the data, but be careful ... If it is not clear, then I can write in more detail later (much later). - Fat-Zer