ZFS Issues - Need help creating ZFS Storage via GUI

Nov 26, 2021
22
1
8
46
I have been trying to set up my storage using a group of 900gb SAS drives in raidz(1) - and everythime I create it I am getting the error messages below.

I am just not sure how to do what it is saying I need to do, can anyone please help?

Edit: it is not just sdc, I tried to create a POOL without SDC and got the same error message but on SDE. I have tried fdisk, sgdisk, wipefs, and DD commands and have had no luck. What should I do?

cannot label 'sdc': try using parted(8) and then provide a specific slice: -3

# /sbin/zpool create -o ashift=12 data raidz /dev/disk/by-id/scsi-35000cca05756b614 /dev/disk/by-id/scsi-35000cca057584fb4 /dev/disk/by-id/scsi-35000cca05757ed80 /dev/disk/by-id/scsi-35000cca0575659d4 /dev/disk/by-id/scsi-35000cca05757938c /dev/disk/by-id/scsi-35000cca05757e820 /dev/disk/by-id/scsi-35000cca0167f7d64 /dev/disk/by-id/scsi-35000cca0222b21d0 /dev/disk/by-id/scsi-35000cca071053084 /dev/disk/by-id/scsi-35000cca02226f4d8 /dev/disk/by-id/scsi-35000cca0222ee490 /dev/disk/by-id/scsi-35000cca0222b6bd4 /dev/disk/by-id/scsi-35000cca05718ca18 /dev/disk/by-id/scsi-35000cca0222b6a04 cannot label 'sdc': try using parted(8) and then provide a specific slice: -3 TASK ERROR: command '/sbin/zpool create -o 'ashift=12' data raidz /dev/disk/by-id/scsi-35000cca05756b614 /dev/disk/by-id/scsi-35000cca057584fb4 /dev/disk/by-id/scsi-35000cca05757ed80 /dev/disk/by-id/scsi-35000cca0575659d4 /dev/disk/by-id/scsi-35000cca05757938c /dev/disk/by-id/scsi-35000cca05757e820 /dev/disk/by-id/scsi-35000cca0167f7d64 /dev/disk/by-id/scsi-35000cca0222b21d0 /dev/disk/by-id/scsi-35000cca071053084 /dev/disk/by-id/scsi-35000cca02226f4d8 /dev/disk/by-id/scsi-35000cca0222ee490 /dev/disk/by-id/scsi-35000cca0222b6bd4 /dev/disk/by-id/scsi-35000cca05718ca18 /dev/disk/by-id/scsi-35000cca0222b6a04' failed: exit code 1
 
Last edited:
Did you try to use the Gui? There is a "Wipe Disk" command button on the "<node>" - "Disks" page...

Best regards

Yes sorry should have included that - this is the message I get (when I wipe all drives)

wiping block device /dev/sdc dd: fdatasync failed for '/dev/sdc': Input/output error 200+0 records in 200+0 records out TASK ERROR: error wiping '/dev/sdc': 209715200 bytes (210 MB, 200 MiB) copied, 15.1361 s, 13.9 MB/s
 
'/dev/sdc': Input/output error
The system is not able to write (and/or read) Data to this device.
  • check the cables. Simple unplug them and plug them in again
  • test that drive in another computer, for example with an USB-Adapter
On the shell of the host:
  • look at the output of smartctl -l error /dev/sdc
  • does journalctl -b | grep sdc yield helpful information?
Depending on the results run a SMART (long) selftest.


Good luck
 
Thank you. Outputs are below.

Should I initialize the disk with gpt via the ui?

I am running the long smart tests now.

smartctl (also incl as screenshot)

=== START OF READ SMART DATA SECTION === Error counter log: Errors Corrected by Total Correction Gigabytes Total ECC rereads/ errors algorithm processed uncorrected fast | delayed rewrites corrected invocations [10^9 bytes] errors read: 0 289 0 289 2499822 22487.737 0 write: 0 0 0 0 2602762 68439.055 0 verify: 0 4 0 4 5174969 3600.742 0 Non-medium error count: 0


the Journalctl output (abbreviated text below, full output is in txt file)

root@pve2:~# journalctl -b | grep sdc Jul 26 23:01:29 pve2 kernel: sd 0:0:2:0: [sdc] 1758174768 512-byte logical blocks: (900 GB/838 GiB) Jul 26 23:01:29 pve2 kernel: sd 0:0:2:0: [sdc] Write Protect is off Jul 26 23:01:29 pve2 kernel: sd 0:0:2:0: [sdc] Mode Sense: 1b 00 10 08 Jul 26 23:01:29 pve2 kernel: sd 0:0:2:0: [sdc] Write cache: disabled, read cache: enabled, supports DPO and FUA Jul 26 23:01:29 pve2 kernel: sd 0:0:2:0: [sdc] Attached SCSI disk Jul 26 23:01:33 pve2 smartd[1631]: Device: /dev/sdc, opened Jul 26 23:01:33 pve2 smartd[1631]: Device: /dev/sdc, [SE_HGST DKR5D-J900SS B8B8], lu id: 0x5000cca05757ece0, S/N: KXHKB0YF, 900 GB Jul 26 23:01:33 pve2 smartd[1631]: Device: /dev/sdc, is SMART capable. Adding to "monitor" list.
 

Attachments

  • Screen Shot 2022-07-29 at 8.32.15 AM.png
    Screen Shot 2022-07-29 at 8.32.15 AM.png
    51.1 KB · Views: 3
  • efsdsss.txt
    efsdsss.txt
    25.1 KB · Views: 2
Some smarttest output (also attached)


Bash:
=== START OF INFORMATION SECTION ===
Vendor:               SE_HGST
Product:              DKR5D-J900SS
Revision:             B8B8
Compliance:           SPC-4
User Capacity:        900,185,481,216 bytes [900 GB]
Logical block size:   512 bytes
Rotation Rate:        10020 rpm
Form Factor:          2.5 inches
Logical Unit id:      0x5000cca05756b614
Serial number:        KXHJPA9F
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Fri Jul 29 08:40:02 2022 EDT
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Disabled or Not Supported

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK

Current Drive Temperature:     30 C
Drive Trip Temperature:        85 C

Accumulated power on time, hours:minutes 43325:22
Manufactured in week 32 of year 2014
Specified cycle count over device lifetime:  50000
Accumulated start-stop cycles:  19
Specified load-unload count over device lifetime:  600000
Accumulated load-unload cycles:  1806
Elements in grown defect list: 0

Error counter log:
           Errors Corrected by           Total   Correction     Gigabytes    Total
               ECC          rereads/    errors   algorithm      processed    uncorrected
           fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errors
read:          0      289         0       289    2499822      22487.737           0
write:         0        0         0         0    2602762      68439.055           0
verify:        0        4         0         4    5174969       3600.742           0

Non-medium error count:        0
 

Attachments

  • Screen Shot 2022-07-29 at 9.06.40 AM.png
    Screen Shot 2022-07-29 at 9.06.40 AM.png
    122.4 KB · Views: 0

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!