[mdlug] Drive Assignment Changed when Reinserted into Server

Jeff Hanson jhansonxi at gmail.com
Sun Jul 1 15:09:25 EDT 2012


On Sun, Jul 1, 2012 at 2:35 PM, Robert Adkins II <radkins at impelind.com> wrote:
> When I pulled the drive, it was listed as /dev/sdh and when it was
> reinserted and "automatically" recognized by the hardware the drive was
> assigned to /dev/sdi.
>
> I am unsure if this will prove to be an issue down the road where the system
> will "run" out of /dev/sd* assignments or if there is something that I can
> or should have done to flush the old /dev/sdh so that the next inserted
> drive would take the /dev/sdh spot when inserted.
>

Assuming that the kernel isn't reserving sdh due to a bad disconnect,
you can use UUIDs in fstab to specify specific drives.  See the
"blkid" command.



More information about the mdlug mailing list