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
- Admin → Overall → mục DirectPV discover.
- Discover — chạy
kubectl directpv discover, hiển thị bảng ổ: Name, Size, Make, FS, ID. - Cột Select — toggle
yes/nocho từng ổ cần init.
Init
- Init drives — modal Initialize DirectPV drives?
- 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