tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pinning down dk? assignment



In article <20120723141721.GJ4646%trav.math.uni-bonn.de@localhost>,
Edgar Fuß  <ef%math.uni-bonn.de@localhost> wrote:
>Can I somehow pin down which dk? gets assigned to which GPT partition?
>
>In a disklabel world, I have components sd2a..sd6a making raid1.
>I then have raid1a mounted on /export/home and raid1e on /export/mail.
>
>In a GPT/wedge word, I have dk0..dk4 (on sd2..sd6) making raid1.
>I then have dk5 and dk6 on raid1 mounted on /export/home resp. /export/mail.
>
>Now suppose the machine comes up with sd6 failing to attach.
>At that time, I have dk0..dk3, which (plus an absent dk4) will build raid1.
>I then get dk4 and dk5 on raid1 and the mail fs mounted on /export/home.

Use NAME=guid or NAME=underlying-device-name instead of /dev/dkX for the
fs_spec field.

christos



Home | Main Index | Thread Index | Old Index