Project

General

Profile

Actions

Bug #998

closed

Installer fails on gmirror device files

Added by Marcus van Dam over 13 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Installer
Target version:
-
Start date:
11/06/2010
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.0
Affected Architecture:

Description

When doing an install on a gmirror device (created at or before booting the livecd) it will be looking for the wrong device files.
The setup crashes because it cannot find MAKEDEV in /dev to create the /dev/gm0s1a device. This device however seems te be located at /dev/mirror/gm0s1a.

I guess this is a change in FreeBSD where the installer needs to be adjusted.

Actions #1

Updated by Marcus van Dam over 13 years ago

I just found the workaround,
Boot the livecd completely, then symlink /dev/gm0, gm0s1, gm0s1{a..z} to their /dev/mirror/gm... equivalents.
Then do the menu 99 install. It will complete and even the fstab and all will be fine.

Actions #2

Updated by Jim Pingle over 13 years ago

It's been a while since I tried a gmirror install, but is that still necessary if you kldload all of the gmirror/geom klds before invoking the installer?

On my full FreeBSD install to a gmirror that I have handy, the links in /dev/mirror/ are used and work fine.

Actions #3

Updated by Marcus van Dam over 13 years ago

I did not load anything extra. I was expecting the livecd to load all the modules as it recognizes the mirror disks.
I did notice that some commands in the installer look for /dev/mirror/gm0 and some for /dev/gm0.

Actions #4

Updated by Jim Pingle over 13 years ago

It still may be worth loading all of the geom* modules to see if that makes the /dev/mirror shortcut appear when it didn't before. If it does, we can pre-load that module on the CD and it should all just work.

Actions #5

Updated by Marcus van Dam over 13 years ago

I will probably do a reinstall in a few minutes. So ill try and report back.
But please note that the problem is the other way around. The /dev/mirror/gm0 devices are always there, the /dev/gm0 is missing.
And that is what the installer is looking for.

Actions #6

Updated by Marcus van Dam over 13 years ago

Just reinstalled, but i could not find any loadable geom modules, just some .so files in /lib/geom.
It seems that only the commands that test for the existence of the device (which should fix the problem automatically, except for the fact that MAKEDEV is not included on the live disks) and the mount command use the /dev/gm0.

So i guess our best bet is to change the installer commands or add the MAKEDEV script again.

Actions #7

Updated by Jim Pingle about 12 years ago

  • Status changed from New to Feedback

This worked for me last time I tried it - has anyone still had issues doing a gmirror install?

Actions #8

Updated by Chris Buechler about 12 years ago

  • Status changed from Feedback to Closed
Actions

Also available in: Atom PDF