ZFS pool disk retrieve

Debabrata Paul

New Member
Apr 23, 2024
3
1
3
Hi,

I am trying to retrieve a disk from ZFS pool but not having much luck. coming up with error every time. currently there is no pool nor the host as I installed fresh proxmox and setting up the drives.

sdd 8:48 0 3.6T 0 disk
├─sdd1 8:49 0 3.6T 0 part
└─sdd9 8:57 0 8M 0 part

proxmox or window can read the drive but cannot format it though. I also tried to use third party software like EaseUS, MiniTool partition but failed. also tried to use parted but didn't work.

root@pve2:~# smartctl -a /dev/sdd
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.8.8-2-pve] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org

Read Device Identity failed: scsi error device will be ready soon

If this is a USB connected device, look at the various --device=TYPE variants
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.

root@pve2:~# dmesg | grep sdd
[388199.343827] sd 9:0:0:0: [sdd] 7814037168 512-byte logical blocks: (4.00 TB/3.64 TiB)
[388199.344171] sd 9:0:0:0: [sdd] Write Protect is off
[388199.344174] sd 9:0:0:0: [sdd] Mode Sense: 43 00 00 00
[388199.344699] sd 9:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA[388199.344922] sd 9:0:0:0: [sdd] Preferred minimum I/O size 512 bytes
[388199.344925] sd 9:0:0:0: [sdd] Optimal transfer size 33553920 bytes
[388199.352179] sdd: sdd1 sdd9
[388199.352322] sd 9:0:0:0: [sdd] Attached SCSI disk
[433747.706291] sd 9:0:0:0: [sdd] tag#23 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD
[433747.706299] sd 9:0:0:0: [sdd] tag#23 CDB: Read(16) 88 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00
[433900.814891] sd 9:0:0:0: [sdd] tag#20 timing out command, waited 180s
[433900.814917] sd 9:0:0:0: [sdd] tag#20 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=183s

any suggestion to bring my disk back will be much appreciated.
 
[sdd] tag#20 timing out command, waited 180s --> the disk is 99,9% dead --> get a new one.
I wish you don't come to this end as the saying goes "Destroy and re-create the pool from a backup source." - hopefully have one.
 
Is the ZFS pool mounted? Was this ZFS pool mirrored or RAIDz with some redundancy in case of a drive failure? That is the point of ZFS.
zpool status
zfs list
zfs import
If the drive is timing out, try add extra cooling or give it time to cool off and try again.
If you are not getting anywhere you might try gddrescue to get an image of the entire drive. Then work with the copy.
 

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!