--- title: "Disk Encryption" slug: "disk-encryption" updated: 2025-03-02T05:48:15Z published: 2025-03-02T05:48:15Z canonical: "docs.fmad.io/disk-encryption" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.fmad.io/llms.txt > Use this file to discover all available pages before exploring further. # Disk Encryption FMADIO Systems support SED (Self Encrypting Disk) using the under full FIPS 140-3 certification by our SSD vendors. Verified using FW: 10687 (2025/3/2) on FMADIO100Gp3 (FMADIO-5403) The process for securing storage using a traditional manual password approach is as follows Assumptions are - all capture drives are partitioned - the parity disk are partitioned - all scratch disk are partitioned In disk.lua that translates to - CacheDisk having a “:1” after the serial number (partition 1) - ParDisk haing a “:1” after the serial number (partition 1) - ScratchDisk having a “:2” after the serial number (partition 2) Reference disk.lua file is shown below - Ensure that the scratch disks has 10 entries (including the PAR disk serial number) ![](https://cdn.document360.io/b9aab0c4-36d0-4616-9673-30b661455571/Images/Documentation/image(146).png?sv=2026-02-06&spr=https&st=2026-11-24T20%3A25%3A54Z&se=2026-11-24T21%3A25%3A54Z&sr=b&sp=r&sig=irFuHZhFCGm%2FRw6rcMKzHkZJyMo71B%2BraXgoy9agsgo%3D) ### Remove default password Ensure the default disk password file is not present in ```plaintext /opt/fmadio/etc/disk-password ``` Rename the file or delete the file. Usually this contains the factory set / the default password. A copy of it is also made on system boot to the system ramdisk at the location below. Also delete this file or reboot the system. ```plaintext /tmp/disk-password ``` If the file exists it will cause problems with lock and unlock procedures. As fmadiocli uses this file for the password, instead of requesting input on the console. ## Configuration The following steps are used to fully reset a new set of disks / reset a used set of disks. ### 1) Power on the system At most this will take about 3-4 minutes. ### 2) Confirm the disk status Once the system has booted run the disk utility to confirm SED disk encryption is enabled ```plaintext fmadiocli "show disk status" ``` Example output looks as follows. Confirm only the OS disk does not have SED enabled. ![](https://cdn.document360.io/b9aab0c4-36d0-4616-9673-30b661455571/Images/Documentation/image(147).png?sv=2026-02-06&spr=https&st=2026-11-24T20%3A25%3A54Z&se=2026-11-24T21%3A25%3A54Z&sr=b&sp=r&sig=2l5fD3OOrOkj0Aj0oq7ad%2B4MFTQQnCkTGG8I7qMV814%3D) Confirm SED, PSID and SED Enable is Yes on all capture (ssd*), scratch disks (scr*) and parity (par0) per the above screen shot. ### 3) Run sanitize to reset the password to default **NOTE: this will delete all contents of the captures (OS disk will remain intact)** **This uses the PSID of the drive, no knowledge of the previous disk password is required.** ```plaintext fmadiocli "config disk sanitize" ``` The output looks similar to below ![](https://cdn.document360.io/b9aab0c4-36d0-4616-9673-30b661455571/Images/Documentation/image(135).png?sv=2026-02-06&spr=https&st=2026-11-24T20%3A25%3A54Z&se=2026-11-24T21%3A25%3A54Z&sr=b&sp=r&sig=CmQ6hYrzw4lTOTQ029L1Iq7qyjA8mdNLGHyZ2N1Zk%2B4%3D) This will take 1-3 minutes only. When completed it prompts back to the shell ![](https://cdn.document360.io/b9aab0c4-36d0-4616-9673-30b661455571/Images/Documentation/image(136).png?sv=2026-02-06&spr=https&st=2026-11-24T20%3A25%3A54Z&se=2026-11-24T21%3A25%3A54Z&sr=b&sp=r&sig=pRwlFn6W8L3ZUubFj5imM1HFpg4BzGP0GaSCV%2BVCMic%3D) After completion running ```plaintext fmadiocli "show disk status" ``` Example output looks like below. Note SED Lock is set to N, while SED, PSID, SED Enb are Y ![](https://cdn.document360.io/b9aab0c4-36d0-4616-9673-30b661455571/Images/Documentation/image(148).png?sv=2026-02-06&spr=https&st=2026-11-24T20%3A25%3A54Z&se=2026-11-24T21%3A25%3A54Z&sr=b&sp=r&sig=wx%2FublgfcVAj40Z4rb6BEMAKUL%2F%2BgLjOsPvF9ktYrGU%3D) ### 4) Format the scratch disks As Step3) deleted all data on the disk (including the partition tables) the scratch disk needs to be re-created Run ```plaintext sudo format_scratch.lua --partition ``` The process is quick example output shown below. ![](https://cdn.document360.io/b9aab0c4-36d0-4616-9673-30b661455571/Images/Documentation/image(145).png?sv=2026-02-06&spr=https&st=2026-11-24T20%3A25%3A54Z&se=2026-11-24T21%3A25%3A54Z&sr=b&sp=r&sig=9S1DzeJriCUhsgZ3yNACfilIFohI5vhAC1FHTaCD%2Fks%3D) Initially it will stop with a Y/N question, the expected disk count and names are shown below. NOTE: nvme1n1 → nvme10n1 ![](https://cdn.document360.io/b9aab0c4-36d0-4616-9673-30b661455571/Images/Documentation/image(149).png?sv=2026-02-06&spr=https&st=2026-11-24T20%3A25%3A54Z&se=2026-11-24T21%3A25%3A54Z&sr=b&sp=r&sig=0IX%2F7xqFivBU0absyoFcqYXIDTIljh4Jzp53PVhLorI%3D) Select Y (upper case) After completion run ```plaintext lsblk ``` The expected output is shown below ![](https://cdn.document360.io/b9aab0c4-36d0-4616-9673-30b661455571/Images/Documentation/image(150).png?sv=2026-02-06&spr=https&st=2026-11-24T20%3A25%3A54Z&se=2026-11-24T21%3A25%3A54Z&sr=b&sp=r&sig=9vqScJ1KcQTK7DAGchcUoKl2AyddamXzxw0Xwrhbkqs%3D) ### 5) Quick format the disk As the disks have been sanitized / all data removed. A quick format is required to setup the capture arrays metadata / fmadio custom file system. This is different to Step 3) Sanitize. The Sanitize step will delete all data on the drives thru a secure erase (e.g. encryption keys deleted permanently), the “config disk format” configures the FMADIO custom filesystem. ```plaintext fmadiocli "config disk format" ``` The system will reboot twice as its goes through the formatting process. Process takes about 5 minutes ![](https://cdn.document360.io/b9aab0c4-36d0-4616-9673-30b661455571/Images/Documentation/image(154).png?sv=2026-02-06&spr=https&st=2026-11-24T20%3A25%3A54Z&se=2026-11-24T21%3A25%3A54Z&sr=b&sp=r&sig=kXhu%2FDfeWUhcoC6uccI%2BU2gDEbqhlWNT8QhNOnQfDNI%3D) ### 6) Wait for system to complete the quick format Its possible to ssh into the system while the quick format operation is happening. In such cases `fmadiocli` function does not operate. Pls wait for the system to finish its reboot cycles before proceeding. Output shown below indicates the system is in “safe mode” and currently formatting the array. It will reboot itself after a few minutes. ![](https://cdn.document360.io/b9aab0c4-36d0-4616-9673-30b661455571/Images/Documentation/image(155).png?sv=2026-02-06&spr=https&st=2026-11-24T20%3A25%3A54Z&se=2026-11-24T21%3A25%3A54Z&sr=b&sp=r&sig=pMdAPuxLP8ua1xTsSmBHHytGySc8GaYaYoepnMNZ9d0%3D) Once reboot completed check the filesystem has been formatted correctly using ```plaintext stream_dump ``` Correct output looks like below ![](https://cdn.document360.io/b9aab0c4-36d0-4616-9673-30b661455571/Images/Documentation/image(156).png?sv=2026-02-06&spr=https&st=2026-11-24T20%3A25%3A54Z&se=2026-11-24T21%3A25%3A54Z&sr=b&sp=r&sig=NHFqZMjoO%2B45uOq%2BCosEJ4CL5HgJZZm8Jvcg47nMFZw%3D) ### 7) Set a password Set a new password using ```plaintext fmadiocli "config disk password" ``` Use the ENTER key when prompting for the current password (the first prompt). The above step 3) resets it to the default password. Contact support@fmad.io if you require the default password. Type in on the console / shell a new password. Full output shown below ![](https://cdn.document360.io/b9aab0c4-36d0-4616-9673-30b661455571/Images/Documentation/image(151).png?sv=2026-02-06&spr=https&st=2026-11-24T20%3A25%3A54Z&se=2026-11-24T21%3A25%3A54Z&sr=b&sp=r&sig=Z41xwaKNJKDAsAuobx6bUbS2d1FfJgtu3cF5YLKkwws%3D) ### 8) Enable disk locking This step enables disk locking. e.g. When the disks loose power, all contents of the disk are un-readable, unless a password has been entered to unlock the disks. NOTE: the disks will self lock after 5 invalid password attempts. If this happens power cycle the system to clear the error. Run the command ```plaintext fmadiocli "config disk lock" ``` It will prompt for the password above from step 7) Output looks similar to this ![](https://cdn.document360.io/b9aab0c4-36d0-4616-9673-30b661455571/Images/Documentation/image(152).png?sv=2026-02-06&spr=https&st=2026-11-24T20%3A25%3A54Z&se=2026-11-24T21%3A25%3A54Z&sr=b&sp=r&sig=7xdm0gpTaonAW%2FlxKyzVrUJ3tDn8IQV8y3WT%2BglGToI%3D) ### 9) Confirm locking is enabled Run the command ```plaintext fmadiocli "show disk status" ``` It shows SED Lock on all drives except the OS disk ![](https://cdn.document360.io/b9aab0c4-36d0-4616-9673-30b661455571/Images/Documentation/image(140).png?sv=2026-02-06&spr=https&st=2026-11-24T20%3A25%3A54Z&se=2026-11-24T21%3A25%3A54Z&sr=b&sp=r&sig=Qe92xgT0csBebgehLk6VuXAVvjILCk5vEtnSAgMccj4%3D) ### 10) Power cycle the system Disconnect power to the system, manually or via KVM or using ipmitool. The purpose of this is to simulate a power cycle and confirm the unlock process is good. Easiest approach is to use ```plaintext sudo ipmitool power cycle ``` This will power cycle it from the prompt as shown below ![](https://cdn.document360.io/b9aab0c4-36d0-4616-9673-30b661455571/Images/Documentation/image(138).png?sv=2026-02-06&spr=https&st=2026-11-24T20%3A25%3A54Z&se=2026-11-24T21%3A25%3A54Z&sr=b&sp=r&sig=Lyi%2Fn0k2pmZxEzwi%2BGk1OLWa1%2FcRvovQqPvJ7lTEcZI%3D) ### 11) Wait for the system to boot At most takes 5 minutes, usually less. ### 12) Confirm all disks are locked As a new password was set, the system is unable to unlock the disks automatically (using a default password) Confirm disks are locked with ```plaintext fmadiocli "show disk status" ``` All disks should be locked ![](https://cdn.document360.io/b9aab0c4-36d0-4616-9673-30b661455571/Images/Documentation/image(141).png?sv=2026-02-06&spr=https&st=2026-11-24T20%3A25%3A54Z&se=2026-11-24T21%3A25%3A54Z&sr=b&sp=r&sig=2eIx8vD1T8PhQl52uJVWIBpYebLhWXQ%2FSLH69c3JQ0Q%3D) ### 13) Unlock the disks Unlock the disk using ```plaintext fmadiocli "config disk unlock" ``` Entering the password from step 7) ![](https://cdn.document360.io/b9aab0c4-36d0-4616-9673-30b661455571/Images/Documentation/image(153).png?sv=2026-02-06&spr=https&st=2026-11-24T20%3A25%3A54Z&se=2026-11-24T21%3A25%3A54Z&sr=b&sp=r&sig=4cEsQKD5vXGGudH8lC%2BsGKsRCyzXLoB9RR5slQVRKwM%3D) After running the unlock confirm the disks are unlocked ```plaintext fmadiocli "show disk status" ``` ![](https://cdn.document360.io/b9aab0c4-36d0-4616-9673-30b661455571/Images/Documentation/image(157).png?sv=2026-02-06&spr=https&st=2026-11-24T20%3A25%3A54Z&se=2026-11-24T21%3A25%3A54Z&sr=b&sp=r&sig=bIeRjXT9%2FwtY3m%2Fi0I%2FtJhfOGOThtxTrYNpzXS4Efw4%3D) ### 14) Warm reboot the Do a warm reboot of the system. Warm reboots do not clear the lock setting of the disks. e.g. the disks remain unlocked during a warm reboot. Reboot command ```plaintext sudo reboot ``` ### 15) On reboot Confirm the disks are all still unlocked ```plaintext fmadiocli "show disk status" ``` ![](https://cdn.document360.io/b9aab0c4-36d0-4616-9673-30b661455571/Images/Documentation/image(144).png?sv=2026-02-06&spr=https&st=2026-11-24T20%3A25%3A54Z&se=2026-11-24T21%3A25%3A54Z&sr=b&sp=r&sig=KdKSCIOCl%2BQclx7Z07A6lkVFF40t%2Fdw9Xh1ZukCycKk%3D) ### 16) Finished And the system is ready for capture. ### Operating After disks are initially setup, only steps 11) to 16) are required to unlock the disks and start capturing.