DavisIan22
Cadet
- Joined
- Feb 2, 2023
- Messages
- 4
System:
Dell Poweredge R720PERC H710 Mini D1 card
2x Intel Xeon E5-2690
128GB of Ram
4x 3TB SAS Drives
3x 4TB SAS Drives
Issue:
About 18 months ago I originially thought I could setup TrueNAS by myself, and did it the wrong way. TrueNAS is virtualized through Proxmox, and I created LVM disks of the full capacity and pushed those to Truenas, instead of forwarding the PCI-E Raid card to my Truenas setup. I had a drive fail, and turns out you really can't do much through proxmox and it was a whole mess. I have a backup Truenas only machine that has all of my data backed up so I decided to redo Truenas through Proxmox. I reinstalled TrueNAS Scale, got the PERC card passed through, and voila! Nothing. All of the drives show up,and they update almost instantly when I pop a new one into the backplane, but when I go to wipe them to create a new Storage pool to sync my backed up data back, I get this error
Error: [Errno 16] Device or resource busy: '/dev/sdb'
I found another person who had a similar issue and they used
Code:
sgdisk -Z /dev/sdXYZ
And after a reboot it fixed it for them. I tried that and it worked!
It took me days to find that thread looking for answers so I thought I might give everyone my post for it to help them out. This is probably common on used drives from other old RAID configurations.