Alright guys, I'm probably the stereotype for how not to setup of truenas configuration(at bottom of post), but it was a first time learning experience. My system is hosted on a consumer desktop running Proxmox with an external HBA card connecting all my drives. My system has severed me well for the last year and a half, so I figured why fix something that isn't broke. Then it broke. About 2 weeks ago, I noticed the the scrub on the main pool MainRaidZ2 was taking a while(5 days and got 45% complete) , but after looking online it seemed like that long scrubs we an expected thing. On the 6th day, the server locked up and I had to power cycle computer. Proxmox boots like normal, and then I launch Truenas inside proxmox like normal. Proxmox takes about 30mins to 1hr to boot up where the web interface is active. The MainRaidZ2 pool is mounted, but only one of the datasets is accessible at /mnt/MainRaidZ2/rootdataset The other two pools do not mount, but the disks are present. If I release them in the GUI -> storage-> pools , I can reimport them and those two pools(PurplePool/VMssd) work again. I notice that there is a task pool.on_boot.import (something like that) boot that never finished even after waiting a day. Next, I try powering off the system, pulling all the drives from the MainRaidZ2 pool and boot back up proxmox and truenas. Truenas boots nearly instantly this time, and both the (PurplePool/VMssd) pools are present. I then reinsert the MainRaidZ2 drives, and truenas detects all 11 of them. I export the entire pool. and I was going to try reimporting it again like I did with the (PurplePool/VMssd) pools. This time it doesnt import on first try as it said /mnt/MainRaidZ2/some sub folders already existed and that I needed to use the force option. I enabled force, and it mounts in a locked state. I realized the scrub was still at 45% and was going much faster, so I decided to wait until it finished before I tried unlocking the pool. I come back the next day, and the pool is at 214% scrubbed.
I decide to try unlocking the pool now. It asks me for my key file and I supply it. All seems well, but I'm back in the same state as before where one of 3 datasets in the MainRaidZ2 pool doesnt mount to /mnt/MainRaidZ2/Rootdataset/PlexDrive.
Looking at the /mnt/ folder I'm able to see files in the /mnt/MainRaidZ2/Rootdataset/Sharednetworkdrive dataset, but there is no files in the /mnt/MainRaidZ2/Rootdataset/PlexDrive folder.
There are also some other folders in /mnt, but they do not have files in them. (one of them actually has folders that should be in plex drive folder, but those folders are empty)
I decide to try unlocking the pool now. It asks me for my key file and I supply it. All seems well, but I'm back in the same state as before where one of 3 datasets in the MainRaidZ2 pool doesnt mount to /mnt/MainRaidZ2/Rootdataset/PlexDrive.
Looking at the /mnt/ folder I'm able to see files in the /mnt/MainRaidZ2/Rootdataset/Sharednetworkdrive dataset, but there is no files in the /mnt/MainRaidZ2/Rootdataset/PlexDrive folder.
There are also some other folders in /mnt, but they do not have files in them. (one of them actually has folders that should be in plex drive folder, but those folders are empty)
- Motherboard make and model
- b450 chipset I think
- CPU make and model
- Ryzen 2700x
- RAM quantity
- 64gb but only 32gb allocated in Proxmox to truenas
- Hard drives, quantity, model numbers, and RAID configuration, including boot drives
- 3x 14TB WD Elements(shucked) + 8x14tb seagate EXOS X16 Hard drives (all together in one pool named: MainRaidZ2) (Raid Z2 configuration)(encryption enabled/I have the key file) (this pool is about 24% full /27TB used)
- 1x256 gb ssd for truenas scale apps (pool name: VMssd)(no encryption) (this pool is about 3% full)
- 1x2tb wd purple (pool name: PurplePool)(no encryption) (this pool is about 5% full)
- 1x50gb virtual drive from proxmox (boot drive) (no encryption)-> real drive is 256gb ssd.
- Hard disk controllers
- Dell 012DNW H200 HBA raid controller(flashed to lsi IT mode)(took long time to get it flashed)
- EMC KTN-STL3 15-Bay used as jbod enclosure ( holds all drives listed above with the exception of the virtual boot drive)
- Network cards
- virtual network card(VirtIO)