data pool offline after i inserted usb device to charge

phil465132

Cadet
Joined
Aug 27, 2022
Messages
3
Noticed my data pool was offline, and I believe it was the same day I inserted my new device for charging into one of the usb ports. Maybe it has some internal storage and threw things off?

storage - data1 pool - offline
should be 5 disks.
sda-sdd show the correct size
sde shows a weird serial number and 0B disk size.

If I run smartctl --scan, I do not see sde even listed.
If I run zpool status or zpool list, I only see boot-pool and not data1.

If I try to wipe sde, I see error message "no medium found"

Software: TrueNas Scale 22.02.04
CPU: intel i5-9400
Motherboard: asrock b365m pro4
RAM: 16 GB
HD 5x samsung 1t ssd (I think mostly 860 evo), boot is 960 samsung evo

zfs config - sorry dont remember, thought I did z1 but not sure.
Can anyone steer me on recovery, or at least getting the pool back online and usable.
Appreciate any pointers you can provide.

Happy to provide any other info, run any commands, etc.
 

Stolen_Walnut

Dabbler
Joined
Jan 1, 2023
Messages
10
At a glance, it looks like your 5th disk went bad.

A new device for charging -- as in you're charging a phone or something? It might be that device that's showing up in place of the 5th disk as sde now.

Taking a peek in journalctl might be helpful to see to see if there's any logs about sde acting up.

It's odd that the pool's not showing though...

Are you able to import the pool?
 

NugentS

MVP
Joined
Apr 16, 2020
Messages
2,947
1. Remove the USB Charger thingie.
2. Reboot
3. Run 'zpool import' and post the result in code blocks please
 

phil465132

Cadet
Joined
Aug 27, 2022
Messages
3
Code:
 pool: data1
     id: 2262185630563289373
  state: UNAVAIL
status: One or more devices contains corrupted data.
 action: The pool cannot be imported due to damaged devices or data.
   see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-5E
 config:

        data1                                   UNAVAIL  insufficient replicas
          c0954501-8e6c-4070-aec8-32dad5015e9c  ONLINE
          3dfd7ffb-9d9a-40b2-b478-57252d82ec1e  UNAVAIL
          e62eb3d7-c8d6-4ea0-af9a-998357e14e74  ONLINE
          80b41a4a-94e8-4e86-80b9-2e7796dc06ed  ONLINE
          34139571-0351-4e3a-90e1-e7aa7136e2e3  ONLINE


I tried journalctl but it doesn't go back to the date in question anymore. Yeah it was actually some BT headphones that i was charging.

I also identified which physical disk is offline, by finding which serial number was not displayed on storage -> disks ui page.
 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
Unless you can get that UNAVAIL device back, intact, you have lost your pool and ALL your data.

That pool configuration is striped, NO REDUNDANCY. No way to recover except potentially a recovery service.

Sorry.
 

phil465132

Cadet
Joined
Aug 27, 2022
Messages
3
Ahh ok, I guess I did set it up that way. Good thing I didnt have anything critical on it!
 
Top