HeloJunkie
Patron
- Joined
- Oct 15, 2014
- Messages
- 300
I am attempting to create volumes from the command line and I am not having any success. I suspect I am missing something simple but I cannot figure it out. Creating them from the GUI works fantastic, but I want to learn to do everything from the command line.
Looking at the docs shows me that I am using the correct command(s) but still no luck. Any guidance would be helpful.
Running 9.2.1.8
Thanks
Looking at the docs shows me that I am using the correct command(s) but still no luck. Any guidance would be helpful.
Running 9.2.1.8
Thanks
[root@freenas01] ~# camcontrol devlist
<WDC WD40EFRX-68WT0N0 80.00A80> at scbus0 target 0 lun 0 (pass0,ada0)
<WDC WD40EFRX-68WT0N0 80.00A80> at scbus1 target 0 lun 0 (pass1,ada1)
<WDC WD40EFRX-68WT0N0 80.00A80> at scbus2 target 0 lun 0 (pass2,ada2)
<WDC WD40EFRX-68WT0N0 80.00A80> at scbus3 target 0 lun 0 (pass3,ada3)
<WDC WD40EFRX-68WT0N0 80.00A80> at scbus4 target 0 lun 0 (pass4,ada4)
<WDC WD40EFRX-68WT0N0 80.00A80> at scbus5 target 0 lun 0 (pass5,ada5)
<WDC WD40EFRX-68WT0N0 80.00A80> at scbus6 target 0 lun 0 (pass6,ada6)
<WDC WD40EFRX-68WT0N0 80.00A80> at scbus7 target 0 lun 0 (pass7,ada7)
<WDC WD40EFRX-68WT0N0 80.00A80> at scbus8 target 0 lun 0 (pass8,ada8)
<WDC WD40EFRX-68WT0N0 80.00A80> at scbus9 target 0 lun 0 (pass9,ada9)
< USB DISK 2.0 PMAP> at scbus11 target 0 lun 0 (pass10,da0)
[root@freenas01] ~# zpool status -v
no pools available
[root@freenas01] ~# df
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/ufs/FreeNASs2a 948903 721303 151687 83% /
devfs 1 1 0 100% /dev
/dev/md0 4663 3388 902 79% /etc
/dev/md1 823 1 756 0% /mnt
/dev/md2 152791 47212 93356 34% /var
/dev/ufs/FreeNASs4 20263 2481 16161 13% /data
root@freenas01] ~# zpool create vol1 raidz2 ada0 ada1 ada2 ada3
cannot create 'vol1': no such pool or dataset