Using Software RAID-1 with FreeBSD
Subject:   something missing?
Date:   2005-12-28 14:59:44
From:   corbesero

I was very pleased to come across this article because it looked like a very direct way to set up raid on the system disks.

I just tried this on a new machine using a FreeBSD 6.0 release cd, but it failed. :( Specifically, it gave me the "operation not permitted" message whenI tried to execute the "gmirror label" command. I did set the kern.debugflags.geom to 16, so I felt somewhat stumped.

Is there anything else that needs to be done?

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • something missing?
    2006-03-30 12:20:47  ragnar_spain [View]

    it also happened to me, but i found the solution, before running the gmirror label run this:
    # gmirror load

    and also is suggesting to do the next comand to the hds:
    # gmirror clear adX

    another tip is that if u already installed freebsdm u can also add gmirror through the installation disk entering the option to fix the system and then:
    # chroot /dist
    # mount_devfs devfs /dev
    ... gmirror comands ...
    # mount /dev/mirror/gm0s1a /mnt
    noticing that ur system will be at /mnt