Lightning Talks: BTRFS |
Links | RSS | |
Author | ArgentumCation | Posts | Notes |
---|---|---|---|
License | CC-BY-NC-SA 4.0+ | Updated |
/
, /home
) - make a goddamn backup cause fucking with partitions is just asking for accidental data loss# e2fsck -fvy /dev/sdx
# btrfs-convert -p -L --uuid copy -O compress /dev/sdx
to do the actual conversion - if you’re low on space add -n
- if you don’t have an FS label on this partition, you can add a label after -L
- if something went wrong do # btrfs-convert -r /dev/sdx
- Now let’s mount it with # mount /dev/sdx /mnt/<mount point>
- for example if this is your root partition, mount it to /mnt
- if it worked, run # btrfs subvolume delete /mnt/<mount point>/ext2_saved
to yeet reversal data and save some space - Now let’s move everything into subvolumes to make backups and stuff easier - cd over to where you mounted and run - # btrfs subvol create @<subvol name>
- if you have /home
on the same partition as root make a @home
subvolume too. - so for a root partition do @
, - # mv * @<subvol name>
- you want to do this in a bottom up way, ie move /home/*
to /@home
before you move /
to @
-[!todo] TODO
- btrbk
- in place conversion
- subvol layout
- dual Linux boot
- dual boot with windows
- automated package manager snapshots
- Swapfiles
- zfs comparison