ZFS Create zpool after installation

Hi all, this is my first installation with zfs. During installation I created partition on zfs. When I launch on terminal zpool list I see only zpool call root. Can I add new "subvolumes" similar to btrfs? For example type home or var for create snapshot
 
Hi all, this is my first installation with zfs. During installation I created partition on zfs. When I launch on terminal zpool list I see only zpool call root. Can I add new "subvolumes" similar to btrfs? For example type home or var for create snapshot
What exactly did you do? A fresh install of FreeBSD or just created a pool on an existing system?

To clarify the things up, please post the output of your gpart show and zpool status and zfs list

... and read the manuals gpart(8), zpool(8) and zfs(8)
 
Hi this is gpart show
Code:
zar_marco@legionbsd /u/h/zar_marco [SIGINT]> sudo gpart show
=>      2048  2000407183  nvd0  GPT  (954G)
        2048      819200     1  efi  (400M)
      821248  1048576000     3  linux-data  (500G)
  1049397248   320817152     5  linux-data  (153G)
  1370214400      409600     2  efi  (200M)
  1370624000   629785231     4  freebsd-zfs  (300G)

=>        34  1953525101  ada0  GPT  (932G)
          34        2014        - free -  (1.0M)
        2048    50929664     1  linux-swap  (24G)
    50931712  1174892544     2  linux-data  (560G)
  1225824256      524288     3  efi  (256M)
  1226348544   722980864     4  freebsd-zfs  (345G)
  1949329408     4194304     5  freebsd-swap  (2.0G)
  1953523712        1423        - free -  (712K)

where nvd0p4 is freebsd

zpool status
Code:
zar_marco@legionbsd /u/h/zar_marco> sudo zpool status
  pool: root
 state: ONLINE
  scan: none requested
config:

    NAME        STATE     READ WRITE CKSUM
    root        ONLINE       0     0     0
      nvd0p4    ONLINE       0     0     0

and zfs list
Code:
zar_marco@legionbsd /u/h/zar_marco> sudo zfs list
NAME   USED  AVAIL  REFER  MOUNTPOINT
root  7.36G   283G  7.35G  none

I would like to add the home separate and I would like put home on ada0p5
 
Well you need to decide your desired ZFS architecture. Usually it is desirable to spread your pool over several devices.
You could also consider making a ZFS mirror for redundancy.
I have not worked with ZFS partitions with other types of partitions. I use whole devices.

One thing to consider, you are using a NVMe and they are quick.
So maybe you do want to separate the 3x slower ATA drive to its own pool. That leaves no redundancy though.

You really need to think of your end goal. Data Integrity or Speed.
It depends on how best combine these drives, if you do.
 
Back
Top