Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storaged showing incorrect size of btrfs Raid1 (mirror) volume #20624

Open
poVoq opened this issue Jun 19, 2024 · 2 comments
Open

Storaged showing incorrect size of btrfs Raid1 (mirror) volume #20624

poVoq opened this issue Jun 19, 2024 · 2 comments
Labels

Comments

@poVoq
Copy link

poVoq commented Jun 19, 2024

Explain what happens

I created a btrfs raid1 mirror volume out of a 8tb + 4tb + 2tb + 2tb HDDs. This showed the correct total usable size as 8tb in Cockpit's storaged view.

However in order to replace the two 2tb drives with a second 4tb drive I removed the two discs resulting in a temporarily unbalanced mirror raid of a 8tb and a 4tb disk.

This should in theory only have 4tb available space as it can't mirror more than that on the other 8tb disk.

However Storaged actually shows this Raid1 mirror volume now as having 6tb total storage, which seems obviously wrong unless I am missing something.

Version of Cockpit

316

Where is the problem in Cockpit?

Storage

Server operating system

Fedora

Server operating system version

40

What browsers are you using?

Firefox

System log

No response

@poVoq poVoq added the bug label Jun 19, 2024
@jelly
Copy link
Member

jelly commented Jun 20, 2024

Out of interest, what does btrfs filesystem show look like?

@poVoq
Copy link
Author

poVoq commented Jun 20, 2024

I have since installed the new 4tb disk and thus can't really test the issue any longer as it is now back to reporting the total of 8tb as expected with 8tb + 4tb + 4tb disks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants