Messages in this thread |  | | Date | Fri, 16 Mar 2001 09:11:24 +0000 | | From | "Stephen C. Tweedie" <> | | Subject | Re: magic device renumbering was -- Re: Linux 2.4.2ac20 |
| |
Hi,
On Wed, Mar 14, 2001 at 02:11:57PM -0500, Lars Kellogg-Stedman wrote: > > Put LABEL=<label set with e2label> in you fstab in place of the device name. > > Which is great, for filesystems that support labels. Unfortunately, > this isn't universally available -- for instance, you cannot mount > a swap partition by label or uuid, so it is not possible to completely > isolate yourself from the problems of disk device renumbering.
It's not convenient, but it is certainly possible: use a single-partition raid0 logical device with raid autostart, and you get a logical /dev/md* device which corresponds to a single partition and which has a fixed name which is detected by the kernel at runtime and mapped to the correct disk, wherever the disk may be.
The IBM EVMS folks are looking to generalise this sort of probing, but for now there is at least one solution to this problem. LVM works too to some extent, but it currently lacks the automatic boot-time/ device-detect-time kernel probing step that the software raid code has.
Cheers, Stephen - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |