Skip to contentSkip to conversation

checkums when converting from ext[234] to Btrfs

DISCUSSION pubny 2 participants 3 messages Jan 4, 2012 – Jan 5, 2012 1 message not in the archive Btrfs file system

lore
Share & tools
lore

pubny

author
#1 lore raw
In reply to a message not in the archive

Hi,

Could someone help me with a clarification whether the btrfs-convert tool creates checksums on blocks of the existing ext[234] filesystem?

Any experiences how the size and the filesystem utilization (used vs. total diskspace) impacts the time of conversion?

Thanks,
G=C3=A1bor

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" = in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
Quoted 2 lines · pubny

Could someone help me with a clarification whether the btrfs-convert tool creates checksums on blocks of the existing ext[234] filesystem?

yes, it does checksum by default and you can switch it off with the '-d' option.

Quoted 2 lines

Any experiences how the size and the filesystem utilization (used vs. total diskspace) impacts the time of conversion?

I don't have numbers but it needs to go through extX metadata, read and checksum data blocks, then write btrfs metadata. Nothing where a significant time could be saved (except switching off the checksums).

david

author
#3 lore raw

Thanks David. That's very helpful.

Regards,
G=C3=A1bor

-----Original Message-----
=46rom: David Sterba <[email protected]>
Reply-to: [email protected]
To: pubny <[email protected]>
Cc: [email protected]
Subject: Re: checkums when converting from ext[234] to Btrfs
Date: Thu, 5 Jan 2012 16:45:41 +0100
Mailer: Mutt/1.4.2.2i

Quoted 2 lines · pubny

Could someone help me with a clarification whether the btrfs-convert tool creates checksums on blocks of the existing ext[234] filesystem?

yes, it does checksum by default and you can switch it off with the '-d= '
option.

Quoted 2 lines

Any experiences how the size and the filesystem utilization (used vs. total diskspace) impacts the time of conversion?

I don't have numbers but it needs to go through extX metadata, read and checksum data blocks, then write btrfs metadata. Nothing where a significant time could be saved (except switching off the checksums).

david

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" = in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html