Re: root backup-reformat-restore

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 18.11.2016 02:52, Hugo Mills wrote:
On Fri, Nov 18, 2016 at 02:38:25AM +0200, Marcus Sundman wrote:
The FAQ says that "the best solution for small devices (under about
16 GB) is to reformat the FS with the --mixed option to mkfs.btrfs".

OK. Does anyone have any good suggestions for doing that with an
existing / partition (which has special files and whatnot)?

I assume a backup-restore cycle is needed, but with which program(s)?
  - If you don't have (or don't care about) any snapshots, then
     - if you can mount both the old and the new FS at the same time
        - mv

It's the same partition, so I probably won't have the new FS there at the same time.

     - else, if you want to replace the old FS with the new
        - tar to a file elsewhere, and untar later

Can tar really preserve all special files' attributes? (I have separate partitions for /boot and /home, but the rest is in /)

Thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux