All of lore.kernel.org
 help / color / mirror / Atom feed
* Announcing btrfs-dedupe 1.1.0
@ 2017-01-08 16:57 James Pharaoh
       [not found] ` <a665ce04-b168-0783-baf2-d32a4679aa0a@mailb.org>
  2017-01-13 12:56 ` Robert Krig
  0 siblings, 2 replies; 6+ messages in thread
From: James Pharaoh @ 2017-01-08 16:57 UTC (permalink / raw)
  To: linux-btrfs

Hi everyone,

I'm pleased to announce a new version of my btrfs-dedupe tool, written 
in rust, available here:

http://btrfs-dedupe.com/

Binary packages built on ubuntu (probably will work elsewhere, but 
haven't tried this), are available at:

https://dist.wellbehavedsoftware.com/btrfs-dedupe/

This version is considered ready for production use. It maintains a 
compressed database of the filesystem state, and it tracks file 
metadata, hashes file contents, and the extent-map contents, in order to 
work out what needs to be deduplicated.

This is a whole-file deduplication tool, similar to bedup, but since it 
is written in Rust, and designed to work with the dedupe ioctl, I think 
it's more suitable for production use.

As normal for open source, this comes without any warranty etc, but the 
only updates are performed via the defragment and deduplication ioctls, 
and so assuming they work correctly then this should not cause any 
corruption.

Please feel free to contact me with any questions/problems.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Announcing btrfs-dedupe 1.1.0
       [not found] ` <a665ce04-b168-0783-baf2-d32a4679aa0a@mailb.org>
@ 2017-01-08 22:04   ` James Pharaoh
  0 siblings, 0 replies; 6+ messages in thread
From: James Pharaoh @ 2017-01-08 22:04 UTC (permalink / raw)
  To: j; +Cc: linux-btrfs

It's supposed to be public! Will have to look into that....

In any case, it's also on github here:

https://github.com/wellbehavedsoftware/btrfs-dedupe

James

On 08/01/17 22:22, j@mailb.org wrote:
> hey,
>
> On 01/08/2017 05:57 PM, James Pharaoh wrote:
>> As normal for open source
>
> where is the source?
>
> https://gitlab.wellbehavedsoftware.com/well-behaved-software/btrfs-dedupe does
> not have a way to browse the code
>
> git clone https://gitlab.wellbehavedsoftware.com/well-behaved-software/btrfs-dedupe
>
> asks for Username for 'https://gitlab.wellbehavedsoftware.com':
>
> the site has a tooltip suggesting otherwise:
> <span class="visibility-icon has-tooltip" data-container="body" title="Public -
> The project can be cloned without any authentication.">
>
> j
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Announcing btrfs-dedupe 1.1.0
  2017-01-08 16:57 Announcing btrfs-dedupe 1.1.0 James Pharaoh
       [not found] ` <a665ce04-b168-0783-baf2-d32a4679aa0a@mailb.org>
@ 2017-01-13 12:56 ` Robert Krig
  2017-01-13 19:08   ` James Pharaoh
  1 sibling, 1 reply; 6+ messages in thread
From: Robert Krig @ 2017-01-13 12:56 UTC (permalink / raw)
  To: James Pharaoh, linux-btrfs

Hi, could you include some build instructions for people that are
unfamiliar with compiling rust code?


On 08.01.2017 17:57, James Pharaoh wrote:
> Hi everyone,
>
> I'm pleased to announce a new version of my btrfs-dedupe tool, written
> in rust, available here:
>
> http://btrfs-dedupe.com/
>
> Binary packages built on ubuntu (probably will work elsewhere, but
> haven't tried this), are available at:
>
> https://dist.wellbehavedsoftware.com/btrfs-dedupe/
>
> This version is considered ready for production use. It maintains a
> compressed database of the filesystem state, and it tracks file
> metadata, hashes file contents, and the extent-map contents, in order
> to work out what needs to be deduplicated.
>
> This is a whole-file deduplication tool, similar to bedup, but since
> it is written in Rust, and designed to work with the dedupe ioctl, I
> think it's more suitable for production use.
>
> As normal for open source, this comes without any warranty etc, but
> the only updates are performed via the defragment and deduplication
> ioctls, and so assuming they work correctly then this should not cause
> any corruption.
>
> Please feel free to contact me with any questions/problems.
> -- 
> 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] 6+ messages in thread

* Re: Announcing btrfs-dedupe 1.1.0
  2017-01-13 12:56 ` Robert Krig
@ 2017-01-13 19:08   ` James Pharaoh
  2017-01-26 17:16     ` Robert Krig
  0 siblings, 1 reply; 6+ messages in thread
From: James Pharaoh @ 2017-01-13 19:08 UTC (permalink / raw)
  To: Robert Krig, linux-btrfs

Did you try the binaries? I can build binaries for other platforms if 
you let me know what you are interested in.

In any case, you'll need to install rust:

https://www.rust-lang.org/install.html

Which will tell you to do this on Linux, and presumably all unix platforms:

curl https://sh.rustup.rs -sSf | sh

You can either log in and out or reload your profile to get the 
installed software in your PATH:

source ~/.profile

Then you can checkout btrfs-dedupe, eg from my gitlab public https, I'll 
assume you have git installed:

git clone 
https://gitlab.wellbehavedsoftware.com/well-behaved-software/btrfs-dedupe.git

Then cd in and build using cargo:

cd btrfs-dedupe
cargo build --release

There is basically just one binary which will end up in 
target/release/btrfs-dedupe.

I'll add these instructions to the README later.

James

On 13/01/17 13:56, Robert Krig wrote:
> Hi, could you include some build instructions for people that are
> unfamiliar with compiling rust code?
>
>
> On 08.01.2017 17:57, James Pharaoh wrote:
>> Hi everyone,
>>
>> I'm pleased to announce a new version of my btrfs-dedupe tool, written
>> in rust, available here:
>>
>> http://btrfs-dedupe.com/
>>
>> Binary packages built on ubuntu (probably will work elsewhere, but
>> haven't tried this), are available at:
>>
>> https://dist.wellbehavedsoftware.com/btrfs-dedupe/
>>
>> This version is considered ready for production use. It maintains a
>> compressed database of the filesystem state, and it tracks file
>> metadata, hashes file contents, and the extent-map contents, in order
>> to work out what needs to be deduplicated.
>>
>> This is a whole-file deduplication tool, similar to bedup, but since
>> it is written in Rust, and designed to work with the dedupe ioctl, I
>> think it's more suitable for production use.
>>
>> As normal for open source, this comes without any warranty etc, but
>> the only updates are performed via the defragment and deduplication
>> ioctls, and so assuming they work correctly then this should not cause
>> any corruption.
>>
>> Please feel free to contact me with any questions/problems.
>> --
>> 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] 6+ messages in thread

* Re: Announcing btrfs-dedupe 1.1.0
  2017-01-13 19:08   ` James Pharaoh
@ 2017-01-26 17:16     ` Robert Krig
  2017-01-26 17:44       ` James Pharaoh
  0 siblings, 1 reply; 6+ messages in thread
From: Robert Krig @ 2017-01-26 17:16 UTC (permalink / raw)
  To: James Pharaoh, linux-btrfs

I've tried your binaries, which also seem to work fine on Debian
Stretch. (At least using the latest ubuntu xenial binary).

I've only run into one little issue, btrfs-dedupe will abort with
"Serialization error: invalid value: Path contains invalid UTF-8
characters at line 0 column 0" if I run it on some large top level
directories. Unfortunately it doesn't list which directory it has a
problem with. Wouldn't it be better if btrfs-dedupe simply ignores
directories it has a problem with, and continues with the rest?


On 13.01.2017 20:08, James Pharaoh wrote:
> Did you try the binaries? I can build binaries for other platforms if
> you let me know what you are interested in.
>
> In any case, you'll need to install rust:
>
> https://www.rust-lang.org/install.html
>
> Which will tell you to do this on Linux, and presumably all unix
> platforms:
>
> curl https://sh.rustup.rs -sSf | sh
>
> You can either log in and out or reload your profile to get the
> installed software in your PATH:
>
> source ~/.profile
>
> Then you can checkout btrfs-dedupe, eg from my gitlab public https,
> I'll assume you have git installed:
>
> git clone
> https://gitlab.wellbehavedsoftware.com/well-behaved-software/btrfs-dedupe.git
>
> Then cd in and build using cargo:
>
> cd btrfs-dedupe
> cargo build --release
>
> There is basically just one binary which will end up in
> target/release/btrfs-dedupe.
>
> I'll add these instructions to the README later.
>
> James
>
> On 13/01/17 13:56, Robert Krig wrote:
>> Hi, could you include some build instructions for people that are
>> unfamiliar with compiling rust code?
>>
>>
>> On 08.01.2017 17:57, James Pharaoh wrote:
>>> Hi everyone,
>>>
>>> I'm pleased to announce a new version of my btrfs-dedupe tool, written
>>> in rust, available here:
>>>
>>> http://btrfs-dedupe.com/
>>>
>>> Binary packages built on ubuntu (probably will work elsewhere, but
>>> haven't tried this), are available at:
>>>
>>> https://dist.wellbehavedsoftware.com/btrfs-dedupe/
>>>
>>> This version is considered ready for production use. It maintains a
>>> compressed database of the filesystem state, and it tracks file
>>> metadata, hashes file contents, and the extent-map contents, in order
>>> to work out what needs to be deduplicated.
>>>
>>> This is a whole-file deduplication tool, similar to bedup, but since
>>> it is written in Rust, and designed to work with the dedupe ioctl, I
>>> think it's more suitable for production use.
>>>
>>> As normal for open source, this comes without any warranty etc, but
>>> the only updates are performed via the defragment and deduplication
>>> ioctls, and so assuming they work correctly then this should not cause
>>> any corruption.
>>>
>>> Please feel free to contact me with any questions/problems.
>>> -- 
>>> 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
>>
> -- 
> 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] 6+ messages in thread

* Re: Announcing btrfs-dedupe 1.1.0
  2017-01-26 17:16     ` Robert Krig
@ 2017-01-26 17:44       ` James Pharaoh
  0 siblings, 0 replies; 6+ messages in thread
From: James Pharaoh @ 2017-01-26 17:44 UTC (permalink / raw)
  To: Robert Krig, linux-btrfs

Yeah, ok, can you create an account on my souce tracker and create an 
issue for this please?

https://gitlab.wellbehavedsoftware.com/well-behaved-software/btrfs-dedupe

I am fairly sure I can fix this without too much difficulty. ;-)

James

On 26/01/17 18:16, Robert Krig wrote:
> I've tried your binaries, which also seem to work fine on Debian
> Stretch. (At least using the latest ubuntu xenial binary).
>
> I've only run into one little issue, btrfs-dedupe will abort with
> "Serialization error: invalid value: Path contains invalid UTF-8
> characters at line 0 column 0" if I run it on some large top level
> directories. Unfortunately it doesn't list which directory it has a
> problem with. Wouldn't it be better if btrfs-dedupe simply ignores
> directories it has a problem with, and continues with the rest?
>
>
> On 13.01.2017 20:08, James Pharaoh wrote:
>> Did you try the binaries? I can build binaries for other platforms if
>> you let me know what you are interested in.
>>
>> In any case, you'll need to install rust:
>>
>> https://www.rust-lang.org/install.html
>>
>> Which will tell you to do this on Linux, and presumably all unix
>> platforms:
>>
>> curl https://sh.rustup.rs -sSf | sh
>>
>> You can either log in and out or reload your profile to get the
>> installed software in your PATH:
>>
>> source ~/.profile
>>
>> Then you can checkout btrfs-dedupe, eg from my gitlab public https,
>> I'll assume you have git installed:
>>
>> git clone
>> https://gitlab.wellbehavedsoftware.com/well-behaved-software/btrfs-dedupe.git
>>
>> Then cd in and build using cargo:
>>
>> cd btrfs-dedupe
>> cargo build --release
>>
>> There is basically just one binary which will end up in
>> target/release/btrfs-dedupe.
>>
>> I'll add these instructions to the README later.
>>
>> James
>>
>> On 13/01/17 13:56, Robert Krig wrote:
>>> Hi, could you include some build instructions for people that are
>>> unfamiliar with compiling rust code?
>>>
>>>
>>> On 08.01.2017 17:57, James Pharaoh wrote:
>>>> Hi everyone,
>>>>
>>>> I'm pleased to announce a new version of my btrfs-dedupe tool, written
>>>> in rust, available here:
>>>>
>>>> http://btrfs-dedupe.com/
>>>>
>>>> Binary packages built on ubuntu (probably will work elsewhere, but
>>>> haven't tried this), are available at:
>>>>
>>>> https://dist.wellbehavedsoftware.com/btrfs-dedupe/
>>>>
>>>> This version is considered ready for production use. It maintains a
>>>> compressed database of the filesystem state, and it tracks file
>>>> metadata, hashes file contents, and the extent-map contents, in order
>>>> to work out what needs to be deduplicated.
>>>>
>>>> This is a whole-file deduplication tool, similar to bedup, but since
>>>> it is written in Rust, and designed to work with the dedupe ioctl, I
>>>> think it's more suitable for production use.
>>>>
>>>> As normal for open source, this comes without any warranty etc, but
>>>> the only updates are performed via the defragment and deduplication
>>>> ioctls, and so assuming they work correctly then this should not cause
>>>> any corruption.
>>>>
>>>> Please feel free to contact me with any questions/problems.
>>>> --
>>>> 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
>>>
>> --
>> 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] 6+ messages in thread

end of thread, other threads:[~2017-01-26 17:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-08 16:57 Announcing btrfs-dedupe 1.1.0 James Pharaoh
     [not found] ` <a665ce04-b168-0783-baf2-d32a4679aa0a@mailb.org>
2017-01-08 22:04   ` James Pharaoh
2017-01-13 12:56 ` Robert Krig
2017-01-13 19:08   ` James Pharaoh
2017-01-26 17:16     ` Robert Krig
2017-01-26 17:44       ` James Pharaoh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.