[linux-lvm] LVM crashed, no superblock on dozens of LVs even after vgcfgrestore

Christophe c.baegert-listes at lixium.fr
Fri Mar 27 12:36:29 UTC 2015


Hi Christian,

Le 27/03/2015 12:45, Christian Schröder a écrit :
> Hi,
> None of your DRBD devices seems to be in primary mode, so you probably cannot access them at all. (You could try reading the first block of one of your DRBD devices, e.g. "dd if=/dev/raidssd/drbd0 bs=512 count=1", which should also fail.)
> You should be able to promote the ressources using "drbdadm primary xxx" with "xxx" being the name of the ressource. (I think you have to promote them one by one.) See http://drbd.linbit.com/users-guide-8.4/s-switch-resource-roles.html  for an explanation.
> Normally, devices should be promoted when DRBD is started. Check if "become-primary-on" is set in your ressource configuration (e.g. /etc/drbd.d/foo.res). If you use some cluster management software, it should handle promotion and demotion of DRBD devices.

You're right, how did I miss that ???

I owe you a beer (or two packs of) the next time you come to Paris ;-)

Thanks a lot !!!

-- 
Christophe




More information about the linux-lvm mailing list