Date: Mon, 30 Jun 2003 11:23:15 +0930 From: Greg 'groggy' Lehey <grog@FreeBSD.org> To: freebsd-stable@freebsd.org Subject: Adding subdisks to plexes (was: 'vinum list' wierd output (solved)) Message-ID: <20030630015315.GI29066@wantadilla.lemis.com> In-Reply-To: <20030630002207.GA247@grummit.biaix.org> References: <20030629005708.GB599@grummit.biaix.org> <20030629012003.GN29066@wantadilla.lemis.com> <20030629012411.GA34797@grummit.biaix.org> <20030629020002.GO29066@wantadilla.lemis.com> <20030629233820.GA913@grummit.biaix.org> <20030630000249.GF29066@wantadilla.lemis.com> <20030630002207.GA247@grummit.biaix.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--mjUDp/cLGeqUhYyE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Monday, 30 June 2003 at 2:22:07 +0200, Joan Picanyol i Puig wrote: > * Greg 'groggy' Lehey <grog@FreeBSD.org> [20030630 02:00]: >> If you want a real answer, please restate the >> original question. > > Q: how do I add my new drive to an existing volume? > A: create a drive object, a subdrive object on it and attach it to the > volume's plex. Well, no. The question doesn't make sense. You don't add drives to volumes, you add plexes. You mean subdisk, not subdrive. And the volume may have more than one plex, so you need to clarify exactly what you want to do. In addition, as you go on to say, there are two different ways to do this. The method above is less desirable. > Are these equivalent (bulk is the volume's name, storage the drive)? > > a) > drive storage device /dev/ad0s1e > subdrive length 0 drive storage name bulk.p0.s1 You mean subdisk. > attach bulk.p0.s1 bulk.p0 > > b) > drive storage device /dev/ad0s1e > subdrive length 0 drive storage plex bulk.p0 Yes, modulo keyword. Note that, depending on the other objects and their states, you may need to take further steps to ensure data consistency, including possibly running growfs. Also, you can't attach additional subdisks to striped, RAID-4 or RAID-5 plexes. Greg -- See complete headers for address and phone numbers --mjUDp/cLGeqUhYyE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE+/5gLIubykFB6QiMRAg5YAKCmQqJCYVnApl0b0pzyUpZ9LdHScQCfaXsv TYp4MpZ8F7UhXAp0gkx/04Y= =vqh3 -----END PGP SIGNATURE----- --mjUDp/cLGeqUhYyE--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030630015315.GI29066>