Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jul 1999 11:51:18 +0930
From:      Greg Lehey <grog@lemis.com>
To:        "Jordan K. Hubbard" <jkh@zippy.cdrom.com>
Cc:        Matthew Dillon <dillon@apollo.backplane.com>, Aaron Smith <aaron-fbsd@mutex.org>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Simplifying Vinum (was: ufs/ffs resize?)
Message-ID:  <19990709115118.T6035@freebie.lemis.com>
In-Reply-To: <8846.931485161@zippy.cdrom.com>; from Jordan K. Hubbard on Thu, Jul 08, 1999 at 06:52:41PM -0700
References:  <19990627135736.F427@freebie.lemis.com> <8846.931485161@zippy.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday,  8 July 1999 at 18:52:41 -0700, Jordan K. Hubbard wrote:
>> I think you'll find, once you get that far, that things are anything
>> but trivial.  I'm certainly open to suggestions, but consider:
>>
>>     vinum -i /dev/something volumename
>>
>> Where does it insert it?  What if the volume has more than one plex,
>> which it will in the case of a mirror?
>
> OK, perhaps I was getting a little carried away here. :)
>
>> Not if they're done well.  I'm open to suggestions.  Here are couple
>> of possibilities: add commands "cat", "stripe" and "mirror":
>>
>>     vinum cat /dev/da1h /dev/da2h
>>     vinum stripe /dev/da1h /dev/da2h /dev/da3h /dev/da4h
>>     vinum mirror /dev/da1h /dev/da2h
>>     vinum mirror /dev/da1h /dev/da2h /dev/da3h /dev/da4h
>
> These sound just fine to me!
>
>> And what about the names?  It seems tacky to have to write down the
>> name that Vinum chooses.  How about adding a name parameter, either
>> implicitly or explicitly?  For example,
>>
>>     vinum cat myvol /dev/da1h /dev/da2h
>>     vinum cat -n myvol /dev/da1h /dev/da2h
>
> I also think that's a better proposal than mine, yes.

OK.  This goes back to a message I wrote a long time ago.  It's been a
week since I committed the changes.  Here's what we have (from
vinum(8)):

     concat [-f] [-n name] [-v] drives
               Create a concatenated volume from the specified drives.
     mirror [-f] [-n name] [-s] [-v] drives
               Create a mirrored volume from the specified drives.
     stripe [-f] [-n name] [-v] drives
               Create a striped volume from the specified drives.

The -s flag to mirror states whether to create concatenated or striped
plexes for the mirror.  Striped plexes always have stripes of 256 kB.
For more details, RTFM.

Greg
--
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990709115118.T6035>