Hey guys,
I’m having several issues with my Rockstor server at home. My setup:
1 HD (rockstor OS; 2"5 250gb)
1 HD (Shares/download drive 2.5" 500gb)
2x HD (DATA pool, 2 drives of 2TB each, setup in raid1 mirror)
It starts with an btrfs issue. This could be the main issue, causing all other issues so lets begin:
1: when the btrfs issue raises, I’m seeing an error message on screen starting with " BTRFS error (device sdc) parent transid verify failed on 986… wanted 183… found 183…", see below for the first screenshot:
I reinstalled Rockstor hoping this would fix it, though I didn’t have much luck with that. After getting Rockstor back up and running it kept failing. The weird thing is that the whole server crashes in a kernel panic, while the issue resides in the DATA pool. I would expect Rockstor to raise an error about the btrfs issue, but keep running, but it crashes all together, locks up and will not get back up and running unless I do a hard reset (switch power off without shutting down; ouch). This caused my Media Server database to become corrupted. Luckily I was able to restore this issue with some googling and an automatic backup.
I had a feeling that the btrfs issue was being caused by the attempt to access a file which is corrupted (not the media server database) during a file scan / database scan, so I let my Media server scan for the whole library while keeping an eye on my screen for error messages (none popped up). During testing I had every plugin running, except for one: Sonarr, so I turned my Media server off (precaution) and turned on Sonarr.
Surprising enough, each time after rockstor kernel panics, I’m unable to load Sonarr’s page, or do anything else for that matter. To get it up and running, I first have to disconnect the SATA cables from my 2 drives (from DATA pool), boot up Rockstor, switch off Sonarr plugin, shutdown Rockstor, connect 2 SATA cables, boot up Rockstor, uninstall Sonarr, delete Sonarr shares and do several attempts to reinstall Sonarr (I haven’t figured out the ‘sweet setup’ settings to get it working at first try; alternating with port number, virgin shares (aka completely empty shares, not used by/linked to other plugins), UID/GID numbers, or rebooting RockOn service because not all necessary shares are prompted during install).
Once I get a completely fresh install of Sonarr completed, add my media, and run a database scan/library scan, thats when I start getting messages. Oddly enough, now that I’m logging each step while typing this topic I only got 1 btrfs error message in the process: “BTRFS error (device sdc) parent transid verify failed on 986… wanted 183… found 183…” (btw: dev/sdc is one of the 2 TB HD), perhaps because I’ve got my Media sever turned off as rockstor crashing caused a corrupt database.
edit: turned my media server back on, along with Sonarr, ran library scans in both plugins, and no more error messages (other than the one btrfs error). Ill keep you posted about this one.
2: I cant update Rockstor to latest version (from 3.9.1-0), even though I activated my license. Once I start the update process I get a countdown for 5:00 min, but when it runs out and boot back up, the version is still stuck on 3.9.1-0 instead of the current latest version 3.9.2-10.
3: After attempting to update Rockstor for a couple times, Samba has no desire to turn back on. I worked after the first reinstall, I was able to connect with all my pc’s in my network to the folders in the DATA pool, but now when I try to switch the Samba service on, it “turns on” (turns green), but when I refresh the page, or navigate to another page and get back to the Samba page, its turned itself back off.
Attempting to turn Samba on under the Services tab results in the same issue.
Attempting to turn Samba on through ssh client returns the following message:
Failed to start samba.service: Unit not found.
Removing all samba shares, switching Samba on and adding shares results in the same result (samba stays turned off)
(reboot doesn’t work either)
Anyone have any idea about these issues?
Greets,
Fury
Edit: I have a backup of all data in my DATA pool, so I also tried to run:
[root@rockstor samba]# btrfs check --repair DATA
enabling repair mode
ERROR: mount check: cannot open DATA: No such file or directory
ERROR: could not check mount status: No such file or directory
I also tried:
[root@rockstor samba]# btrfs check --repair /dev/sdc
enabling repair mode
ERROR: /dev/sdc is currently mounted, aborting
Though I don’t know how I can unmount this data pool…
Edit2: (~3h later)
I’m starting to suspect I made a mistake in choosing the wrong pool when (consistently) creating the sonarr share (I realized it was still in pool DATA instead of the pool RockOn-ConfigData) though that doesn’t make any sense since I re-created the sonarr share several times before realizing I was creating it in the DATA pool. Anyway, almost 4h later and no new btrfs error message on screen.