ZFS creation is a blind shot in the dark:
Ok - shell, here I come:
Ah - at least we see the reason and not just an "exit code 1". Ok, have it your way, zpool:
Goddamit.
https://github.com/openzfs/zfs/issues/8406
Hallelujah! (Observe the "d" in -fd) and the args reorg.
All in all, ZFS deletion, migration, growth, shrink support in Proxmox: an estimated 2% out of 100% ;-)
Ok - shell, here I come:
Code:
# /sbin/zpool create -o 'ashift=12' space2 raidz /dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA21BN0X /dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA242EM2 /dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA242D0Q /dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA21AXN7 /dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA21CPM7 /dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA242AYT /dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA21BQ5B /dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA242CZN /dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA21D3RL /dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA21BPLS /dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA242E7X /dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA23WAED
invalid vdev specification
use '-f' to override the following errors:
/dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA21BN0X contains a filesystem of type 'ext4'
/dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA242D0Q contains a filesystem of type 'ext4'
/dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA21CPM7 contains a filesystem of type 'ext4'
/dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA21BQ5B contains a filesystem of type 'ext4'
/dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA21D3RL contains a filesystem of type 'ext4'
/dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA21BPLS contains a filesystem of type 'ext4'
/dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA242E7X contains a filesystem of type 'ext4'
/dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA23WAED contains a filesystem of type 'ext4'
Ah - at least we see the reason and not just an "exit code 1". Ok, have it your way, zpool:
Code:
# /sbin/zpool create -f -o 'ashift=12' space2 raidz /dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA21BN0X /dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA242EM2 /dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA242D0Q /dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA21AXN7 /dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA21CPM7 /dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA242AYT /dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA21BQ5B /dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA242CZN /dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA21D3RL /dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA21BPLS /dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA242E7X /dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA23WAED
cannot create 'space2': invalid argument for this pool operation
Goddamit.
https://github.com/openzfs/zfs/issues/8406
Code:
# /sbin/zpool create -fd space2 -o 'ashift=12' raidz /dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA21BN0X /dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA242EM2 /dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA242D0Q /dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA21AXN7 /dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA21CPM7 /dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA242AYT /dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA21BQ5B /dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA242CZN /dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA21D3RL /dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA21BPLS /dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA242E7X /dev/disk/by-id/ata-ST10000VN0004-1ZD101_ZA23WAED
Hallelujah! (Observe the "d" in -fd) and the args reorg.
All in all, ZFS deletion, migration, growth, shrink support in Proxmox: an estimated 2% out of 100% ;-)