Re: raid1 with gmirror (some questions left)
On Fri, Jul 01, 2005 at 12:13:50PM +0200, P.U.Kruppa wrote: > swapoff="YES" > into /etc/rc.conf -since it was recommended. It is still there > can I remove it now or will there be any problems? I think they might have "fixed" that in 5.4, but it doesn't huirt to have it there. I've been careful to run "shutdown" command instead of "halt" ... If you get the same output as I do, I'd say you're alright. -- http://dannyman.toldme.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: raid1 with gmirror (some questions left)
On Thu, 30 Jun 2005, Danny Howard wrote: P.U.Kruppa wrote: As far as I can see, booting from gm0 works fine. There are only two questions left: 1) I installed FreeBSD 5.4 -RELEASE and thus I put - as recommended (or was that only for 5.3 ???) - swapoff="YES into my /etc/rc.conf . Now my raid1 device doesn't show any swap partition. Is this o.k., or should it be reactivated somehow? Uhmmm, can you elaborate on that? O.K. I will try to: # gmirror list # mount # swapinfo all show the about the same stuff as yours. During Raid setup I inserted a line swapoff="YES" into /etc/rc.conf -since it was recommended. It is still there can I remove it now or will there be any problems? Thanks for your hints, Uli. * * Peter Ulrich Kruppa - Wuppertal - Germany * * ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: raid1 with gmirror (some questions left)
P.U.Kruppa wrote: As far as I can see, booting from gm0 works fine. There are only two questions left: 1) I installed FreeBSD 5.4 -RELEASE and thus I put - as recommended (or was that only for 5.3 ???) - swapoff="YES into my /etc/rc.conf . Now my raid1 device doesn't show any swap partition. Is this o.k., or should it be reactivated somehow? Uhmmm, can you elaborate on that? Here's what my system looks like: 0-13:14 [EMAIL PROTECTED] ~> gmirror list Geom name: gm0 State: COMPLETE Components: 2 Balance: round-robin Slice: 4096 Flags: NONE SyncID: 2 ID: 2016858745 Providers: 1. Name: mirror/gm0 Mediasize: 250059349504 (233G) Sectorsize: 512 Mode: r6w6e2 Consumers: 1. Name: ad4 Mediasize: 250059350016 (233G) Sectorsize: 512 Mode: r6w6e3 State: ACTIVE Priority: 0 Flags: DIRTY SyncID: 2 ID: 2809681815 2. Name: ad6 Mediasize: 250059350016 (233G) Sectorsize: 512 Mode: r6w6e3 State: ACTIVE Priority: 0 Flags: DIRTY SyncID: 2 ID: 2997441133 Geom name: gm0.sync 0-13:14 [EMAIL PROTECTED] ~> mount /dev/mirror/gm0s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/mirror/gm0s1g on /local0 (ufs, local, soft-updates) /dev/mirror/gm0s1e on /tmp (ufs, local, soft-updates) /dev/mirror/gm0s1f on /usr (ufs, local, soft-updates) /dev/mirror/gm0s1d on /var (ufs, local, soft-updates) 0-13:14 [EMAIL PROTECTED] ~> swapinfo Device 1K-blocks UsedAvail Capacity /dev/mirror/gm0s1b 41674880 4167488 0% 2) In case one of my disks fails (let's say ad2), what is the correct procedure to exchange it? My guess: - power down my machine If you have hot-swap drive bays, you can skip this step. - insert new disk - # gmirror configure -a gm0 - # gmirror insert gm0 /dev/ad2 - wait until # gmirror list shows both disks active again You should only need the insert command, and you can certainly use the system while the disks are syncing, you'll just have impaired performance. Cheers, -danny -- http://dannyman.toldme.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
raid1 with gmirror (some questions left)
Hi! I have to set up a new proxy for our school. Since I found two identical IDE disks, I gave a software raid1 with gmirror a try. I set the two disk as primary and secondary master, ie. ad0 and ad2, and followed Ralf Engelschall's excellent HowTo at http://people.freebsd.org/~rse/mirror/ (Approach 1: Whole disk) As far as I can see, booting from gm0 works fine. There are only two questions left: 1) I installed FreeBSD 5.4 -RELEASE and thus I put - as recommended (or was that only for 5.3 ???) - swapoff="YES into my /etc/rc.conf . Now my raid1 device doesn't show any swap partition. Is this o.k., or should it be reactivated somehow? 2) In case one of my disks fails (let's say ad2), what is the correct procedure to exchange it? My guess: - power down my machine - insert new disk - # gmirror configure -a gm0 - # gmirror insert gm0 /dev/ad2 - wait until # gmirror list shows both disks active again That's it? Thanks for your answers, Uli. * * Peter Ulrich Kruppa - Wuppertal - Germany * * ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"