V
V
vlarkanov2018-04-24 09:21:40
Debian
vlarkanov, 2018-04-24 09:21:40

CLVM: Is it possible to remove the "clustered" flag and access data from another machine?

The Proxmox cluster has died. The data is stored in storage on cLVM volumes. When I try to mount LUNs on another machine, I get (the host is mapped in the storage interface, there is access to LUNs)


Skipping clustered volume group vg-vm
Skipping clustered volume group shared_vm2
Skipping clustered volume group vg-voip3


vgdisplay vg-vm --config 'global {locking_type = 0}' | grep Clustered
WARNING: Locking disabled. Be careful! This could corrupt your metadata.
The Found duplicate the PV 0Z0c4e8fAZ2NSbY06fl5wXdtPpOrt5qZ: using the / dev / mapper / 3690b11c0005284f70000053a5845cc19 not / dev / sdj Solution:
Using duplicate the PV / dev / mapper / 3690b11c0005284f70000053a5845cc19 from a subsystem the DM, ignoring / dev / sdj the
Found duplicate the PV 0Z0c4e8fAZ2NSbY06fl5wXdtPpOrt5qZ: using the / dev / mapper / 3690b11c0005284f70000053a5845cc19 not / dev /sds
Using duplicate PV /dev/mapper/3690b11c0005284f70000053a5845cc19 from subsystem DM, ignoring /dev/sds
Clustered yes

Is it possible to still access the data? (of course, you can just delete volumes and create new ones without the "c" flag, but you need data, not everything was backed up)
UPD:
Found an option
vgchange -cn $vgname --config 'global {locking_type = 0}'
- I can not yet understand whether it is safe for data.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question