Hi,
I'm testing out btrfs on a new installation. I limited knowledge of btrfs and have done some reading. However, I seem to be missing a very simple concept. How to setup/mount the volumes.
I created the raid1:
Then the mount point and mounted:
But I should be creating volumes, right?
I ran:
But now
Something tells me there is a correct way to do this and this isn't it.
I did read the wiki on btrfs, but it just wasn't clear to me how I would use/mount the volume instead of the disk? I think that's what I did... Not sure. I'm used to older file systems
I'm testing out btrfs on a new installation. I limited knowledge of btrfs and have done some reading. However, I seem to be missing a very simple concept. How to setup/mount the volumes.
I created the raid1:
Code:
mkfs.btrfs -m raid1 -d raid1 -L btr-vault /dev/nvme3n1 /dev/nvme2n1
Then the mount point and mounted:
Code:
mkdir /mnt/btr-vault
mount /dev/nvme2n1 /mnt/btr-vault/
But I should be creating volumes, right?
I ran:
Code:
btrfs subvolume create /mnt/btr-vault/volume
pvesm add btrfs btr-vault --path /mnt/btr-vault/volume/
But now
ls /mnt/btr-vault/
returns:
Code:
dump images private volume
Something tells me there is a correct way to do this and this isn't it.
I did read the wiki on btrfs, but it just wasn't clear to me how I would use/mount the volume instead of the disk? I think that's what I did... Not sure. I'm used to older file systems