cam status scsi error infinte retry problem IDENTIFIED + questions

Status
Not open for further replies.

VirtualMAN

Cadet
Joined
Mar 6, 2016
Messages
1
Hi everybody,
I am new to the forum but I read it since years, you was so useful that I decided to post about a problem that I identified, lot of people wondering about that on the net so this is my way to say thanks :)

my enviroment is freenas 9 on esxi, hdd is zfs on a vmdk as big as the hdd but I feel this is "always" valid, this feeling is because I read a lot on this error and people has it on multiple setup, this explanation explains any of those problem (on paper).

if your freenas gives the error on subject the problem is probably corrupted files.

my advice is: copy every single file in the pool elsewere and it will hang at the corrupted file, reset nas, move the file in a folder inside the same pool (I called it problematic files) and go further with other files. I did it using cifs share so I read the file name on my windows machine when it hangs.

Hope it will be useful, sorry for my english and lack of technical details.

Now a question: is there any way to recover the files in my problematic files folder? I am not really interested because I have backups but you know murphy, better know it.

and a curiosity: wasnt zfs supposed to avoid that? I think this was because of powerdown but I experienced it on a 60gb file as soon as I copied inside the pool: no error on writing it, hangs when I read it, solved reuploading the file. Please note I removed scrubs (thanks to the virtualization guide here).
 

m0nkey_

MVP
Joined
Oct 27, 2015
Messages
2,739
You've got a VMDK on a single drive. If you're to do this, it's advised to put multiple VMDKs on separate datastores. There will be no error correcting because of the single volume you have presented to FreeNAS. You need at least two drives in a mirror, preferably physical (or virtual on different datastores) in order to get the self healing. In this case, you will need to recover the corrupted data from a backup.

You have a configuration that we often advise against. It is not recommended to use VMDKs in any way shape or form. If you insist on virtualizing FreeNAS, it's best to use a HBA using PCI passthrough (VT-d) and give it real drives.
 

Mirfster

Doesn't know what he's talking about
Joined
Oct 2, 2015
Messages
3,215
Status
Not open for further replies.
Top