BackupPC-users

Re: [BackupPC-users] OT: udev rule for persistent removable device naming

2012-04-03 18:10:15
Subject: Re: [BackupPC-users] OT: udev rule for persistent removable device naming
From: Timothy J Massey <tmassey AT obscorp DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Tue, 3 Apr 2012 17:56:15 -0400
Les Mikesell <lesmikesell AT gmail DOT com> wrote on 04/03/2012 05:56:54 PM:

> Personally, I'd never trust a script to automatically format a disk
> just because it is inserted in a certain carrier.


Thank you for that.  That may be a perfectly logical option:  but it's not what I've chosen.  (This is a solution that has been in production for 6 or more years, and in the direct hands of a couple dozen clients.  Number of initializations:  *thousands*.  Number of issues:  ZERO.)

>  Maybe something
> like  making a small permanent partition with a label or UUID would
> let you detect it and figure out the base device if you really have
> to format different/larger partition on it in a script.  The PCI bus
> address shouldn't change unless you move controller cards around, though.


Once again, until Seagate et. al. sends them that way from the factory, NOTHING that depends on the *contents* of the drive is going to help me.

Once the drive is initialized by the script, this might work great.  But because blank drives *WILL* be put into this system, I don't have much of a choice.

To be clear:

1) Trained monkey takes brand new drive out of the box
2) Trained monkey installs it into the tray
3) Trained monkey clicks a button and the drive magically becomes usable.

There's no way the monkey is gonna get (or want, or even *accept*) console access, so "figure out where that brand new drive is this time..." is not an option.

I remember the bitter discussions regarding udev and I wondered what the big deal was.  I now know...  :(

Tim Massey
 
Out of the Box Solutions, Inc.
Creative IT Solutions Made Simple!

http://www.OutOfTheBoxSolutions.com
tmassey AT obscorp DOT com
      22108 Harper Ave.
St. Clair Shores, MI 48080
Office: (800)750-4OBS (4627)
Cell: (586)945-8796

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/