PDA

View Full Version : Restoring striped LVM array after OS failure



ElQueue
02-May-2014, 17:51
So here's my issue:

I installed 5 SATA hard discs
I partitioned sda for my root, var, home, etc
I used LVM2 to create a striped array using sdb, sdc, sdd, and sde

In the case of an OS failure where I have to reinstall suse, how would I reinstate the array? Everything I've read says once you run the pvcreate command data is lost on that drive.

Automatic reply
08-May-2014, 13:30
ElQueue,

It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.

Has your issue been resolved? If not, you might try one of the following options:

- Visit http://www.suse.com/support and search the knowledgebase and/or check all
the other support options available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.suse.com)

Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.suse.com/faq.php

If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your SUSE Forums Team
http://forums.suse.com

jmozdzen
08-May-2014, 15:52
Hi ElQueue,

So here's my issue:

I installed 5 SATA hard discs
I partitioned sda for my root, var, home, etc
I used LVM2 to create a striped array using sdb, sdc, sdd, and sde

In the case of an OS failure where I have to reinstall suse, how would I reinstate the array? Everything I've read says once you run the pvcreate command data is lost on that drive.

If you only want to re-install the OS (no drives were failing), LVM then will detect the PVs (by markers created on the disks) and rebuild the stripe set.

Regards,
Jens