2 Replies Latest reply: Nov 29, 2012 7:38 PM by Christopher Murphy
nycretoucher Level 1 Level 1 (0 points)

I have an apple raid card in my Mac pro. I have set it up as a Raid 5 with Three internal 1.5 TB drives. I just replaced one with a 3tb drive. However the capacity did not increase. I looked at the manual and it tells me:

 

Expanding a Volume

You can use the command line to expand (add space to) an existing volume from the

available space on the RAID set that hosts it. Expanding a volume doesn’t affect data

already on the volume.

To expand a volume:

m Open Terminal and enter the following command:

$ sudo raidutil modify volume --expand -n volume -s size

where volume is the name of the volume as shown by the raidutil list volumeinfo

command and size is the amount of space you want to add to the volume.

For more information, see the raidutil man page.

 

So I opened terminal and put in what it says. However terminal keeps getting stuck. below is what its saying. If anyone can tell me what I am doing wrong that would be awesome. I'm not sure why Apple put in such a round about expandtion any way.

 

 

 

NYCretoucher-Remote:~ nisian$ sudo raidutil modify volume R1V1 --expand -n volume R1V1 -s size 700g

Required argument missing: '--rewrite', or '--verify', '--move', '--expand'.

 

 

 

 

 

 

usage: raidutil <global-options> modify volume <required-arguments> <optional-arguments>

    global-options:

        [--controller <ControllerType> | -c <ControllerType>]

        [--terse | -t]

        [--verbose | -v]

        [--version | -V]

    --expand | -e

        required arguments:

            --name <VolumeName> | -n <VolumeName>

            --size <SizeToExpandVolume> | -s <SizeToExpandVolume>

        optional arguments:

            --raidset <RAIDSetName> | -r <RAIDSetName>

            --waitfortask | -W

    --move | -m

        required arguments:

            --names <VolumeName> | -n <VolumeName>

            --targetraidset <TargetRAIDSetName> | -t <TargetRAIDSetName>

            --raidset <RAIDSetName> | -r <RAIDSetName>

        optional arguments:

            --waitfortask | -W

    --rewrite | -w

        required arguments:

            --name <VolumeName> | -n <VolumeName>

        optional arguments:

            --priority <ServicePriority> | -p <ServicePriority>

            --raidset <RAIDSetName> | -r <RAIDSetName>

            --waitfortask | -W

    --verify | -v

        required arguments:

            --name <VolumeName> | -n <VolumeName>

        optional arguments:

            --priority <ServicePriority> | -p <ServicePriority>

            --raidset <RAIDSetName> | -r <RAIDSetName>

            --waitfortask | -W

NYCretoucher-Remote:~ nisian$ sudo raidutil modify volume R1V1 --expand

Required argument missing: '--rewrite', or '--verify', '--move', '--expand'.

 

 

 

 

 

 

usage: raidutil <global-options> modify volume <required-arguments> <optional-arguments>

    global-options:

        [--controller <ControllerType> | -c <ControllerType>]

        [--terse | -t]

        [--verbose | -v]

        [--version | -V]

    --expand | -e

        required arguments:

            --name <VolumeName> | -n <VolumeName>

            --size <SizeToExpandVolume> | -s <SizeToExpandVolume>

        optional arguments:

            --raidset <RAIDSetName> | -r <RAIDSetName>

            --waitfortask | -W

    --move | -m

        required arguments:

            --names <VolumeName> | -n <VolumeName>

            --targetraidset <TargetRAIDSetName> | -t <TargetRAIDSetName>

            --raidset <RAIDSetName> | -r <RAIDSetName>

        optional arguments:

            --waitfortask | -W

    --rewrite | -w

        required arguments:

            --name <VolumeName> | -n <VolumeName>

        optional arguments:

            --priority <ServicePriority> | -p <ServicePriority>

            --raidset <RAIDSetName> | -r <RAIDSetName>

            --waitfortask | -W

    --verify | -v

        required arguments:

            --name <VolumeName> | -n <VolumeName>

        optional arguments:

            --priority <ServicePriority> | -p <ServicePriority>

            --raidset <RAIDSetName> | -r <RAIDSetName>

            --waitfortask | -W

NYCretoucher-Remote:~ nisian$

  • 1. Re: how do I expand my apple raid
    Grant Bennet-Alder Level 8 Level 8 (49,280 points)

    I do not think you have any space to expand the Volume into unused space on the RAID set. I don't think you will have any additional unused space on the RAID set until you upgrade THREE drives and re-make the RAID set in a larger size.

     

    You need to roll the data off to a backup (preferebaly two), swap in multiple comparable-sized larger drives, and re-make the RAID in a larger size.

  • 2. Re: how do I expand my apple raid
    Christopher Murphy Level 3 Level 3 (525 points)

    Three problems with this:

     

    1. My understanding is that the Apple RAID card doesn't support drives larger than 2.2TB in size.

     

    2. RAID 5 requires all drives to be the same size in order for more space to be available, then the file system needs to be grown.

     

    3. The odds of an unrecoverable read error in the course of rebuilding a 3TB consumer SATA hard drive is actually rather high. 1 bit error in 1E14 is the most typical URE published by hard drive manufacturers for consumer SATA, and that translates to 11.4 TB, that is ever 11.4.TB of read, 1 bit error is expected. In the event of an unrecoverable read error, the reconstruction is halted. And a 3 disk RAID 5 means you're reading 6TB of data to rebuild the 3rd drive. So your statistical chance of failure is in the vicinity of 50/50. Not good odds. Therefore you already need to consider RAID 6, or RAID 10 (or RAID 1 + linear which is growable by adding 2 disks of the same size at a time, which can be different sizes than the disks already in the linear array).