Re: Drive name slips...

From: Theodore Y. Ts'o (tytso@MIT.EDU)
Date: Sat Feb 19 2000 - 22:03:45 EST


   From: greg@wind.enjellic.com (G.W. Wettstein)
   Date: Sat, 19 Feb 2000 07:28:24 -0600

   The only problem with this is that at least in the late 2.2.x kernels
   UUID or volume label mounting breaks when the filesystems in question
   are on a RAID1 mirror.

Yeah, unfortunately the Raid1 descriptor block is at the end of the
partition, not at the beginning, it makes this confusion possible.

One easy way of fixing this for mount and company is to check the size
of the filesystem in the superblock. If it's bigger than the physical
size of the partition, then mount should skip the physical device, and
then find the MD device instead.

                                                - Ted

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:24 EST