We have encountered the following Error while creating the zpool on one of the Oracle Solaris Server. The zpool volume creation failed.
root@SOLSRV-CDM1:~# zpool create drdata c0t5000CCA03C5D3274d0 c0t5000CCA03C591A18d0 c0t5000CCA03C5C8818d0 c0t5000CCA03C5BFC6Cd0 c0t5000CCA03C5D69F4d0 vdev verification failed: use -f to override the following errors: /dev/dsk/c0t5000CCA03C5D3274d0s0 is part of exported or potentially active ZFS pool u01. Please see zpool(8). /dev/dsk/c0t5000CCA03C5D3274d0s1 is part of exported or potentially active ZFS pool rpool. Please see zpool(8). /dev/dsk/c0t5000CCA03C5D3274d0s0 is part of exported or potentially active ZFS pool u01. Please see zpool(8). /dev/dsk/c0t5000CCA03C5D3274d0s1 is part of exported or potentially active ZFS pool rpool. Please see zpool(8). /dev/dsk/c0t5000CCA03C5D3274d0s2 is part of exported or potentially active ZFS pool u01. Please see zpool(8). /dev/dsk/c0t5000CCA03C5D3274d0s3 is part of exported or potentially active ZFS pool rpool. Please see zpool(8). /dev/dsk/c0t5000CCA03C5D3274d0s3 is part of exported or potentially active ZFS pool rpool. Please see zpool(8). /dev/dsk/c0t5000CCA03C591A18d0s0 is part of exported or potentially active ZFS pool u01. Please see zpool(8). /dev/dsk/c0t5000CCA03C591A18d0s0 is part of exported or potentially active ZFS pool u01. Please see zpool(8). /dev/dsk/c0t5000CCA03C591A18d0s2 is part of exported or potentially active ZFS pool u01. Please see zpool(8). /dev/dsk/c0t5000CCA03C5C8818d0s0 is part of exported or potentially active ZFS pool rpool. Please see zpool(8). /dev/dsk/c0t5000CCA03C5C8818d0s0 is part of exported or potentially active ZFS pool rpool. Please see zpool(8). /dev/dsk/c0t5000CCA03C5C8818d0s2 contains a ufs filesystem. /dev/dsk/c0t5000CCA03C5BFC6Cd0s0 is part of exported or potentially active ZFS pool u01. Please see zpool(8). /dev/dsk/c0t5000CCA03C5BFC6Cd0s0 is part of exported or potentially active ZFS pool u01. Please see zpool(8). /dev/dsk/c0t5000CCA03C5BFC6Cd0s2 is part of exported or potentially active ZFS pool u01. Please see zpool(8). /dev/dsk/c0t5000CCA03C5D69F4d0s0 is part of exported or potentially active ZFS pool u01. Please see zpool(8). /dev/dsk/c0t5000CCA03C5D69F4d0s1 is part of exported or potentially active ZFS pool rpool. Please see zpool(8). /dev/dsk/c0t5000CCA03C5D69F4d0s0 is part of exported or potentially active ZFS pool u01. Please see zpool(8). /dev/dsk/c0t5000CCA03C5D69F4d0s1 is part of exported or potentially active ZFS pool rpool. Please see zpool(8). /dev/dsk/c0t5000CCA03C5D69F4d0s2 is part of exported or potentially active ZFS pool u01. Please see zpool(8). /dev/dsk/c0t5000CCA03C5D69F4d0s3 is part of exported or potentially active ZFS pool rpool. Please see zpool(8). /dev/dsk/c0t5000CCA03C5D69F4d0s3 is part of exported or potentially active ZFS pool rpool. Please see zpool(8). Unable to build pool from specified devices: device already in use root@SOLSRV-CDM1:~#Cause:
We placed these drives from other working servers and it was not cleaned before plugging into the new server where its been added.
Solution:
You should use the "-f" option with zfs command to create the new zpool but ensure the disks on which you are running this command is not required. This may not be recovered once its configured using the "-f" force option.
root@IJRSVP-SOL-CDM1:~# zpool create -f drdata c0t5000CCA03C5D3274d0 c0t5000CCA03C591A18d0 c0t5000CCA03C5C8818d0 c0t5000CCA03C5BFC6Cd0 c0t5000CCA03C5D69F4d0 'drdata' successfully created, but with no redundancy; failure of one device will cause loss of the pool root@IJRSVP-SOL-CDM1:~#Now the data pool is created successfully.
thanks for reading :)
regards,
Zaheer
Comments