GEOM gotcha upgrading from 6.x to 7.x
Oliver Brandmueller
ob at e-Gitt.NET
Sat Jun 28 06:04:01 UTC 2008
Hello,
On Sat, Jun 28, 2008 at 07:49:12AM +1000, Peter Jeremy wrote:
> Yesterday, I planned to try an upgrade from 6.x to 7.x on one of the
> servers at work, on the assumption that I could reasonably easily
> revert to 6.x if things went bad. My confidence in being able to
> do that was severely shaken when I saw "Upgrading metadata" messages
> for both geom_mirror disks when the 7.x kernel booted.
>
> Whilst I did not need to revert, some examination of the geom_mirror
> source shows that (as I feared), a 6.x kernel will choke on a 7.x
> geom_mirror.
I didn't try now, but from my experience it should be fairly easy to
revert: Boot without gmirror from one the disks with the old kernel.
Have an old world available (CD, not yet installworld'ed) an write
gmirror label from single user mode with old metadata, add the other
disk and rebuild (more or less just go the way you go to setup a
bootable gmirror from an existing system).
You would be in more trouble if you had some kind of real RAID format
(like a RAID 5 or something) on the disk, but gmirror is basically a set
of metadata whilst any single disk of the mirror is actually in a
format, that can be used without gmirror.
I agree, that this is not actually straigt forward (as downgrading isn't
anyhow), but for the case "I see my 7.x kernel choking when upgrading
from 6.x to 7.x" it should still be easy enough for an experienced
admin.
Greetings,
Oliver
--
| Oliver Brandmueller | Offenbacher Str. 1 | Germany D-14197 Berlin |
| Fon +49-172-3130856 | Fax +49-172-3145027 | WWW: http://the.addict.de/ |
| Ich bin das Internet. Sowahr ich Gott helfe. |
| Eine gewerbliche Nutzung aller enthaltenen Adressen ist nicht gestattet! |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20080628/783d0845/attachment.pgp
More information about the freebsd-stable
mailing list