View Single Post
Old 07-01-2012, 10:46 AM   #86
eureka
but forgot what it's like
eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.
 
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
Quote:
Originally Posted by geekmaster View Post
You really should backup main while booted from diags. Booting from main actually WRITES to the main partition, and booting diags sometimes writes to the diags partition, which can corrupt a backup image if taken while files are open on it.
Main is mounted read-only and very few activites are remounting it to read-write. They are mostly upstart scripts which are executed in [first] boot sequence or on shutdown (i.e. not in time when KT is usable and accessible for SSH). Remounting is also done on OTA update (which is rare) or in some scripts, which should be invoked by user explicitly.

"Mounted read-only" means that no writes to main can happen, so it's OK and safe to dump main to /mnt/us (which is partition distinct from main) within SSH session and it will be resulted in consistent backup image.

It's also [obviously] OK and safe to boot into main, manually mount diags and dump diags to /mnt/us.

Just clarifying things.
eureka is offline   Reply With Quote