Skip to contentSkip to conversation

How to see raid level?!

DISCUSSION Felix Blanke 2 participants 4 messages Nov 1, 2010 Btrfs file system

lore
Share & tools
lore
#0 lore raw

Hi,

I saw some reports of ppl in this list who did a "btrfs fi df /path" and saw the raidlevel of the data, metadata etc.

How? :)

I'm using the git version of the btrfs progs and 2.6.36, but I don't see those informations.

Btrfs v0.19-35-g1b444cd-dirty

What am I doing wrong? :(

Regards,
Felix

#1 lore raw
Quoted 7 lines · Felix Blanke

Hi,

I saw some reports of ppl in this list who did a "btrfs fi df /path" and saw the raidlevel of the data, metadata etc.

How? :)

Quoted 7 lines

I'm using the git version of the btrfs progs and 2.6.36, but I don't see those informations.

Btrfs v0.19-35-g1b444cd-dirty

What am I doing wrong? :(

You didn't include the magic patch. :p

Raid level reporting was broken for a while, josef sent some patches recently that fixed it, which I saw in cmason's pull request for 2.6.37.

#2 lore raw

Ah, the magic one :)

Is that a patch for the kernel or the btrfs progs?

If you know where to get that patch it would be nice. It isn't an important issue but it would be nice to see if my home really uses raid1 for data :)

Regards,
FElix

Quoted 20 lines · cwillu

Date: Mon, 1 Nov 2010 04:33:30 -0600
From: cwillu <[email protected]>
To: Felix Blanke <[email protected]>
Cc: [email protected]
Subject: Re: How to see raid level?!

Quoted 13 lines · Felix Blanke

Hi,

I saw some reports of ppl in this list who did a "btrfs fi df /path" and saw the raidlevel of the data, metadata etc.

How? :)

I'm using the git version of the btrfs progs and 2.6.36, but I don't see those informations.

Btrfs v0.19-35-g1b444cd-dirty

Quoted 7 lines
Quoted 1 line

What am I doing wrong? :(

You didn't include the magic patch. :p

Raid level reporting was broken for a while, josef sent some patches recently that fixed it, which I saw in cmason's pull request for 2.6.37.

---end quoted text---

#3 lore raw
Quoted 7 lines · Felix Blanke

Ah, the magic one :)

Is that a patch for the kernel or the btrfs progs?

If you know where to get that patch it would be nice. It isn't an important issue but it would be nice to see if my home really uses raid1 for data :)

Kernel patch; c9996a22 Btrfs: fix the df ioctl to report raid types