Jump to content

Apple RAID

From Parasol
Revision as of 08:00, 20 September 2016 by Peter Norenkemper (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Apple, RAID, Mirror, Stripe, RAID1, RAID0

RAID löschen

[edit]
$ diskutil appleraid list

AppleRAID sets (1 found)
===============================================================================
Name:                 ZOE16_SLA08_8TB_Festplatte_1
Unique ID:            3512CA1E-2C18-4335-878D-59CDD03BD991
Type:                 Mirror
Status:               Online
Size:                 4.0 TB (4000443039744 Bytes)
Rebuild:              manual
Device Node:          disk4
-------------------------------------------------------------------------------
#  DevNode   UUID                                  Status     Size
-------------------------------------------------------------------------------
disk2s2   C28DAD35-F8AC-41F4-BD5C-922656C4C3F2  Online     4000443039744
disk3s2   7F1E990E-A95B-4E1E-8FE5-941DF9D6A5BE  Online     4000443039744


$ diskutil appleraid delete 3512CA1E-2C18-4335-878D-59CDD03BD991

any output


$ diskutil appleraid list

No AppleRAID sets found


RAID erstellen

[edit]

RAID Level: stripe oder mirror
RAID-Name: z.B. ZOE16_SLA08_HDD_02


$ diskutil appleraid create stripe ZOE16_SLA08_HDD_02 JHFS+ disk2 disk3

Started RAID operation
Unmounting proposed new member disk2
Unmounting proposed new member disk3
Repartitioning disk2 so it can be in a RAID set
Unmounting disk
Creating the partition map
Using disk2s2 as a data slice
Repartitioning disk3 so it can be in a RAID set
Unmounting disk
Creating the partition map
Using disk3s2 as a data slice
Creating a RAID set
Bringing the RAID partitions online
Waiting for the new RAID to spin up "17E08355-1D72-4C82-BF7E-4A0B618E4E76"
Initialized /dev/rdisk4 as a 7 TB case-insensitive HFS Plus volume with a 524288k journal
Mounting disk
Finished RAID operation


$ diskutil appleraid list

...
Device Node:          disk4
...


$ sudo diskutil cs createLVG StorageLVG disk4

Password:
Started CoreStorage operation
Unmounting AppleRAID set at disk4
Adding disk4 to Logical Volume Group
Creating Core Storage Logical Volume Group
Switching disk4 to Core Storage
Waiting for Logical Volume Group to appear
Discovered new Logical Volume Group "B55EC667-7438-42EF-A011-7AB8D4F6E365"
Core Storage LVG UUID: B55EC667-7438-42EF-A011-7AB8D4F6E365
Finished CoreStorage operation


$ sudo diskutil cs createLV B55EC667-7438-42EF-A011-7AB8D4F6E365 jhfs+ ZOE16_SLA08_HDD_02 100% -stdinpassphrase

Passphrase for new volume:
Started CoreStorage operation
Waiting for Logical Volume to appear
Formatting file system for Logical Volume
Initialized /dev/rdisk5 as a 7 TB case-insensitive HFS Plus volume with a 524288k journal
Mounting disk
Core Storage LV UUID: 791524A7-C562-44A5-9FA7-48A8D5968873
Core Storage disk: disk5
Finished CoreStorage operation