Jump to content

ZFS on 6.12.4 - Just setting up my array, and format doesn't seem to work


bmfrosty

Recommended Posts

Did a preclear to the new drives for burn-in over the past 6 days.

 

Added a new pool with 5 devices set to raidz2, compression off, autotrim on, enable user share assignment yes, and started my array.  I then went to to the main tab, array, clicked the checkbox by format with the 5 drives showing, clicked the checkbox, acknowledged the warning, and hit format.  I get started formatting, then it goes back to started.  Pool shows a bad device.

 

Am I doing something wrong here?

 

edit:  ooh `Nov 14 20:54:57 maxi root: wipefs: /dev/sdb: failed to erase dos magic string at offset 0x000001fe: Operation not permitted`

 

```

root@maxi:/dev# for i in sdb sdc sdd sde sdf ; do dd if=/dev/zero of=/dev/${i}1 bs=4096 count=4 ; done
dd: error writing '/dev/sdb1': Operation not permitted
1+0 records in
0+0 records out
0 bytes copied, 9.1293e-05 s, 0.0 kB/s
dd: error writing '/dev/sdc1': Operation not permitted
1+0 records in
0+0 records out
0 bytes copied, 3.7661e-05 s, 0.0 kB/s
dd: error writing '/dev/sdd1': Operation not permitted
1+0 records in
0+0 records out
0 bytes copied, 3.8583e-05 s, 0.0 kB/s
dd: error writing '/dev/sde1': Operation not permitted
1+0 records in
0+0 records out
0 bytes copied, 9.7745e-05 s, 0.0 kB/s
dd: error writing '/dev/sdf1': Operation not permitted
1+0 records in
0+0 records out
0 bytes copied, 3.5366e-05 s, 0.0 kB/s
root@maxi:/dev#
```

same for the raw devices

 

I need to come back to this in the morning.

 

Solved.  Had to clear it with the preclear script.

Edited by bmfrosty
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...