Re: Installing FreeBSD onto Vinum-volumes?

oremanj_at_get-linux.org
Date: 07/23/03

  • Next message: Dan Nelson: "Re: set user-id"
    Date: Wed, 23 Jul 2003 12:15:41 -0700
    To: Eivind Olsen <eivind@aminor.no>
    
    

    On Wed, Jul 23, 2003 at 03:51:28PM +0200 or thereabouts, Eivind Olsen wrote:
    > Hello.
    >
    > I'm about to install a new machine which will have 2 IDE-disks. I'd like to
    > mirror some volumes between those disks while other volumes should be
    > striped.
    > I'd like to do this with FreeBSD 5.1.
    >
    > There's no data on the disks that I want/have to keep. Is it at all
    > possible to configure Vinum and then install FreeBSD or will I have to
    > install FreeBSD first and then "convert" to Vinum-volumes by manually
    > editing the disklabel (with bsdlabel), calculating offsets etc.?
    >
    > In other words, is there an easy way to do this? :)

    Maybe. Either you get to do it the hard way, or you get to use beta
    software for it :-)

    >
    > (I already tried installing FreeBSD and then "converting" to Vinum but
    > failed miserably and am now looking for an easy way out.)

    I think Mondo <http://www.mondorescue.org> might do the job
    here. Yeah, I'm biased (I ported the thing to BSD :-), but it
    seriously might work. Note that the FreeBSD port is beta, and the
    links on the downloads page for it are BROKEN. [*don't use them --
    use CVS*]

    Install system to one HD. Make sure you have the ports collection,
    CVS, and the devtools. Install these ports:
    + devel/gmake
    + devel/newt
    + lang/perl
    + shells/bash
    + sysutils/afio
    + sysutils/cdrtools

    $ export CVSROOT=:pserver:anon@cvs.mondorescue.org:/mondorescue
    $ cvs login
    Password: <press enter>
    $ cvs checkout mindi-fbsd
    [snip]
    $ cvs checkout mondo-devel
    [snip]
    $ unset CVSROOT

    $ su
    Password:
    # cd mindi-fbsd && bash install.sh && cd ..
    # cd mondo-fbsd && ./configure && make && make install && cd ..
    # mondoarchive && : follow prompts && reboot && : insert CD && : interactive mode
    [yes, you CAN type that command :-]

    If it asks you whether to backup the MBR raw, say yes.

    Make sure you set up some Vinum partitions in the mountlist
    editor. Add some partitions type + mountpoint "raid", put in
    /dev/vinum/something as the device (replace "something" with the
    volume name you want, of course), press OK, edit that entry, select
    mountpoint, press RAID.., follow prompts. Delete all non-RAID
    partitions, except maybe a /boot partition or /.

    Note that the RAID editor is a bit suboptimal (only uses one subdisk
    per partition). Still, it works.

    Do you want to partition your disks? Yes.
    Do you want to format your disks? Yes.
    Do you want to restore everything? Yes.

    If it doesn't work, and you feel like it, email me the problem, along
    with /var/log/mondo-archive.log.

    HTH,
    -- Josh

    >
    > --
    > Eivind Olsen
    > eivind@aminor.no
    >
    > _______________________________________________
    > freebsd-questions@freebsd.org mailing list
    > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Dan Nelson: "Re: set user-id"

    Relevant Pages

    • Re: Gateway model MA3 problem
      ... Gateway OS disks that isnt in a regular full version WinXP home SP2 ... Too bad you reformatted that one and removed the partitions. ... As the D partition at least on mine also contains the OEM Windows XP install. ...
      (comp.sys.laptops)
    • Re: RAID recovery????
      ... The system has 4 - identical 18GB SCSI disks and I installed the ... partitions out of the 4 disks and set as raid 5 with no spares ... This is a FC5 install as it came off the CD's ... title "GRUB module query" on the Unbuntu forum (see ...
      (Fedora)
    • Re: 120GB disk problems
      ... > Try partitioning the disks 'by hand'. ... Boot form the Debian Woody install CDROM, make the partitions and format ...
      (Fedora)
    • Re: < 32 GB partitions only at external hard drive
      ... If you are having trouble with NTFS of any size, that is NOT normal for XP. ... PC's motherboard BIOS does not support large disks, ... try a repair install of XP ... Try using the XP recovery console to make partitions. ...
      (microsoft.public.windowsxp.hardware)
    • Re: [opensuse] complex confusing partition problem
      ... Another install you forgot about, ... only one 10.2 was installed on hdb. ... the hdb disk and renamed it sdc. ... One thing that helps is to have all partitions "labeled". ...
      (SuSE)