[rhelv6-list] Antwort: Re: MD devices lost after boot

Roth, Sandro Sandro.Roth at zurich-airport.com
Thu Sep 27 13:58:43 UTC 2012


I tried that as well, but still not assembling after a reboot.

And I think you'll run into problems when you want to resize the LUN or partition in your case.
The kernel won't update it's partition table, you'd have to reboot.
At least that's my experience. I might be wrong..

From: rhelv6-list-bounces at redhat.com [mailto:rhelv6-list-bounces at redhat.com] On Behalf Of Brian Long
Sent: Donnerstag, 27. September 2012 02:05
To: Red Hat Enterprise Linux 6 (Santiago) discussion mailing-list
Subject: Re: [rhelv6-list] Antwort: Re: MD devices lost after boot

On Sep 27, 2012, at 7:49 AM, Andreas Reschke wrote:


rhelv6-list-bounces at redhat.com<mailto:rhelv6-list-bounces at redhat.com> schrieb am 27.09.2012 13:37:29:

> Brian Long <brilong at cisco.com<mailto:brilong at cisco.com>>
> Gesendet von: rhelv6-list-bounces at redhat.com<mailto:rhelv6-list-bounces at redhat.com>
>
> 27.09.2012 13:39
>
> Bitte antworten an
> "Red Hat Enterprise Linux 6 \(Santiago\) discussion mailing-list"
> <rhelv6-list at redhat.com<mailto:rhelv6-list at redhat.com>>
>
> An
>
> "Red Hat Enterprise Linux 6 (Santiago) discussion mailing-list"
> <rhelv6-list at redhat.com<mailto:rhelv6-list at redhat.com>>
>
> Kopie
>
> Thema
>
> Re: [rhelv6-list] MD devices lost after boot
>
> On Sep 27, 2012, at 3:05 AM, Roth, Sandro wrote:
>
> Hi experts
>
> I wasn't sure where to post this so I'm sending it to this list.
>
> We have a setup which uses lvm over md over multipath devices. (at
> least that's the plan)
> According to this article it is supported in RHEL6 (it wasn't in RHEL5)
> https://access.redhat.com/knowledge/solutions/48634
>
> I created my md device as follows
> # mdadm --create --verbose /dev/md0 --level=1 --raid-devices=2 /dev/
> mapper/mpatha /dev/mapper/mpathb
>
> Do /dev/mapper/mpatha and mpathb have partition type of "fd - Linux
> RAID auto"?  If not, they won't be set up properly when booting the server.
>
> /Brian/_______________________________________________
> rhelv6-list mailing list
> rhelv6-list at redhat.com<mailto:rhelv6-list at redhat.com>
> https://www.redhat.com/mailman/listinfo/rhelv6-list

Hi Brian,

sorry you're not right. There is no need for partitions with lvm. You can use the whole disk without partitions.

Something is broken with your email client since it's not maintaining threads properly (and it's prepending "Antwort:").

Last I knew, if you didn't use partitions with MD and/or LVM, certain things wouldn't work properly.  I always create a single whole-disk partition and give it a "fd" type.  I think this is still the best practice although it's not a requirement.

/Brian/

--
       Brian Long                             |       |
       Corporate Security Programs Org    . | | | . | | | .
                                              '       '
                                              C I S C O

This email message and any attachments are confidential and may be privileged. If you are not the intended recipient, please notify us immediately and destroy the original transmittal. You are hereby notified that any review, copying or distribution of it is strictly prohibited. Thank you for your cooperation.

Header information contained in E-mails to and from the company are monitored for operational reasons in accordance with swiss data protection act.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/rhelv6-list/attachments/20120927/b6f77c70/attachment.htm>


More information about the rhelv6-list mailing list