* btrfs-tools backport for Debian Lenny
@ 2010-02-17 15:32 Martin Steigerwald
2010-02-17 17:21 ` Miguel F Mascarenhas Sousa Filipe
0 siblings, 1 reply; 4+ messages in thread
From: Martin Steigerwald @ 2010-02-17 15:32 UTC (permalink / raw)
To: linux-btrfs; +Cc: Daniel Baumann, backports-users
[-- Attachment #1: Type: text/plain, Size: 1303 bytes --]
Cc'd backports-users mailing list, cc'd package maintainer Daniel Baumann as
well.
Hi!
JFYI - most of you might prefer to run btrfs-tools from git -, I made a
btrfs-tools 0.19 backport for Debian Lenny from the package in Debian Squeeze
and put it online at:
http://people.teamix.net/~ms/debian/lenny-backports/btrfs-tools/
You can find discussion on sponsoring it here:
http://lists.backports.org/lurker-bpo/thread/20100217.143508.41736c9f.en.html
I think it won't work with the latest backports 2.6.30 kernel due to btrfs
format changes, I test it with a self compiled 2.6.32.3. A 2.6.32 for
backports org should be due soon and then my btrfs-tools backport might
appear in the bpo archive as well.
It basically works, but I am wondering it the RAID options work correctly. I
used:
mkfs.btrfs -d raid1 -m
raid1 /dev/mango1/homelokal1 /dev/mango2/homelokal2
on two 200 GiB logical volumes and get
mango:~# df -hT /mnt/zeit
Dateisystem Typ Größe Benut Verf Ben% Eingehängt auf
/dev/mapper/mango1-homelokal1
btrfs 400G 101M 400G 1% /mnt/zeit
Shouldn't that be 200GiB for a BTRFS Raid 1 setup?
Ciao,
--
Martin Steigerwald - team(ix) GmbH - http://www.teamix.de
gpg: 19E3 8D42 896F D004 08AC A0CA 1E10 C593 0399 AE90
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: btrfs-tools backport for Debian Lenny
2010-02-17 15:32 btrfs-tools backport for Debian Lenny Martin Steigerwald
@ 2010-02-17 17:21 ` Miguel F Mascarenhas Sousa Filipe
2010-02-17 17:22 ` Fwd: " Miguel F Mascarenhas Sousa Filipe
0 siblings, 1 reply; 4+ messages in thread
From: Miguel F Mascarenhas Sousa Filipe @ 2010-02-17 17:21 UTC (permalink / raw)
To: Martin Steigerwald; +Cc: Daniel Baumann, backports-users, linux-btrfs
[-- Attachment #1: Type: text/plain, Size: 1841 bytes --]
On Wed, Feb 17, 2010 at 3:32 PM, Martin Steigerwald <ms@teamix.de> wrote:
> Cc'd backports-users mailing list, cc'd package maintainer Daniel Baumann
> as
> well.
>
>
> Hi!
>
> JFYI - most of you might prefer to run btrfs-tools from git -, I made a
> btrfs-tools 0.19 backport for Debian Lenny from the package in Debian
> Squeeze
> and put it online at:
>
> http://people.teamix.net/~ms/debian/lenny-backports/btrfs-tools/
>
> You can find discussion on sponsoring it here:
>
>
> http://lists.backports.org/lurker-bpo/thread/20100217.143508.41736c9f.en.html
>
> I think it won't work with the latest backports 2.6.30 kernel due to btrfs
> format changes, I test it with a self compiled 2.6.32.3. A 2.6.32 for
> backports org should be due soon and then my btrfs-tools backport might
> appear in the bpo archive as well.
>
> It basically works, but I am wondering it the RAID options work correctly.
> I
> used:
>
> mkfs.btrfs -d raid1 -m
> raid1 /dev/mango1/homelokal1 /dev/mango2/homelokal2
>
> on two 200 GiB logical volumes and get
>
> mango:~# df -hT /mnt/zeit
> Dateisystem Typ Größe Benut Verf Ben% Eingehängt auf
> /dev/mapper/mango1-homelokal1
> btrfs 400G 101M 400G 1% /mnt/zeit
>
> Shouldn't that be 200GiB for a BTRFS Raid 1 setup?
>
>
this has been discussed several times on the list.
Since btrfs file level redundancy policy, the proper way for it to behave is
to show full physical capacity of the devices.
Usage will be correctly accounted, so if you write a 100MB file in that
raid1 FS tree
the used space will indicate 200MB of additional used space.
Regards,
> Ciao,
> --
> Martin Steigerwald - team(ix) GmbH - http://www.teamix.de
> gpg: 19E3 8D42 896F D004 08AC A0CA 1E10 C593 0399 AE90
>
--
Miguel Sousa Filipe
[-- Attachment #2: Type: text/html, Size: 2727 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Fwd: btrfs-tools backport for Debian Lenny
2010-02-17 17:21 ` Miguel F Mascarenhas Sousa Filipe
@ 2010-02-17 17:22 ` Miguel F Mascarenhas Sousa Filipe
2010-02-17 18:12 ` Martin Steigerwald
0 siblings, 1 reply; 4+ messages in thread
From: Miguel F Mascarenhas Sousa Filipe @ 2010-02-17 17:22 UTC (permalink / raw)
To: linux-btrfs
On Wed, Feb 17, 2010 at 3:32 PM, Martin Steigerwald <ms@teamix.de> wrot=
e:
>
> Cc'd backports-users mailing list, cc'd package maintainer Daniel Bau=
mann as
> well.
>
>
> Hi!
>
> JFYI - most of you might prefer to run btrfs-tools from git -, I made=
a
> btrfs-tools 0.19 backport for Debian Lenny from the package in Debian=
Squeeze
> and put it online at:
>
> http://people.teamix.net/~ms/debian/lenny-backports/btrfs-tools/
>
> You can find discussion on sponsoring it here:
>
> http://lists.backports.org/lurker-bpo/thread/20100217.143508.41736c9f=
=2Een.html
>
> I think it won't work with the latest backports 2.6.30 kernel due to =
btrfs
> format changes, I test it with a self compiled 2.6.32.3. A 2.6.32 for
> backports org should be due soon and then my btrfs-tools backport mig=
ht
> appear in the bpo archive as well.
>
> It basically works, but I am wondering it the RAID options work corre=
ctly. I
> used:
>
> mkfs.btrfs -d raid1 -m
> raid1 /dev/mango1/homelokal1 /dev/mango2/homelokal2
>
> on two 200 GiB logical volumes and get
>
> mango:~# df -hT /mnt/zeit
> Dateisystem =C2=A0 Typ =C2=A0 =C2=A0Gr=C3=B6=C3=9Fe Benut =C2=A0Verf =
Ben% Eingeh=C3=A4ngt auf
> /dev/mapper/mango1-homelokal1
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 btrfs =C2=A0 =C2=A0400G =C2=
=A0101M =C2=A0400G =C2=A0 1% /mnt/zeit
>
> Shouldn't that be 200GiB for a BTRFS Raid 1 setup?
>
this has been discussed several times on the list.
Since btrfs file level redundancy policy, the proper way for it to
behave is to show full physical capacity of the devices.
Usage will be correctly accounted, so if you write a 100MB file in
that raid1 FS tree
the used space will indicate 200MB of additional used space.
Regards,
--
Miguel Sousa Filipe
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Fwd: btrfs-tools backport for Debian Lenny
2010-02-17 17:22 ` Fwd: " Miguel F Mascarenhas Sousa Filipe
@ 2010-02-17 18:12 ` Martin Steigerwald
0 siblings, 0 replies; 4+ messages in thread
From: Martin Steigerwald @ 2010-02-17 18:12 UTC (permalink / raw)
To: linux-btrfs, Miguel F Mascarenhas Sousa Filipe
[-- Attachment #1: Type: Text/Plain, Size: 1700 bytes --]
Am Mittwoch 17 Februar 2010 schrieben Sie:
> On Wed, Feb 17, 2010 at 3:32 PM, Martin Steigerwald <ms@teamix.de>
wrote:
Leaving Cc to backports-users mailinglist and Debian package maintainer
dropped as its a technical BTRFS discussion.
> > Hi!
[...]
> > It basically works, but I am wondering it the RAID options work
> > correctly. I used:
> >
> > mkfs.btrfs -d raid1 -m
> > raid1 /dev/mango1/homelokal1 /dev/mango2/homelokal2
> >
> > on two 200 GiB logical volumes and get
> >
> > mango:~# df -hT /mnt/zeit
> > Dateisystem Typ Größe Benut Verf Ben% Eingehängt auf
> > /dev/mapper/mango1-homelokal1
> > btrfs 400G 101M 400G 1% /mnt/zeit
> >
> > Shouldn't that be 200GiB for a BTRFS Raid 1 setup?
>
> this has been discussed several times on the list.
Sorry, I admit I follow BTRFS irregularily and main point in my mail was
to announce the backport.
> Since btrfs file level redundancy policy, the proper way for it to
> behave is to show full physical capacity of the devices.
> Usage will be correctly accounted, so if you write a 100MB file in
> that raid1 FS tree
> the used space will indicate 200MB of additional used space.
Hmmm, that still doesn't match, cause I wrote a 100MiB file to the
partition:
mango:~# dd if=/dev/zero of=/mnt/zeit/ddimg bs=1M count=100
100+0 Datensätze ein
100+0 Datensätze aus
104857600 Bytes (105 MB) kopiert, 0,313594 s, 334 MB/s
Thus I should have get 200MiB used in df -h. Hmmm, maybe accurate size
reporting needs a newer BTRFS than in 2.6.32.3?
Ciao,
--
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-02-17 18:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-17 15:32 btrfs-tools backport for Debian Lenny Martin Steigerwald
2010-02-17 17:21 ` Miguel F Mascarenhas Sousa Filipe
2010-02-17 17:22 ` Fwd: " Miguel F Mascarenhas Sousa Filipe
2010-02-17 18:12 ` Martin Steigerwald
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox