github.com/coreos/rocket@v1.30.1-0.20200224141603-171c416fac02/Documentation/devel/on-disk-format.md (about) 1 On disk format 2 ============== 3 4 The data directory is `/var/lib/rkt`, unless configured otherwise. 5 For details, see [the `paths` kind in configuration documentation][rktkind-paths]. 6 The `--dir` command line option can be used to change this location. 7 8 #### CAS database 9 10 The CAS database is stored in `/var/lib/rkt/cas/db`. 11 The database schema can be migrated to newer versions ([#706][rkt-706]). 12 13 #### CAS 14 15 The CAS also uses other directories in `/var/lib/rkt/cas/`. 16 To ensure stability for the CAS, we need to make sure we don't remove any of those directories or make any destructive changes to them. 17 Future version of rkt will retain compatibility with older CAS versions. 18 19 #### Pods 20 21 The pods are stored in `/var/lib/rkt/pods/` as explained in [Life-cycle of a pod][pod-lifecycle] 22 23 The stability of prepared and exited pods is desirable, but not as critical as the CAS. 24 25 #### Configuration 26 27 The [configuration][configuration] on-disk format is documented separately. 28 29 30 [configuration]: ../configuration.md 31 [pod-lifecycle]: pod-lifecycle.md 32 [rkt-706]: https://github.com/rkt/rkt/issues/706 33 [rktkind-paths]: ../configuration.md#rktkind-paths