<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>The DRBD documentation, along with every tutorial I can find, recommends configuring volumes within a resource using sd* names (e.g. /dev/sda).&nbsp; However, I am concerned about the volatility of these names between reboots and during drive replacement.&nbsp; Since I cannot find any references online worrying about device name volatility and DRBD, I am starting to believe that this is not an issue (i.e. DRBD handles this).&nbsp; But, I would love to have confirmation.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>We are building a pair of storage servers (a primary and a secondary).&nbsp; Each one has a chassis that supports 24 hot-swappable SAS drives.&nbsp; The controller will be configured in IT mode with no RAID.&nbsp; Each drive will be replicated to a corresponding drive on the secondary server.&nbsp; Consider an example: I have two hard drives in each server.&nbsp; The first drive is named sdb and the second is sdc.&nbsp; But, one of the servers reboots.&nbsp; It is possible (albeit unlikely) that the kernel might switch the drive names (i.e. sdb is renamed sdc and vice versa) screwing up the pairing.&nbsp; To eliminate this problem I could configure DRBD with volume IDs, file system UUIDs (although this might not work since DRBD would be using raw devices), by path (this probably will not work with SAS IT), or use udev to name the drives (e.g. by slot).<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Is this a problem or does DRBD track volumes by ID internally?<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Does anyone have any recommendations with managing a large quantity of hot-swappable drives (e.g. tracking which drives in which bay, managing the DRBD volume pairings, etc.)?<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Thank you very much for your time,<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Ted<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p></div></body></html>