Pegasus 1 migrated RAID 5, Logical Drive 9TB, Disk Utility cannot increase partition size

  • 1.5K Views
  • Last Post 08 December 2016
Brian Smith posted this 28 November 2016

Had Pegasus1 R4, (1TB X 4). Migrated RAID to 9TB (3TB X 4). Promise Utility sees a 9TB Logical Drive, but Disk Utility fails (after many hours) to increase the partition size to utilize the additional space. Drive Utility seems to think it can do this, bt then it acts buggy. 

One web site (https://eclecticlight.co/2016/02/13/how-it-took-2-days-to-upgrade-my-raid-thanks-to-a-bug-in-disk-utility-and-tired-old-hfs/) suggested using Drive Genius, but I was hoping for a less expensive solution. Anyone else had this problem?

Order By: Standard | Latest | Votes
Pradeep Chidambaranath posted this 28 November 2016

Hi Brian,

If the volume is configured as an RAID5 volume then, the total capacity will be 12TB however, you will have 9TB as your storage capacity. By default, one disk space will be used for parity. Could you please confirm what is the RAID Level that is configured on the unit?

 

Regards

Pradeep C

Brian Smith posted this 28 November 2016

RAID 5. I was expecting to have 9TB storage capacity. Which I do- sort of. The Promise Utility sees a 9TB capacity on the logical drive. The issue is getting the existing 3TB partition re-sized to take advantage of the 6TB of free space. Apple's Disk Utility does not do the job. 

Pradeep Chidambaranath posted this 28 November 2016

Hi Brian,

How did you create the upgrade the size of the drive? Did you replace the drives one by one and rebuild the drives individually?

 

Regards

Pradeep C

 

Brian Smith posted this 28 November 2016

Not all at once, but yes, as drives failed, I replaced them with higher capacity drives until I had all four. 

Pradeep Chidambaranath posted this 29 November 2016

Hi Brian,

The RAID Volume’s data capacity equals the capacity of the smallest disk drive times the number of disk drives. So if you have created the volume with 1TB HDD and if you replace with higher size drive, then when you rebuild the drive will be still read as a 1TB HDD, the remaining space will be unused. The only way to increase the drive size is to back up all your data and then you have to replace all the 1TB HDD with the higher size disk drives, and create a new disk array and logical drive to get a complete capacity. At this point, you have to back the data and delete and recreate the array and logical drive to have 9TB storage space. Once the array and logical drive are created then you can restore the data.

Regards

Pradeep C

 

Brian Smith posted this 30 November 2016

Well, yes, sort of. All of the drives have been replaced with 3TB drives. The logical volume shows 9TB, as one would expect using RAID 5. There is one 3TB partition on the 9TB logical drive, with 6TB of free space. It SHOULD BE easy to either create a second partition with 6TB on it, or increase the size of the existing partition to any size up to 9TB. 

If you search the internet, you will find many people trying to solve the same problem, with a variety of strategies, none of which have worked for me. 

Devendra Kumar posted this 30 November 2016

Hi Brian,

We have earlier mentioned that If the volume is configured as an RAID5 volume then, the total capacity will be 12TB however, you will have 9TB as your storage capacity. By default, one disk space will be used for parity. In that case, the Logical drive capacity will be 9TB, either you can use it as 1 partition (LD) as 9 TB full capacity or you can create multiple Logical drives based on your requirement.  Which can be done through  Promise utility.

Regards

Dev

P B posted this 30 November 2016

Hi Brian,

The command you're probably looking for is:

diskutil resizeVolume

You can learn more about the command's syntaxes by opening a Terminal session and typing man diskutil

1. Make sure to back-up the data before attempting to execute the command on step 4.

2. Type the following in the Terminal:

diskutil list

3. Identify the IDENTIFIER from the diskutil list

4. Type the following command:

sudo diskutil resizeVolume IDENTIFIER R

You can grow a volume (partition) (back) to its maximum size possible, provided no new partitions have been created that are in the way, by specifying R for the new volume size. You should use R instead of attempting an absolute value such as 100% because the latter cannot count partition map overhead.

5. Once you run the command above, you will see a verbose output of each execution that the command invokes.

6. See if that provides you the Logical Drive's allocated size of 9TB.

I hope this helps.

Brian Smith posted this 06 December 2016

Apparently this is not just any old volume, but a corestorage volume, I am guessing because of the presence of Time Machine backup files. 

 

Brians-MacBook-Pro-888:~ brian$ sudo diskutil resizeVolume disk4 R

Password:

Disk is a Core Storage Logical Volume (use a diskutil coreStorage verb instead to resize)

 

 

I tried this:

 

Brians-MacBook-Pro-888:~ brian$ sudo diskutil corestorage resizeVolume disk4 R

 

and got back this: 

 

R does not appear to be a valid disk size

 

 

Further ideas? 

Brian Smith posted this 06 December 2016

On further investigation, it looks like when I use diskutil list the drive has a 3TB logical volume on a drive with physical size 9TB, but when I use diskutil corevolume list it sees a 3TB logical volume on a 3TB physical drive. 

Richard Oettinger posted this 06 December 2016

Hey Brian,

can you save a report from your Pegasus and post a link to it?

How about what "diskutil list" shows too?

Also, what does "sudo diskutil corestorage disk4 limits" return?

~ Richard

Brian Smith posted this 07 December 2016

diskutil list looks like this:

Last login: Mon Dec  5 20:57:14 on console

Brians-MacBook-Pro-888:~ brian$ diskutil list

/dev/disk0 (internal, physical):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                        *960.2 GB   disk0

   1:                        EFI EFI                     209.7 MB   disk0s1

   2:          Apple_CoreStorage Quicksilver'            959.3 GB   disk0s2

   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3

 

/dev/disk1 (internal, virtual):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:                            Quicksilver'           +959.0 GB   disk1

                                 Logical Volume on disk0s2

                                 E900F950-CE21-4305-B174-7D62DC425FB9

                                 Unlocked Encrypted

 

/dev/disk2 (external, physical):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                        *9.0 TB     disk2

   1:                        EFI EFI                     209.7 MB   disk2s1

   2:          Apple_CoreStorage PROMISE PEGASUS         3.0 TB     disk2s2

   3:                 Apple_Boot Boot OS X               134.2 MB   disk2s3

 

/dev/disk3 (external, virtual):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:                            PROMISE PEGASUS        +3.0 TB     disk3

                                 Logical Volume on disk2s2

                                 723B9762-D50C-4327-B8C4-16F196C8D3D9

 

                                 Unlocked Encrypted

 

 

 

diskutil corestorage list looks like this:

 

Brians-MacBook-Pro-888:~ brian$ diskutil corestorage list

CoreStorage logical volume groups (2 found)

|

+-- Logical Volume Group 54244413-0AF5-445A-9CCD-E943EB067A77

|   =========================================================

|   Name:         Quicksilver'

|   Status:       Online

|   Size:         959337365504 B (959.3 GB)

|   Free Space:   16154624 B (16.2 MB)

|   |

|   +-< Physical Volume 6DE5D4DB-92AE-4EBB-A6AC-E4D67207933F

|   |   ----------------------------------------------------

|   |   Index:    0

|   |   Disk:     disk0s2

|   |   Status:   Online

|   |   Size:     959337365504 B (959.3 GB)

|   |

|   +-> Logical Volume Family 26CC6FF6-8421-4C64-AF03-9E87EE90F1FA

|       ----------------------------------------------------------

|       Encryption Type:         AES-XTS

|       Encryption Status:       Unlocked

|       Conversion Status:       Complete

|       High Level Queries:      Fully Secure

|       |                        Passphrase Required

|       |                        Accepts New Users

|       |                        Has Visible Users

|       |                        Has Volume Key

|       |

|       +-> Logical Volume E900F950-CE21-4305-B174-7D62DC425FB9

|           ---------------------------------------------------

|           Disk:                  disk1

|           Status:                Online

|           Size (Total):          958968889344 B (959.0 GB)

|           Revertible:            Yes (unlock and decryption required)

|           Revert Status:         Reboot required

|           LV Name:               Quicksilver'

|           Volume Name:           Quicksilver'

|           Content Hint:          Apple_HFS

|

+-- Logical Volume Group 53A00AAA-A202-4547-99EF-ED2C42EA090D

    =========================================================

    Name:         PROMISE PEGASUS

    Status:       Online

    Size:         2999005421568 B (3.0 TB)

    Free Space:   0 B (0 B)

    |

    +-< Physical Volume E10A41FF-7765-404E-AB5E-AB248605AF2B

    |   ----------------------------------------------------

    |   Index:    0

    |   Disk:     disk2s2

    |   Status:   Online

    |   Size:     2999005421568 B (3.0 TB)

    |

    +-> Logical Volume Family 5E3884A7-EE8D-4B05-AD4F-09B22DDADED3

        ----------------------------------------------------------

        Encryption Type:         AES-XTS

        Encryption Status:       Unlocked

        Conversion Status:       Complete

        High Level Queries:      Fully Secure

        |                        Passphrase Required

        |                        Accepts New Users

        |                        Has Visible Users

        |                        Has Volume Key

        |

        +-> Logical Volume 723B9762-D50C-4327-B8C4-16F196C8D3D9

            ---------------------------------------------------

            Disk:                  disk3

            Status:                Online

            Size (Total):          2998669877248 B (3.0 TB)

            Revertible:            Yes (unlock and decryption required)

            LV Name:               PROMISE PEGASUS

            Volume Name:           PROMISE PEGASUS

 

            Content Hint:          Apple_HFS

 

 

 

I missed the day in class when we learned Unix, but I think your "limits" query has some sort of syntax issue:

 

Brians-MacBook-Pro-888:~ brian$ sudo diskutil corestorage disk3 limits

diskutil: did not recognize coreStorage verb "disk3"; type "diskutil coreStorage" for a list

Brians-MacBook-Pro-888:~ brian$ diskutil coreStorage

Usage:  diskutil [quiet] coreStorage|CS <verb> <options>

        where <verb> is as follows:

 

     list                     (Show status of CoreStorage volumes)

     info[rmation]            (Get CoreStorage information by UUID or disk)

     convert                  (Convert a volume into a CoreStorage volume)

     revert                   (Revert a CoreStorage volume to its native type)

     create                   (Create a new CoreStorage logical volume group)

     delete                   (Delete a CoreStorage logical volume group)

     rename                   (Rename a CoreStorage logical volume group)

     createVolume             (Create a new CoreStorage logical volume)

     deleteVolume             (Delete a volume from a logical volume group)

     encryptVolume            (Start encrypting a CoreStorage logical volume)

     decryptVolume            (Start decrypting a CoreStorage logical volume)

     unlockVolume             (Attach/mount a locked CoreStorage logical volume)

     changeVolumePassphrase   (Change a CoreStorage logical volume's passphrase)

     resizeVolume             (Resize a CoreStorage volume)

     resizeDisk               (Resize a CoreStorage physical volume disk)

     resizeStack              (Resize a CoreStorage logical/physical volume set)

 

 

diskutil coreStorage <verb> with no options will provide help on that verb

 

 

Richard Oettinger posted this 07 December 2016

The disk TYPE is "Apple_CoreStorage" instead of "Apple_HFS" because the volume on the Pegasus is being virtualized as encrypted "disk3" and is virtualized on to one disk - disk2s2, 3.0TB.

disk2 is showing 9.0TB, but disk2s2 is only 3.0TB.

So basicaly you have to expand the virtual volume to use the unclaimed space of disk2.

This thread covers the process: 

http://apple.stackexchange.com/questions/154964/resizing-or-expanding-a-corestorage-volume

All methods are potentially destructive to the data, so a backup is recommended first.

 

Brian Smith posted this 08 December 2016

Success, finally. 

Lessons learned:

1. Upgrading your RAID5 one disk at a time is a lame strategy with a regular volume and really problematic with a CoreStorage volume. 2. Undocumented unix commands are not for the faint of heart! 3. Think twice before making your RAID a CoreStorage volume (I assume this occurs when you install a bootable OS or use it as a TM backup.)

Thanks guys for helping so much, especially Phillippe Bendeck and Richard Oettinger. 

Close