As title says, ZFS vol/fs created manually via console commands,
(A) are not visible via the web interface.
(B) are not imported automatically when rebooting the system.
I can live with (A), but (B) is a "show stopper" for me. I can not use the web GUI to create the volumes, because I do not want to allocate the whole disk to a single pool. [Details of my setup below]
How do I make FreeNAS "remember" the ZFS configuration and swap settings?
Thanks,
Roberto Waltman.
-----------------------------
Details:
I have a system with 5x1TB drives.
I want to use two pools of the same capacity (1596G,) one raidz1, the other raidz2.
The 100 Mbyte free area is to accommodate replacing a failing disk with a new one that doesn't have exactly the same number of sectors.
[root@freenas] ~# gpart show ada0
=> 34 1953525101 ada0 GPT (932G)
34 94 - free - (47K)
128 2097152 1 freebsd-swap (1.0G)
2097280 836239360 2 freebsd-zfs (399G)
838336640 1114984448 3 freebsd-zfs (532G)
1953321088 204047 - free - (100M)
( Same for ada1,2,3 & 4 )
[root@freenas] ~# zpool list
NAME SIZE USED AVAIL CAP HEALTH ALTROOT
vol_1 1.94T 315K 1.94T 0% ONLINE -
vol_2 2.59T 356K 2.59T 0% ONLINE -
[root@freenas] ~# zpool status
pool: vol_1
state: ONLINE
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
vol_1 ONLINE 0 0 0
raidz1 ONLINE 0 0 0
ada0p2 ONLINE 0 0 0
ada1p2 ONLINE 0 0 0
ada2p2 ONLINE 0 0 0
ada3p2 ONLINE 0 0 0
ada4p2 ONLINE 0 0 0
errors: No known data errors
pool: vol_2
state: ONLINE
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
vol_2 ONLINE 0 0 0
raidz2 ONLINE 0 0 0
ada0p3 ONLINE 0 0 0
ada1p3 ONLINE 0 0 0
ada2p3 ONLINE 0 0 0
ada3p3 ONLINE 0 0 0
ada4p3 ONLINE 0 0 0
errors: No known data errors
[root@freenas] ~# zfs list
NAME USED AVAIL REFER MOUNTPOINT
vol_1 244K 1.52T 33.6K none
vol_1/svn 33.6K 1.52T 33.6K /mnt/svn
vol_2 204K 1.52T 37.5K none
(A) are not visible via the web interface.
(B) are not imported automatically when rebooting the system.
I can live with (A), but (B) is a "show stopper" for me. I can not use the web GUI to create the volumes, because I do not want to allocate the whole disk to a single pool. [Details of my setup below]
How do I make FreeNAS "remember" the ZFS configuration and swap settings?
Thanks,
Roberto Waltman.
-----------------------------
Details:
I have a system with 5x1TB drives.
I want to use two pools of the same capacity (1596G,) one raidz1, the other raidz2.
The 100 Mbyte free area is to accommodate replacing a failing disk with a new one that doesn't have exactly the same number of sectors.
[root@freenas] ~# gpart show ada0
=> 34 1953525101 ada0 GPT (932G)
34 94 - free - (47K)
128 2097152 1 freebsd-swap (1.0G)
2097280 836239360 2 freebsd-zfs (399G)
838336640 1114984448 3 freebsd-zfs (532G)
1953321088 204047 - free - (100M)
( Same for ada1,2,3 & 4 )
[root@freenas] ~# zpool list
NAME SIZE USED AVAIL CAP HEALTH ALTROOT
vol_1 1.94T 315K 1.94T 0% ONLINE -
vol_2 2.59T 356K 2.59T 0% ONLINE -
[root@freenas] ~# zpool status
pool: vol_1
state: ONLINE
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
vol_1 ONLINE 0 0 0
raidz1 ONLINE 0 0 0
ada0p2 ONLINE 0 0 0
ada1p2 ONLINE 0 0 0
ada2p2 ONLINE 0 0 0
ada3p2 ONLINE 0 0 0
ada4p2 ONLINE 0 0 0
errors: No known data errors
pool: vol_2
state: ONLINE
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
vol_2 ONLINE 0 0 0
raidz2 ONLINE 0 0 0
ada0p3 ONLINE 0 0 0
ada1p3 ONLINE 0 0 0
ada2p3 ONLINE 0 0 0
ada3p3 ONLINE 0 0 0
ada4p3 ONLINE 0 0 0
errors: No known data errors
[root@freenas] ~# zfs list
NAME USED AVAIL REFER MOUNTPOINT
vol_1 244K 1.52T 33.6K none
vol_1/svn 33.6K 1.52T 33.6K /mnt/svn
vol_2 204K 1.52T 37.5K none