niedz., 21 kwi 2019 o 21:10 stephen Turner
<stephen.n.turner_AT_gmail.com> napisał(a):
>
> I am an amateur here and follow mostly to learn from you all, but I did like some of the ideas in btrfs.
my tricks with btrfs (no partitions):
dd if=/dev/zero of=/dev/sda bs=4096
mkfs.btrfs -L dev_sda /dev/sda
mount /dev/sda /mnt
cd /mnt
btrfs subvolume create __active
btrfs subvolume create __active/rootvol
btrfs subvolume create __active/usr
btrfs subvolume create __active/home
btrfs subvolume create __active/var
btrfs subvolume create __snapshots
cd /
umount /mnt
mount -o subvol=__active/rootvol /dev/sda /mnt
mkdir /mnt/{usr,home,var}
mount -o subvol=__active/usr /dev/sda /mnt/usr
mount -o subvol=__active/home /dev/sda /mnt/home
mount -o subvol=__active/var /dev/sda /mnt/var
# /etc/fstab
UUID=ID / btrfs rw,relative,space_cache,subvol=__active/rootvol 0 0
UUID=ID /usr btrfs rw,relative,space_cache,subvol=__active/usr 0 0
UUID=ID /home btrfs rw,relative,space_cache,subvol=__active/home 0 0
UUID=ID /var btrfs rw,relative,space_cache,subvol=__active/var 0 0
Received on Sun Apr 21 2019 - 21:19:40 CEST
This archive was generated by hypermail 2.3.0
: Sun Apr 21 2019 - 23:24:09 CEST