Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Modify the Docker setup to enable erasure coding:

    Code Block
    languagepowershell
    docker run -p 9000:9000 -p 9001:9001 \
    -e "MINIO_ROOT_USER=YOUR_ACCESS_KEY" \
    -e "MINIO_ROOT_PASSWORD=YOUR_SECRET_KEY" \
    --name minio \
    -v /mnt/disk1:/data1 \
    -v /mnt/disk2:/data2 \
    -v /mnt/disk3:/data3 \
    -v /mnt/disk4:/data4 \
    minio/minio server /data{1...4} /data1 /data2 /data3 /data4
  2. Simulate a disk failure by stopping one volume:

    Code Block
    docker stop /mnt/disk1
  3. Test file uploads/downloads using the existing Spring Boot APIs to observe no data loss.

...