[lkml]   [2008]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: The ext3 way of journalling
    On Tue, 08 Jan 2008 22:21:02 EST, Kyle Moffett said:

    > lvcreate -s -n "${VOLUME}-snap" "${VG}/${VOLUME}"

    > Basically you can fsck the offline snapshot in the background.

    Something the lvcreate manpage is specifically not clear about is:

    Does this create a snapshot of the *disk* at that moment, or does it capture
    "disk plus still-to-be-written blocks in the cache"? (Phrased differently, does
    it Do The Right Thing regarding "blocks queued before lvcreate" and "blocks
    queued for write after lvcreate")?

    If the snapshot doesn't capture the blocks queued but still unwritten by
    kjournald and similar, then you're still hitting the same old problems that
    you always get when you fsck an "active disk".
    [unhandled content-type:application/pgp-signature]
     \ /
      Last update: 2008-01-09 08:59    [W:0.020 / U:122.436 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site