Image cache ignores --disk-size

Đang mở
#416 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
infrastructure

Hướng nghiên cứu

The payload names no source files, so start by finding where bcvk libvirt run handles --disk-size and the cached image disk. Reproduce with the steps in the issue: run once with --filesystem btrfs, then again with --disk-size 40G, and confirm the existing qcow is reused. Done means a second run with a larger --disk-size yields a disk of that size, or the cache is bypassed or resized when the requested size differs.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

In a nutshell:

  1. bcvk libvirt run --filesystem btrfs quay.io/fedora/fedora-bootc:44
  2. Realize the above uses 20G disk by default and you filled it up, oops
  3. bcvk libvirt run --filesystem btrfs --disk-size 40G quay.io/fedora/fedora-bootc:44

Results in reusing the original qcow and the disk is still 20G despite explicit --disk-size 40G.

Ngôn ngữ chính
Rust
Star
142
Fork
40
Merge trung bình
2 ngày 22 giờ
Pull request đã merge (30 ngày)
10

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

  • Không có Dockerfile hay tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của bootc-dev/bcvk

Tất cả issue của bootc-dev/bcvk

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.