
On Sat, Jan 18, 2020 at 01:41:05PM +1100, Andrew Greig wrote:
alg@andrewg:~$ sudo cat /etc/fstab [sudo] password for alg: # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> # / was on /dev/sda3 during installation UUID=2dfcd965-625b-47d5-a267-b02276320922 / btrfs defaults,subvol=@ 0 1 # /home was on /dev/sda3 during installation UUID=2dfcd965-625b-47d5-a267-b02276320922 /home btrfs defaults,subvol=@home 0 2 # swap was on /dev/sda2 during installation UUID=b2c6d1c4-4b94-4171-954e-9f5d56704514 none swap sw 0 0 alg@andrewg:~$
Are these two following commands OK to apply to drives that were balanced previously and hold data?
sudo btrfs device add -f /dev/sdc1 /data
sudo btrfs ballance start -dconvert=raid1 -mconvert=raid1 /data
No, don't run any of those commands, especially the 'btrfs add' command - you will destroy your existing data array if you run that. Run blkid to list all attached block devices. figure out which one of them is your data array and add an entry if you can't figure out which is the correct one, reply and include blkid's output.
and will issuing those commands write that into fstab?
no. craig -- craig sanders <cas@taz.net.au> BOFH excuse #376: Budget cuts forced us to sell all the power cords for the servers.