Adding subdisks to plexes (was: 'vinum list' wierd output (solved))

From: Greg 'groggy' Lehey (grog_at_FreeBSD.org)
Date: 06/30/03

  • Next message: David G. Lawrence: "Please confirm (conf#3cf11a7145595546740c6064dbc27044)"
    Date: Mon, 30 Jun 2003 11:23:15 +0930
    To: freebsd-stable@freebsd.org
    
    
    

    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
    
    



  • Next message: David G. Lawrence: "Please confirm (conf#3cf11a7145595546740c6064dbc27044)"

    Relevant Pages

    • Re: how would you backup 1TB of data to dvds?
      ... The original question, as Craig already stated, was ambiguous as to frequency ... with 160GB USB drives like the Seagate ... we used high quality media, the restore went off without a hitch. ... I do have some Plextor ...
      (Fedora)
    • Re: Does A8N-SLI Deluxe have Raid 5 online expansion?
      ... My plan is to build a new machine to act as my home office server which ... Asus A8N-SLI Deluxe ... 4x Western Digital SATA 320GB drives ... My original question was aimed at whether i can save a few bucks now, ...
      (alt.comp.periphs.mainboard.asus)
    • Re: Hard Drive Speed
      ... Physical characteristics determine the number of platters that can be in a drive, and you generally see a manufacturer release several drives of different capacity at the same time. ... "Seek" time was the time for electronic selection of the head, and the model with two heads had half the latency. ... The original question back then, was my boss's boss was wondering which would be better for databases, the big 3330s or the smaller, older 2314s. ...
      (Fedora)
    • Re: Using DVD Player on DVD driveless G3 iMac
      ... drives for me. ... Returning to the original question a bit - I had a quick look here, ... on the CD drive iMac, nor on the iMac with the DVD-rom drive, or even ... you can't play DVDs on those machines? ...
      (uk.comp.sys.mac)
    • Re: Geom Vinum backwards compatible?
      ... > But will this destroy the data on the 'drives'? ... I haven't tried this with geom_vinum, but using the old vinum I could grow the ... recognize more free space on it's "drive" and then add another subdisk on that ... To answer your question though, in theory it should not destroy the data, so ...
      (freebsd-current)