Hirdetés

Új hozzászólás Aktív témák

  • fecus

    őstag

    válasz stopperos #135 üzenetére

    Találtam egy megoldást. Nem hiszem, hogy veszélytelen lett volna, de úgy néz ki sikerült:
    You need to stop all the services on the box that could be writing to the directories affected.
    Then you need to move the directories out of the way. mv /var /var.old
    Now force zfs to mount the directories: zfs mount -a For each directory affected, copy the old files over the new rsync -avz --delete /var.old/* /var/
    Cross your fingers (press your thumbs, or whatever culturally appropriate gesture fits)
    Reboot

    Nem állítottam le egyetlen service-t sem. Kimentettem a tartalmakat. Kitöröltem mindent a 3 mappából. Rögtön kiadtam a mount parancsot. Ez akkor rendben lefutott. Aztán jött az upgrade. Lefutott hiba nélkül. Visszamásoltam a tartalmakat. Reboot.
    Most megy.
    Az eredeti megoldás azért nem ment, mert az apt rögtön teleírta a cache-t és a log-ot.

Új hozzászólás Aktív témák