Plex Media Server & New Install of FreeNAS

Status
Not open for further replies.

Carl20236

Cadet
Joined
May 13, 2017
Messages
6
This might be a bit long, so please bear with me. Relatively new user of FreeNAS, I set up a box 2 or 3 years ago and installed it as a document and media server, using Plex. I installed Plex via the plugins console. Worked great and really enjoyed it during this time. A few weeks ago I did something stupid. I was backing up the content on the server to a separate USB hard drive when I got the "bright" idea to install the available updates to FreeNAS via the web gui. I think this caused a crash of the USB drive on which I had it installed.

So I thought, it would be a good opportunity to upgrade to the latest version of FreeNAS. I downloaded and installed version 9.10.2-U3 and have the server up and running. I was able to import the volumes and can see them in the web gui in the volume manager. I then installed the Plex media server, again via the plugins console.

The problem I'm having is finding where in the storage volumes my original media and documents are stored to a) share them via CIFS and b) have the plex server find them. Any help would be appreciated. Thanks.
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,975
Do you have a copy of your config?
 

Carl20236

Cadet
Joined
May 13, 2017
Messages
6
Do you have a copy of your config?
Sorry for the long delay, lots of doings this past week. Is the file you are looking for? If it's not could you provide me with some notes on how to export the config file in readable format? Thanks.
 

Attachments

  • freenas-FreeNAS-9.10.2-U3 (e1497f269)-20170520141139.zip
    46.3 KB · Views: 367

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,975

Carl20236

Cadet
Joined
May 13, 2017
Messages
6
Yeah, I found it under the System tab, then General section. Is that not correct? Or is there another location that would generate the file you wanting? Thanks.
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,975
That's the correct one. What I was asking is if you saved it before you re installed? If so you can restore your config and everything will be back to the way it was before you re installed FreeNAS.
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,972
Let me jump in. Clearly the OP is unfamilair with FreeNAS.

@Jailer is asking, did you ever create a backup of your configuration file before you did any updates to your FreeNAS system? I know this sounds like the same question asked a few times before, it is the same question.

I'm assuming the answer is No, the configuration file was not backed up or if it ever was, is likely deleted by now. Also if the box was 3 years of age, it's quite possible the configuration file would not import.

@Carl20236 Follow these steps in order:
1) In left hand pane, open the item called "Shell" and select at the bottom of the window the largest size you can see on your screen (I like 132x43).
2) Type in the command df -H
3) Using your mouse, highlight the text from the df command tot he bottom of the screen.
4) Right click and select Copy.
5) Now come back to the forum and click on the following icon called code
Capture5.JPG
and a box will open.
6) Now Right Click and select Paste. It will look similar to my posting below.
Code:
[root@freenas ~]# df -H																											
Filesystem											   Size	Used   Avail Capacity  Mounted on								 
freenas-boot/ROOT/9.10.2-U3							  7.2G	668M	6.6G	 9%	/										  
devfs													1.0k	1.0k	  0B   100%	/dev									   
tmpfs													 34M	9.0M	 25M	27%	/etc									   
tmpfs													4.2M	8.2k	4.2M	 0%	/mnt									   
tmpfs													5.7G	 34M	5.7G	 1%	/var									   
freenas-boot/grub										6.6G	6.6M	6.6G	 0%	/boot/grub								 
fdescfs												  1.0k	1.0k	  0B   100%	/dev/fd									
farm													 3.4T	4.4M	3.4T	 0%	/mnt/farm								  
farm/Becky											   3.6T	191G	3.4T	 5%	/mnt/farm/Becky							
farm/Removable_Disk									  3.4T	 40G	3.4T	 1%	/mnt/farm/Removable_Disk				   
farm/VM												  3.4T	 41G	3.4T	 1%	/mnt/farm/VM							   
farm/backups											 6.5T	3.1T	3.4T	48%	/mnt/farm/backups						  
farm/benchmark										   3.4T	958k	3.4T	 0%	/mnt/farm/benchmark						
farm/data												3.6T	190G	3.4T	 5%	/mnt/farm/data							 
farm/ftp												 3.4T	8.1G	3.4T	 0%	/mnt/farm/ftp							  
farm/iTunes											  3.4T	 41G	3.4T	 1%	/mnt/farm/iTunes						   
farm/jails											   3.4T	 79M	3.4T	 0%	/mnt/farm/jails							
farm/jails/.warden-template-standard					 3.4T	3.4G	3.4T	 0%	/mnt/farm/jails/.warden-template-standard  
farm/jails/MiniDLNA									  3.4T	3.6G	3.4T	 0%	/mnt/farm/jails/MiniDLNA				   
farm/jails/plex										  3.4T	5.1G	3.4T	 0%	/mnt/farm/jails/plex					   
farm/madyson											 3.4T	 60G	3.4T	 2%	/mnt/farm/madyson						  
farm/movies											  3.7T	332G	3.4T	 9%	/mnt/farm/movies						   
farm/music											   3.4T	 45G	3.4T	 1%	/mnt/farm/music							
farm/photos											  3.4T	 56G	3.4T	 2%	/mnt/farm/photos						   
farm/vmware_nfs										  3.6T	226G	3.4T	 6%	/mnt/farm/vmware_nfs					   
farm/.system											 3.4T	3.5M	3.4T	 0%	/var/db/system							 
farm/.system/cores									   3.4T	1.3M	3.4T	 0%	/var/db/system/cores					   
farm/.system/samba4									  3.4T	2.3M	3.4T	 0%	/var/db/system/samba4					  
farm/.system/syslog-5321dce6b8f542d387c8dd7e6bdde0ed	 3.4T	6.5M	3.4T	 0%	/var/db/system/syslog-5321dce6b8f542d387c8dd
7e6bdde0ed																														 
farm/.system/rrd-5321dce6b8f542d387c8dd7e6bdde0ed		3.4T	 50M	3.4T	 0%	/var/db/system/rrd-5321dce6b8f542d387c8dd7e6
bdde0ed																															
farm/.system/configs-5321dce6b8f542d387c8dd7e6bdde0ed	3.4T	 59M	3.4T	 0%	/var/db/system/configs-5321dce6b8f542d387c8d
d7e6bdde0ed																														
devfs													1.0k	1.0k	  0B   100%	/mnt/farm/jails/plex/dev				   
procfs												   4.1k	4.1k	  0B   100%	/mnt/farm/jails/plex/proc				  
/mnt/farm/movies										 3.7T	332G	3.4T	 9%	/mnt/farm/jails/plex/media  


With any luck the output will be obvious on where you data is stored.
 

Carl20236

Cadet
Joined
May 13, 2017
Messages
6
You are both correct. I've been using it without a lot of knowledge about FreeNAS, enough to look around the GUI and make a few changes and update the Plex Media Server via the command line. I don't believe I saved a copy of the config file. I'll be adding that to my list of things to do in the future. When I get a chance, I'll do what joeschmuck (great name by the way) asked and get it posted here. Thanks for being so helpful!
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,972

Carl20236

Cadet
Joined
May 13, 2017
Messages
6
Sorry it's been a while, house move has gotten in the way. Here's the output from the listing for which joeschmuck asked. I think I see storage used under HomeOne/HomeMediaDS. But I can't seem to navigate there using the shell. Any thoughts???

Code:
Filesystem												  Size	Used   Avail Capacity  Mounted on							   
freenas-boot/ROOT/9.10.2-U6								  14G	669M	 13G	 5%	/									   
devfs													   1.0k	1.0k	  0B   100%	/dev									 
tmpfs														34M	9.2M	 24M	28%	/etc									 
tmpfs													   4.2M	8.2k	4.2M	 0%	/mnt									 
tmpfs													   5.6G	 16M	5.6G	 0%	/var									 
freenas-boot/grub											13G	6.9M	 13G	 0%	/boot/grub							   
fdescfs													 1.0k	1.0k	  0B   100%	/dev/fd								 
HomeOne													 1.9T	513k	1.9T	 0%	/mnt/HomeOne							 
HomeOne/HomeJailsDS										 1.9T	388k	1.9T	 0%	/mnt/HomeOne/HomeJailsDS				 
HomeOne/HomeJailsDS/.warden-template-pluginjail			 1.9T	544M	1.9T	 0%	/mnt/HomeOne/HomeJailsDS/.warden-template
-pluginjail																														 
HomeOne/HomeJailsDS/HomeJails							   1.9T	911M	1.9T	 0%	/mnt/HomeOne/HomeJailsDS/HomeJails	   
HomeOne/HomeJailsDS/plexmediaserver_1					   1.9T	4.7G	1.9T	 0%	/mnt/HomeOne/HomeJailsDS/plexmediaserver_1																																   
HomeOne/HomeMediaDS										 5.7T	3.8T	1.9T	67%	/mnt/HomeOne/HomeMediaDS				 
HomeOne/HomeMediaDS/HomeUser								1.9T	153k	1.9T	 0%	/mnt/HomeOne/HomeMediaDS/HomeUser	   
HomeOne/HomeMediaDS/HomeUser/.warden-template-pluginjail	1.9T	551M	1.9T	 0%	/mnt/HomeOne/HomeMediaDS/HomeUser/.warden
-template-pluginjail																											   
HomeOne/HomeMediaDS/HomeUser/.warden-template-standard	  1.9T	2.2G	1.9T	 0%	/mnt/HomeOne/HomeMediaDS/HomeUser/.warden
-template-standard																												 
HomeOne/HomeMediaDS/HomeUser/plexmediaserver_1			  1.9T	1.1G	1.9T	 0%	/mnt/HomeOne/HomeMediaDS/HomeUser/plexmed
iaserver_1																														 
HomeOne/HomeShare										   1.9T	246k	1.9T	 0%	/mnt/HomeOne/HomeShare				   
HomeOne/jails											   1.9T	300k	1.9T	 0%	/mnt/HomeOne/jails					   
HomeOne/jails/.warden-template-pluginjail				   1.9T	559M	1.9T	 0%	/mnt/HomeOne/jails/.warden-template-plugi
njail																															   
HomeOne/jails/plexmediaserver_1							 1.9T	9.3G	1.9T	 0%	/mnt/HomeOne/jails/plexmediaserver_1	 
HomeOne/.system											 1.9T	164k	1.9T	 0%	/var/db/system						   
HomeOne/.system/cores									   1.9T	971k	1.9T	 0%	/var/db/system/cores					 
HomeOne/.system/samba4									  1.9T	797k	1.9T	 0%	/var/db/system/samba4				   
HomeOne/.system/syslog-7c35bc62b22f460fb3766e1c156d5c44	 1.9T	2.6M	1.9T	 0%	/var/db/system/syslog-7c35bc62b22f460fb37
66e1c156d5c44																													   
HomeOne/.system/rrd-7c35bc62b22f460fb3766e1c156d5c44		1.9T	8.5M	1.9T	 0%	/var/db/system/rrd-7c35bc62b22f460fb3766e
1c156d5c44																														 
HomeOne/.system/configs-7c35bc62b22f460fb3766e1c156d5c44	1.9T	224k	1.9T	 0%	/var/db/system/configs-7c35bc62b22f460fb3
766e1c156d5c44																													 
devfs													   1.0k	1.0k	  0B   100%	/mnt/HomeOne/HomeMediaDS/HomeUser/plexmed
iaserver_1/dev																													 
procfs													  4.1k	4.1k	  0B   100%	/mnt/HomeOne/HomeMediaDS/HomeUser/plexmed
iaserver_1/proc 
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,972
To navigate via the shell you just need to enter cd /mnt/HomeOne/HomeMediaDS and you should be transported to that location. Keep in mind that Linux is case sensitive, if there is a capital letter, you need to use it. You should be able to setup a CIFS share as well using the same path. I can see you have 3.8T of data there.
 

Carl20236

Cadet
Joined
May 13, 2017
Messages
6
Thanks, I think I found it, and have almost got it restored. Are there any steps I can take to backup the system other than the config file? Thanks.
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,972
The config file is really the only thing you should need. I assume all your data is on the pool.
 
Status
Not open for further replies.
Top