RAID (0/1/4/5/6/10/linear, mdadm 0.90 e 1.x, degradado) e LVM2 remontados no disco virtual

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Lucas RayanandClaude Sonnet 5.5 committed 2026-10-18 23:24:41 -03:00
1 parent c014526761
commit 5d45273e0d
11 files changed
+1777 -6

No files matched your search

+1 -1
View File
@@ -298,7 +298,7 @@ fn build_ranges(
let free = merge_extents(free.to_vec());
let mut out: Vec<Extent> = vec![];
for p in &layout.partitions {
if p.encrypted.is_some() {
if p.encrypted.is_some() || opts.covered.contains(&p.start) {
continue;
}
let whole = Extent::new(p.start, p.len.min(disk_size.saturating_sub(p.start)));