Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 2.78 KB

README.md

File metadata and controls

30 lines (24 loc) · 2.78 KB

Disk Formating Guide

This guide covers an array of formatting related issues with SAS / SATA hard disk for usage in general purpose server environments.

Should I boot from disk?

Largely speaking all instructions here should perform reasonably well in all linux environments. Some systems though such as TrueNas do not allow the installation of additional packages needed to fix your issues effectively. For that reason I would consider to boot from an iso to avoid any issues. For the purpose of reformating disks ShredOS is a good choice.

  • it is lightweight;
  • it comes with support for most sas / raid controllers;
  • it comes with support for plenty of network cards;
  • it comes prebundled with the parallel package to allow you executing all procedures in this guides on multiple disks at the same time.

How do I start?

  1. Download the iso from the ShredOS Repository.
  2. Configure Telnet on ShredOS to access headless systems if neccessary,
  3. Switch after the boot of ShredOS to a virtual terminal by pressing ALT + F3,
  4. Execute the instructions Change Block size or Remove the Data Integrity Feature from disks.

Contained Guides

  1. Change Block size from 3Par or EMC Storrage solution disks from 520 to 512 / 4096 bytes
  2. Remove the Data Integrity Feature from disks

Sources

Attributions

  • Special thanks got to @PartialVolume and his tool ShredOS. It has been immensely helpful for disk sanitization for quiet some time now and is the Open Source reference in that field;
  • TrueNas Community Member Daisuke for giving the most dettailed description and solution approach;
  • Wendell Wilson from Level 1 Tech who was the first one describing the problem and the solution.