Hello:
I'm new to FreeBSD , and almost first time use bsd and zfs , I used use CentOS.
(I'm NOT native English user, Sorry for misunderstood if it happen)
I want :
Config a ZFS storage server , use iSCSI share to vSphere and Windows
My Step :
I install FreeBSD in vbox , then add 12 HDD and 2 SSD .
But after I create the pool :
There is no /dev/zvol exist and /dev/zd0 or something else not exist either .
(All guide I found all need the block device to create target , and I was found some ORACLE doc , but clearly that's not same thing )
My Question :
What happen ?
What should I do if i want share a volume
My detail :
I'm new to FreeBSD , and almost first time use bsd and zfs , I used use CentOS.
(I'm NOT native English user, Sorry for misunderstood if it happen)
I want :
Config a ZFS storage server , use iSCSI share to vSphere and Windows
My Step :
I install FreeBSD in vbox , then add 12 HDD and 2 SSD .
But after I create the pool :
There is no /dev/zvol exist and /dev/zd0 or something else not exist either .
(All guide I found all need the block device to create target , and I was found some ORACLE doc , but clearly that's not same thing )
My Question :
What happen ?
What should I do if i want share a volume
My detail :
Code:
root@test:~ # zpool create pool raidz3 ada1 ada2 ada3 ada4 raidz3 ada5 ada6 ada7 ada8 raidz3 ada9 ada10 ada11 ada12
root@test:~ # zpool add pool cache da0
root@test:~ # zpool add pool cache da1
root@test:~ # zfs create pool/vol01
root@test:~ # zpool status
pool: pool
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
pool ONLINE 0 0 0
raidz3-0 ONLINE 0 0 0
ada1 ONLINE 0 0 0
ada2 ONLINE 0 0 0
ada3 ONLINE 0 0 0
ada4 ONLINE 0 0 0
raidz3-1 ONLINE 0 0 0
ada5 ONLINE 0 0 0
ada6 ONLINE 0 0 0
ada7 ONLINE 0 0 0
ada8 ONLINE 0 0 0
raidz3-2 ONLINE 0 0 0
ada9 ONLINE 0 0 0
ada10 ONLINE 0 0 0
ada11 ONLINE 0 0 0
ada12 ONLINE 0 0 0
cache
da0 ONLINE 0 0 0
da1 ONLINE 0 0 0
errors: No known data errors
root@test:~ # zfs list
NAME USED AVAIL REFER MOUNTPOINT
pool 115K 5.77T 23K /pool
pool/vol01 23K 5.77T 23K /pool/vol01
root@test:~ # mount
/dev/ada0p2 on / (ufs, local, journaled soft-updates)
devfs on /dev (devfs, local, multilabel)
pool on /pool (zfs, local, nfsv4acls)
pool/vol01 on /pool/vol01 (zfs, local, nfsv4acls)
root@test:~ # ll /dev
total 3
crw-r--r-- 1 root wheel 0x27 Nov 20 20:43 acpi
crw-r----- 1 root operator 0x4c Nov 20 20:43 ada0
crw-r----- 1 root operator 0x4e Nov 20 20:43 ada0p1
crw-r----- 1 root operator 0x4f Nov 20 20:43 ada0p2
crw-r----- 1 root operator 0x50 Nov 20 20:43 ada0p3
crw-r----- 1 root operator 0x4d Nov 20 20:43 ada1
crw-r----- 1 root operator 0x79 Nov 20 20:43 ada10
crw-r----- 1 root operator 0x7c Nov 20 20:43 ada11
crw-r----- 1 root operator 0x7f Nov 20 20:43 ada12
crw-r----- 1 root operator 0x53 Nov 20 20:43 ada2
crw-r----- 1 root operator 0x54 Nov 20 20:43 ada3
crw-r----- 1 root operator 0x5c Nov 20 20:43 ada4
crw-r----- 1 root operator 0x5f Nov 20 20:43 ada5
crw-r----- 1 root operator 0x74 Nov 20 20:43 ada6
crw-r----- 1 root operator 0x76 Nov 20 20:43 ada7
crw-r----- 1 root operator 0x77 Nov 20 20:43 ada8
crw-r----- 1 root operator 0x78 Nov 20 20:43 ada9
crw-rw-r-- 1 root operator 0x29 Nov 20 20:43 apm
crw-rw---- 1 root operator 0x28 Nov 20 20:43 apmctl
crw------- 1 root wheel 0x2e Nov 20 20:43 atkbd0
crw------- 1 root kmem 0x18 Nov 20 20:43 audit
crw------- 1 root wheel 0x17 Nov 20 20:43 auditpipe
crw------- 1 root wheel 0xd Nov 20 20:43 bpf
lrwxr-xr-x 1 root wheel 3 Nov 20 20:43 bpf0@ -> bpf
crw-rw-rw- 1 root wheel 0x31 Nov 20 20:43 bpsm0
crw-r----- 1 root operator 0x4b Nov 20 20:43 cd0
crw------- 1 root wheel 0x5 Nov 20 20:44 console
crw------- 1 root wheel 0xf Nov 20 20:43 consolectl
crw-rw-rw- 1 root wheel 0xc Nov 20 20:43 ctty
crw-r----- 1 root operator 0x49 Nov 20 20:43 da0
crw-r----- 1 root operator 0x4a Nov 20 20:43 da1
crw------- 1 root wheel 0x9 Nov 20 20:43 devctl
crw------- 1 root wheel 0xa Nov 20 20:43 devctl2
cr--r--r-- 1 root wheel 0x38 Nov 20 20:43 devstat
dr-xr-xr-x 2 root wheel 512 Nov 20 20:43 fd/
crw------- 1 root wheel 0x11 Nov 20 20:43 fido
crw-rw-rw- 1 root wheel 0x1a Nov 20 20:43 full
crw-r----- 1 root operator 0x4 Nov 20 20:43 geom.ctl
dr-xr-xr-x 2 root wheel 512 Nov 20 20:43 gptid/
crw------- 1 root wheel 0x24 Nov 20 20:43 io
lrwxr-xr-x 1 root wheel 6 Nov 20 20:43 kbd0@ -> atkbd0
lrwxr-xr-x 1 root wheel 7 Nov 20 20:43 kbd1@ -> kbdmux0
crw------- 1 root wheel 0x12 Nov 20 20:43 kbdmux0
crw------- 1 root wheel 0x25 Nov 20 20:43 klog
crw-r----- 1 root kmem 0x15 Nov 20 20:43 kmem
dr-xr-xr-x 2 root wheel 512 Nov 20 20:43 led/
lrwxr-xr-x 1 root wheel 12 Nov 20 20:44 log@ -> /var/run/log
crw------- 1 root wheel 0xb Nov 20 20:43 mdctl
crw-r----- 1 root kmem 0x14 Nov 20 20:43 mem
crw-rw-rw- 1 root wheel 0x26 Nov 20 20:43 midistat
crw-r----- 1 root operator 0x2d Nov 20 20:43 mpt0
crw------- 1 root wheel 0x19 Nov 20 20:43 netmap
crw------- 1 root kmem 0x16 Nov 20 20:43 nfslock
crw-rw-rw- 1 root wheel 0x1b Nov 20 21:00 null
crw------- 1 root operator 0x39 Nov 20 20:43 pass0
crw------- 1 root operator 0x3a Nov 20 20:43 pass1
crw------- 1 root operator 0x43 Nov 20 20:43 pass10
crw------- 1 root operator 0x44 Nov 20 20:43 pass11
crw------- 1 root operator 0x45 Nov 20 20:43 pass12
crw------- 1 root operator 0x46 Nov 20 20:43 pass13
crw------- 1 root operator 0x47 Nov 20 20:43 pass14
crw------- 1 root operator 0x48 Nov 20 20:43 pass15
crw------- 1 root operator 0x3b Nov 20 20:43 pass2
crw------- 1 root operator 0x3c Nov 20 20:43 pass3
crw------- 1 root operator 0x3d Nov 20 20:43 pass4
crw------- 1 root operator 0x3e Nov 20 20:43 pass5
crw------- 1 root operator 0x3f Nov 20 20:43 pass6
crw------- 1 root operator 0x40 Nov 20 20:43 pass7
crw------- 1 root operator 0x41 Nov 20 20:43 pass8
crw------- 1 root operator 0x42 Nov 20 20:43 pass9
crw-r--r-- 1 root wheel 0x23 Nov 20 20:43 pci
crw-rw-rw- 1 root wheel 0x30 Nov 20 20:43 psm0
dr-xr-xr-x 2 root wheel 512 Nov 20 20:44 pts/
crw-r--r-- 1 root wheel 0x7 Nov 20 20:44 random
dr-xr-xr-x 2 root wheel 512 Nov 20 20:43 reroot/
crw-r--r-- 1 root wheel 0x6 Nov 20 20:43 sndstat
lrwxr-xr-x 1 root wheel 4 Nov 20 20:43 stderr@ -> fd/2
lrwxr-xr-x 1 root wheel 4 Nov 20 20:43 stdin@ -> fd/0
lrwxr-xr-x 1 root wheel 4 Nov 20 20:43 stdout@ -> fd/1
crw------- 1 root wheel 0x10 Nov 20 20:43 sysmouse
crw------- 1 root wheel 0x60 Nov 20 20:44 ttyv0
crw------- 1 root wheel 0x61 Nov 20 20:44 ttyv1
crw------- 1 root wheel 0x62 Nov 20 20:44 ttyv2
crw------- 1 root wheel 0x63 Nov 20 20:44 ttyv3
crw------- 1 root wheel 0x64 Nov 20 20:44 ttyv4
crw------- 1 root wheel 0x65 Nov 20 20:44 ttyv5
crw------- 1 root wheel 0x66 Nov 20 20:44 ttyv6
crw------- 1 root wheel 0x67 Nov 20 20:44 ttyv7
crw------- 1 root wheel 0x68 Nov 20 20:43 ttyv8
crw------- 1 root wheel 0x69 Nov 20 20:43 ttyv9
crw------- 1 root wheel 0x6a Nov 20 20:43 ttyva
crw------- 1 root wheel 0x6b Nov 20 20:43 ttyvb
crw------- 1 root wheel 0x32 Nov 20 20:43 ufssuspend
lrwxr-xr-x 1 root wheel 9 Nov 20 20:43 ugen0.1@ -> usb/0.1.0
lrwxr-xr-x 1 root wheel 6 Nov 20 20:43 urandom@ -> random
dr-xr-xr-x 2 root wheel 512 Nov 20 20:43 usb/
crw-r--r-- 1 root operator 0x35 Nov 20 20:43 usbctl
crw------- 1 root operator 0x36 Nov 20 20:43 xpt0
crw-rw-rw- 1 root wheel 0x1c Nov 20 20:43 zero
crw-rw-rw- 1 root operator 0x73 Nov 20 20:43 zfs