Jump to content
Sign in to follow this  
Followers 0
Jarek Januszewski

[How-To] DIY budget RAID storage in an old enclosure

1 post in this topic

Recommended Posts

Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By dukzcry
      Here's my driver for LSI MegaRAID SAS family of controllers called SASMegaRAID.kext. This one was requested few times at InsanelyMac and other Mac-related communities.
      Download link https://github.com/dukzcry/osx-goodies/releases or https://www.insanelymac.com/forum/files/file/306-sasmegaraidkext/
      F.A.Q.:
      Q: I can't manage controller via supplied utility
      A: Only monitoring functional is supported, management is done via controller BIOS
      Q: Any chance to make cards based on SAS2208 chip work?
      A: Not currently, the chip belongs to the same family, but it requires a lot of handling different from common handling for supported cards.
      Q: The driver loads but my device doesn't show up anywhere in profiler. What should I do?
      A: Try inverting "PreferMSI" key value. It's under "Settings" dictionary in kext's plist. 
      Q: macOS doesn't see my volumes
      A: Set them as virtual (logical) disks in controller's BIOS. If no luck try "Uncontiguous enumeration.zip" version. See full issue report https://www.insanelymac.com/forum/forums/topic/285197-driver-for-lsi-megaraid-sas-family/?do=findComment&comment=1987665
      Q: Is it possible to push more from my setup?
      A: It may be.
      The plist from "Unsafe settings unlocked.zip" allows tweaking of dangerous options. Before playing with them you need to detach all HDDs with critical data and attach some spare HDD for doing the tweaks. The "MaxSGL" option is number of scatter gather list entries you controller can handle. The "MaxTransferSize" determines the maximum size of data transfer (in bytes) per request your controller can catch. If you set them to some enormously big value then they will be truncated to the max values your hardware can achieve (may still be not safe enough for successful data transfers). "MaxTransferSizePerSegment" does the same but for a single SGL entry (will never be larger than MaxTransferSize). For the tests you need to stick to the system.log and start a transfer of a >= 100gb data. If the settings you set are inappropriate, you'll see the I/O errors.
      Q: My Mac stopped to go sleep after i've loaded your kext.
      A: This is awaited. See https://www.insanelymac.com/forum/forums/topic/285197-driver-for-lsi-megaraid-sas-family/?do=findComment&comment=1986269 Use kext from "Unsafe settings unlocked.zip" and set "AllowSleep" key to true.
      Q: Your driver doesn't work for me. Are there any alternatives?
      A: Yes there is one https://www.insanelymac.com/forum/forums/topic/314799-guide-z820-el-capitan-the-great-guide-sucess/?do=findComment&comment=2556863
      Q: I get "mfiutil: mfi_open: not such file or directory" error
      A: It maybe that unit number of you device is not 0 (which is default). Try the following:
      $ ls /dev/mfi?
      /dev/mfi2
      $ sudo mfiutil -u 2
    • By chebkhaled1960
      Hello everyone 
      i noticed that when you install MacOS Mojave the format of HDD is converted to APFS automatically even if you formatted the HDD with HFS ! 
       
      My question is: i read that APFS is especially for SSD and not HDD, is APFS will damage my HDD or it’s Ok if I used it ?
       
      i need your helps and thank you .
    • By Angelo_
      I jusst bought a 500gb crucial mx500 to see wheter the slow response of my hackintosh was due to the old 2.5" 500gb wd black hdd that i savaged from a broken laptop at home to install osx the first time but i don't know how to transfer my datas, os, programs and bootloader on the new drive since crucial only shows how to clone the drive but doesn't (obiously) refer to the clover boot partition, how can i do that?
      and what filesystem should i use? apfs or hfs+?
      I can also use windows or linux programs since i'm on a triple boot setup
    • By Taruga
      Problem solved 

      This is the way I did it

      Lets suppose that disk16 and disk17 are the disks to create the Raid 0 

      After the first command to create the raid, 2 extra disks (disk18 and disk19) will show up if you do a diskutil list
      diskutil appleRaid create stripe raid0 apfs disk16 disk17
 diskutil unmountDisk disk18 diskutil unmountDisk disk19 sudo gpt create disk18 sudo gpt add -b 40 -s 409600 -i 1 -t C12A7328-F81F-11D2-BA4B-00A0C93EC93B disk18 sudo gpt add -b 409640 -i 2 -t 7C3457EF-0000-11AA-AA11-00306543ECAC disk18 sudo newfs_apfs disk18s2
 diskutil mountDisk disk19  
      This is diskutil list output before the above commands
       
      dev/disk16 (external, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *320.1 GB disk16 1: EFI EFI 209.7 MB disk16s1 2: Apple_HFS Sem nome 319.6 GB disk16s2 /dev/disk17 (external, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *320.1 GB disk17 1: EFI EFI 209.7 MB disk17s1 2: Apple_HFS Sem nome 319.6 GB disk17s2  
       
      After diskutil appleRaid create stripe raid0 apfs disk16 disk17 , diskutil list displays:
       
      dev/disk16 (external, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *320.1 GB disk16 1: EFI EFI 209.7 MB disk16s1 2: Apple_RAID 319.7 GB disk16s2 3: Apple_Boot Boot OS X 134.2 MB disk16s3 /dev/disk17 (external, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *320.1 GB disk17 1: EFI EFI 209.7 MB disk17s1 2: Apple_RAID 319.7 GB disk17s2 3: Apple_Boot Boot OS X 134.2 MB disk17s3 /dev/disk18 (external, virtual): #: TYPE NAME SIZE IDENTIFIER 0: Apple_APFS +639.5 GB disk18 /dev/disk19 (synthesized): #: TYPE NAME SIZE IDENTIFIER 0: APFS Container Scheme - +639.5 GB disk19 Physical Store disk18 1: APFS Volume raid0 839.7 KB disk19s1  
      And after the rest of the commands, diskutil list displays:
       
      dev/disk16 (external, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *320.1 GB disk16 1: EFI EFI 209.7 MB disk16s1 2: Apple_RAID 319.7 GB disk16s2 3: Apple_Boot Boot OS X 134.2 MB disk16s3 /dev/disk17 (external, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *320.1 GB disk17 1: EFI EFI 209.7 MB disk17s1 2: Apple_RAID 319.7 GB disk17s2 3: Apple_Boot Boot OS X 134.2 MB disk17s3 /dev/disk18 (external, virtual): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme +639.5 GB disk18 1: EFI 209.7 MB disk18s1 2: Apple_APFS Container disk19 639.2 GB disk18s2 /dev/disk19 (synthesized): #: TYPE NAME SIZE IDENTIFIER 0: APFS Container Scheme - +639.2 GB disk19 Physical Store disk18s2 1: APFS Volume untitled 897.0 KB disk19s1
      Now, disk18 has a GUID_partition_scheme  which it didn't had before.
      And disk19 it's the APFS formated volume ready to install the OS.
       
      ---------------------------

      Obs:
       
      sudo gpt add -b 40 -s 409600 -i 1 -t C12A7328-F81F-11D2-BA4B-00A0C93EC93B disk18 sudo gpt add -b 409640 -i 2 -t 7C3457EF-0000-11AA-AA11-00306543ECAC disk18
      The above GUID's used were taken from https://en.wikipedia.org/wiki/GUID_Partition_Table
       
      EFI System partition C12A7328-F81F-11D2-BA4B-00A0C93EC93B Apple APFS 7C3457EF-0000-11AA-AA11-00306543ECAC -------------- And for HFS+, if anyone needs: Hierarchical File System Plus (HFS+) partition 48465300-0000-11AA-AA11-00306543ECAC But with HFS+, then instead of: diskutil appleRaid create stripe raid0 apfs disk16 disk17 sudo newfs_apfs disk18s2 Should be used: diskutil appleRaid create stripe raid0 JHFS+ disk16 disk17 sudo newfs_hfs -v raid0 disk18s2

      Video demo link:

      Youtube



       
×