Is there an auto-dismount in veracrypt or should I always unmount veracrypt volumes manually before shutting down to prevent a broken filesystem/container?
I found the answer for Windows in the veracrypt FAQ, but not for Linux / Ubuntu.
Is there an auto-dismount in veracrypt or should I always unmount veracrypt volumes manually before shutting down to prevent a broken filesystem/container?
I found the answer for Windows in the veracrypt FAQ, but not for Linux / Ubuntu.
How can I list all enabled
services from systemctl
?
I know running systemctl
command by itself lists all services, but I would like to only get the enabled
ones.
i don't understand where the second data "container" comes from:
ocean@nas:/mnt$ sudo btrfs filesystem df /
Data, RAID1: total=3.00GiB, used=1.70GiB
Data, single: total=1.00GiB, used=0.00B <-- this one
System, RAID1: total=32.00MiB, used=16.00KiB
Metadata, RAID1: total=1.00GiB, used=73.86MiB
GlobalReserve, single: total=32.00MiB, used=0.00B
how can i find out where this comes from?
It suddenly appeared after balancing my drives:
new linux on btrfs filesystem, with two unbalanced hdds:
ocean@nas:/mnt$ sudo btrfs filesystem df /
Data, single: total=2.01GiB, used=1.70GiB
System, DUP: total=8.00MiB, used=16.00KiB
Metadata, DUP: total=1.00GiB, used=72.38MiB
GlobalReserve, single: total=32.00MiB, used=0.00B
then i balanced the btrfs:
ocean@nas:/mnt$ sudo btrfs balance start -dconvert=raid1 -mconvert=raid1 /
Done, had to relocate 5 out of 5 chunks
output after balacing:
ocean@nas:/mnt$ sudo btrfs filesystem show
Label: 'hddArray1' uuid: 925b7c82-f7da-4eda-89ce-990cc63f53ad
Total devices 2 FS bytes used 1.77GiB
devid 1 size 3.63TiB used 4.03GiB path /dev/sda3
devid 2 size 3.64TiB used 5.03GiB path /dev/sdb
and (as above):
ocean@nas:/mnt$ sudo btrfs filesystem df /
Data, RAID1: total=3.00GiB, used=1.70GiB
Data, single: total=1.00GiB, used=0.00B <-- this one
System, RAID1: total=32.00MiB, used=16.00KiB
Metadata, RAID1: total=1.00GiB, used=73.86MiB
GlobalReserve, single: total=32.00MiB, used=0.00B
and:
ocean@nas:/mnt$ sudo btrfs device usage -g /
/dev/sda3, ID: 1
Device size: 3717.55GiB
Data,RAID1: 3.00GiB
Metadata,RAID1: 1.00GiB
System,RAID1: 0.03GiB
Unallocated: 3713.52GiB
/dev/sdb, ID: 2
Device size: 3726.02GiB
Data,single: 1.00GiB
Data,RAID1: 3.00GiB
Metadata,RAID1: 1.00GiB
System,RAID1: 0.03GiB
Unallocated: 3720.99GiB
Thanks!
When I add a device to a btrfs sub-volume with
btrfs device add /dev/sdb /path/to/subvolume
is the added device then only used for the sub-volume or is it used by the whole file-system ?
Or the question in the other way: Is it possible to add a device only to a sub-volume?
thanks!