noaxispoint
Cadet
- Joined
 - Jul 12, 2019
 
- Messages
 - 6
 
Hello,
I am trying to create a new pool on my FreeNAS server. Currently there are 6 internal drives that are working fine. The new storage is an external enclosure connected via SAS. The enclosure has 25 600GB drives in it.
I have searched for this and tried examples on this site, Stack Overflow and more.
The enclosure is connected via 2 cables, 1 to each controller on the enclosure. FreeBSD see's these and has multipath to each drive. Creating the pool using the GUI I get the following output:
Trying to create via CLI I get the following:
Does anyone have any suggestions?
	
		
			
		
		
	
			
			I am trying to create a new pool on my FreeNAS server. Currently there are 6 internal drives that are working fine. The new storage is an external enclosure connected via SAS. The enclosure has 25 600GB drives in it.
I have searched for this and tried examples on this site, Stack Overflow and more.
The enclosure is connected via 2 cables, 1 to each controller on the enclosure. FreeBSD see's these and has multipath to each drive. Creating the pool using the GUI I get the following output:
Code:
Error: Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/tastypie/resources.py", line 219, in wrapper
    response = callback(request, *args, **kwargs)
  File "./freenasUI/api/resources.py", line 1448, in dispatch_list
    request, **kwargs
  File "/usr/local/lib/python3.6/site-packages/tastypie/resources.py", line 450, in dispatch_list
    return self.dispatch('list', request, **kwargs)
  File "./freenasUI/api/utils.py", line 251, in dispatch
    request_type, request, *args, **kwargs
  File "/usr/local/lib/python3.6/site-packages/tastypie/resources.py", line 482, in dispatch
    response = method(request, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/tastypie/resources.py", line 1384, in post_list
    updated_bundle = self.obj_create(bundle, **self.remove_api_resource_names(kwargs))
  File "/usr/local/lib/python3.6/site-packages/tastypie/resources.py", line 2175, in obj_create
    return self.save(bundle)
  File "./freenasUI/api/utils.py", line 445, in save
    form.save()
  File "./freenasUI/storage/forms.py", line 316, in save
    raise e
  File "./freenasUI/storage/forms.py", line 310, in save
    c.call("alert.unblock_source", lock)
  File "./freenasUI/storage/forms.py", line 303, in save
    notifier().create_volume(volume, groups=grouped, init_rand=init_rand)
  File "./freenasUI/middleware/notifier.py", line 763, in create_volume
    vdevs = self.__prepare_zfs_vdev(vgrp['disks'], vdev_swapsize, encrypt, volume)
  File "./freenasUI/middleware/notifier.py", line 698, in __prepare_zfs_vdev
    sync=False)
  File "./freenasUI/middleware/notifier.py", line 341, in __gpt_labeldisk
    c.call('disk.wipe', devname, 'QUICK', False, job=True)
  File "./freenasUI/middleware/notifier.py", line 341, in __gpt_labeldisk
    c.call('disk.wipe', devname, 'QUICK', False, job=True)
  File "/usr/local/lib/python3.6/site-packages/middlewared/client/client.py", line 477, in call
    raise ClientException(job['error'], trace=job['exception'])
middlewared.client.client.ClientException: Command '('dd', 'if=/dev/zero', 'of=/dev/multipath/disk1', 'bs=1m', 'count=32')' returned non-zero exit status 1.
Trying to create via CLI I get the following:
Code:
root@Gemini[~]# find /dev/multipath -iname "disk*" | xargs zpool create -fn s2 raidz
would create 's2' with the following layout:
        s2
          raidz1
            multipath/disk1
            multipath/disk2
            multipath/disk3
            multipath/disk4
            multipath/disk5
            multipath/disk6
            multipath/disk7
            multipath/disk8
            multipath/disk9
            multipath/disk10
            multipath/disk11
            multipath/disk12
            multipath/disk13
            multipath/disk14
            multipath/disk15
            multipath/disk16
            multipath/disk17
            multipath/disk18
            multipath/disk19
            multipath/disk20
            multipath/disk21
            multipath/disk22
            multipath/disk23
            multipath/disk24
            multipath/disk25
root@Gemini[~]# find /dev/multipath -iname "disk*" | xargs zpool create -f s2 raidz
cannot create 's2': invalid argument for this pool operation
Does anyone have any suggestions?