Date: Wed, 13 Nov 2002 13:06:44 +1030 From: Greg 'groggy' Lehey <grog@FreeBSD.org> To: Aaron Wohl <wohl@chessclub.com> Cc: freebsd-fs@FreeBSD.ORG Subject: Re: 4.7 using current vinum to snapshot? Message-ID: <20021113023644.GC2919@wantadilla.lemis.com> In-Reply-To: <20021112134103.49BA02FD55@server3.fastmail.fm> References: <20021112134103.49BA02FD55@server3.fastmail.fm>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday, 12 November 2002 at 7:41:03 -0600, Aaron Wohl wrote: > I am trying to use the current vinum in the stable release to do > snapshoting. I setup a raid 1 let the added drive sync, stop the added > drive, hook it up to a different volume, fsck it, mount it read only. > > It does work but I get a couple of error messages along the way. Is > anyone else using vinum to do snapshoting? Is there some other order to > do these steps in and not get the error messages? Im aware of the notes > in the vinum documentation about future directions for snapshoting... > > ## starting here the two disks are setup as mirror 1 > ## break the mirror and then mount the copy else where so it can be > backeed up > vinum detach cplex > vinum setstate down cplex > vinum setstate down cplex.s0 > # ignore error Can't attach cplex to mir2: 1 in next step it works > anyway > vinum attach cplex mir2 > fsck -y /dev/vinum/mir2 > mount /dev/vinum/mir2 /mnt2 > > ... backup /mnt2 > > ## put the disk back into the mirror > umount /dev/vinum/mir2 > vinum stop mir2 > vinum detach cplex > vinum setstate obsolete cplex.s0 > #ignore error 1 in next line > vinum attach cplex mirx > vinum start cplex.s0 It's very difficult to follow this description, especially since you ignore the error messages. Could you please take a look at the man page or the web site and send the information asked for there. Greg -- See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021113023644.GC2919>