Dohub Dohub Docs

Quản trị viên

DirectPV discover & init

Khám phá ổ đĩa raw và khởi tạo cho DirectPV (xóa dữ liệu ổ).

Cảnh báo: Init drives format và xóa toàn bộ dữ liệu trên ổ được chọn. Chỉ chọn ổ dành riêng cho DirectPV, không phải OS disk.
Discover

Discover

  1. Admin → Overall → mục DirectPV discover.
  2. Discover — chạy kubectl directpv discover, hiển thị bảng ổ: Name, Size, Make, FS, ID.
  3. Cột Select — toggle yes / no cho từng ổ cần init.

Init

Init confirm
  1. Init drives — modal Initialize DirectPV drives?
  2. Yes, init drives — chạy kubectl directpv init … --dangerous.

Sau init, StorageClass directpv-min-io sẵn sàng cho PVC drive/user.

CLI tương đương

kubectl directpv discover --output-file /tmp/directpv-drives.yaml
# chỉnh selected: true
kubectl directpv init /tmp/directpv-drives.yaml --dangerous