public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
* Reproducible block structure
@ 2013-12-10  5:03 Jitesh Shah
  2013-12-10 13:32 ` Carlos Maiolino
  2013-12-10 13:42 ` Theodore Ts'o
  0 siblings, 2 replies; 4+ messages in thread
From: Jitesh Shah @ 2013-12-10  5:03 UTC (permalink / raw)
  To: linux-ext4

Hello all,
Assuming I have the latest ext4 system, I have a question ->
Scenario -> I have 5 HDDs on which I burn the same block image on.
These HDDs are usually mounted RO when used in production. For
upgrading, I connect each one to an isolated machine, mount it as RW
and run a script to update files (basically add, delete, modify
files).

Now, if the script is ran in the SAME way for all 5 HDDs, is it
guaranteed that these HDDs will be same at the block level too? (i.e.
block allocation/deallocation will follow the same pattern). Assume
single-core system with only one process modifying the HDD in
predetermined order.

If there is no way to provide such a guarantee in a default ext4
install, is there an ext4 option (ordered?) which can provide this
guarantee?

Why do I ask -> I am tinkering with the idea of block level
verification of images. If the above guarantees can be provided, I can
easily hash the raw HDD for verification purposes.

Thanks,
Jitesh

PS: I am not subscribed to the mailing list, so please include my id
in the response if your email client does not put it there already!

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

end of thread, other threads:[~2013-12-10 18:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-10  5:03 Reproducible block structure Jitesh Shah
2013-12-10 13:32 ` Carlos Maiolino
2013-12-10 13:42 ` Theodore Ts'o
2013-12-10 18:08   ` Jitesh Shah

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox