October 19, 201312 yr [cough] or do it all via two lines in the go-script [cough] I would like to try your option next! I got your PM. I'll work up an answer and post it back here. It will be useful for everyone. Ok so here we go. EDIT: I have moved the How-To here http://lime-technology.com/forum/index.php?topic=30496.msg274119#msg274119 to make it easier to find when searching the forums. It got to be annoying when I couldn't find my own post via a forum search ;-)
October 19, 201312 yr I got your PM. I'll work up an answer and post it back here. It will be useful for everyone. Kool... Standing-by!
October 19, 201312 yr I got your PM. I'll work up an answer and post it back here. It will be useful for everyone. Kool... Standing-by! done, see above.
October 19, 201312 yr I got your PM. I'll work up an answer and post it back here. It will be useful for everyone. Kool... Standing-by! done, see above. Worked like a charm bro!! Stand-By, bout' to reboot then add Plex Library... Thanks again! Also... I guess this won't show through SMB, as I don't see the share in explorer, but df -h confirms the Share is mounted. Also, ls /mnt/AppShare shows: "Tower login: root Linux 3.9.6p-unRAID. root@Tower:~# ls /mnt/AppShare app/ tmp/" UPDATE: reboot went fine. SSD share mounted. Did two reboots just to confirm. Learned something else today. Using the REBOOT command in Telnet DOES NOT shutdown and reboot unRAID cleanly. A parity check was running after reboot was complete, syslog detected unclean shutdown... DAMN!! No matter, I cancelled for now to stay on track with PMS issue. PMS Scanner currently running. I will reboot once more after scan is complete and report back. @ Jumperalex... Thanks Brother!!
October 19, 201312 yr DOH!!! Yeah you need to use the powerdown script from the command line, if you have to do it from the command line. Obviously the expected method is via the Unraid GUI. You are correct that what i wrote will not export to SMB. I know there is a way to do it, but i never cared enough. In general you can use the Unraid GUI or the command line to look at the contents of /appdrive if need be. But once Plex added the ability to see, from the Plex+roku interface, if you were transcoding or not I had zero need to look at the /appdrive contents.
October 20, 201312 yr If you want to export the share open /boot/config/smb-extra.conf in notepad and add this at the end: [Appshare] path = /mnt/AppShare browseable = yes public = yes writable = yes then type /etc/rc.d/rc.samba restart The share should be visible from your networked PC's. You can add other fields such as a write list or valid users if you don't want it wide open for others in your household to possibly mess with.
October 20, 201312 yr If you want to export the share open /boot/config/smb-extra.conf in notepad and add this at the end: [Appshare] path = /mnt/AppShare browseable = yes public = yes writable = yes then type /etc/rc.d/rc.samba restart The share should be visible from your networked PC's. You can add other fields such as a write list or valid users if you don't want it wide open for others in your household to possibly mess with. Thank you so much. I'll add that to my instructions for completeness.
October 20, 201312 yr If you want to export the share open /boot/config/smb-extra.conf in notepad and add this at the end: [Appshare] path = /mnt/AppShare browseable = yes public = yes writable = yes then type /etc/rc.d/rc.samba restart The share should be visible from your networked PC's. You can add other fields such as a write list or valid users if you don't want it wide open for others in your household to possibly mess with. ACK!!! but wait, I don't have a "/boot/config/smb-extra.conf" Here is my list of files in /boot/config/ root@Tower:/boot/config# ls -a -l total 72 drwxrwxrwx 4 root root 4096 2013-10-19 12:32 ./ drwxrwxrwx 9 root root 4096 2013-10-15 01:37 ../ -rwxrwxrwx 1 root root 256 2011-07-19 19:30 Plus.key* -rwxrwxrwx 1 root root 2216 2013-10-19 15:25 disk.cfg* -rwxrwxrwx 1 root root 101 2013-02-21 19:21 flash.cfg* -rwxrwxrwx 1 root root 617 2013-08-28 17:01 go* -rwxrwxrwx 1 root root 330 2013-08-03 09:30 ident.cfg* -rwxrwxrwx 1 root root 180 2011-12-13 18:50 network.cfg* -rwxrwxrwx 1 root root 852 2011-12-03 20:24 passwd* drwxrwxrwx 9 root root 4096 2013-10-15 01:37 plugins/ -rwxrwxrwx 1 root root 883 2012-09-22 01:22 sensors.conf.BAK* -rwxrwxrwx 1 root root 552 2011-12-03 20:24 shadow* -rwxrwxrwx 1 root root 363 2013-08-03 09:30 share.cfg* drwxrwxrwx 2 root root 4096 2012-09-19 19:23 shares/ -rwxrwxrwx 1 root root 101 2011-12-03 18:33 smbpasswd* -rwxrwxrwx 1 root root 161 2011-07-04 13:01 ssmtp.conf* -rwxrwxrwx 1 root root 4096 2013-10-19 16:25 super.dat* -rwxrwxrwx 1 root root 4096 2012-08-01 15:48 super.old*
October 20, 201312 yr If you don't have one, create one, . Unraids samba config is setup to load smb-extra.conf if it exists in /boot/config/ To double check, run this: cat /etc/samba/smb.conf | grep include /boot/config/smb-extra.conf should be a part of the output.
October 20, 201312 yr ahhh ok, Thanks. I'll have to add that to the instructions too. Chances are anyone reading them probably hasn't created an smb-extra yet either As you can tell, I'm really just doing my best to color inside the lines here
October 20, 201312 yr .....and I have Two "smb-extra", one with a "CONF~" extension Don't worry about the one with the tilde (~). Its a backup that was created at some point, I have one too that is empty.
October 20, 201312 yr Thank U!! AppShare now shows in explorer, not that I need it there but it's good to know if I ever need to actually see it!!
October 20, 201312 yr Thank U!! AppShare now shows in explorer, not that I need it there but it's good to know if I ever need to actually see it!! If you want to declutter explorer, you can change 'browseable' to no, the share will still be exported but will not be visible. If you needed to access it you would just type \\tower\AppShare in explorer.
October 20, 201312 yr So the question is ... is Plex working correctly now? Well, had a scare last evening after PMS scan was complete. I did a reboot(through GUI this time...HA..HA ), but unRAID did not fully boot and stuck at PMS installtion. My server is headless, so when I noticed I couldnt bring up unRAID web GUI through network connection, I attached a monitor to my box and saw the boot got stuck at "Plex never looked so good".. I believe this is the banner posted during the plugin installation of PMS. I waited about 15min, for unRAID to become responsive BUT nothing. SO, I Ctrl+Alt+Delete and unRAID booted just fine...whewww!! I tested a few more times after that with no issues.. To your question! Everything seems to be operational at this point. PMS library is accessible after reboot and SSD/Share are mounting properly using your GO script! After three days of play, it finally seems my server and PMS is ready for primetime running on my SSD. I hope the disk spindown issue gets addressed soon, but this will work great for now. It was a bit frustrating but i had fun during the troubleshoot process. I know I've thanked you several times, but feel I cant thank you enough! When your not too knowledgable about something it's great to have a community willing to proactively help you out!!
October 21, 201312 yr Huh ... no idea about that hang, but at least it worked after that. I will say even once they get the spindown issue solved (and they may never because of how plex works) I would still want to keep my library on a different disk than my cache, and on an SSD at that. It is faster being an SSD, it is isolated from cache read/writes, it CAN stay "spun up" all the time for faster access, and it keeps the library separate from the cache drive if you are using the cache as a "warm spare". I mean other than using a sata port and physical space I see no downsides and all upsides. So I personally will always run an independent app drive. and, you're welcome of course and many thanks to Influencer and Spidi for the plugin and all their help. I'd say I'm standing on the shoulders of giants, but I'm really at best clinging to their shoelaces
October 21, 201312 yr So I just found this: http://lime-technology.com/forum/index.php?topic=7228.30 To save you a click, Re: Ext3 « Reply #30 on: January 29, 2011, 09:29:55 PM » is EXT4 available? I'm not expecting unRAID to format it, but I would like to use ext4 for an SSD Cache drive and it's my understanding that EXT4 supports the trim command. ext3 and ext4 are both supported in 5.0-beta3 kernel. So, I might just copy my library over, reformat my SSD as ext4, copy back, and enjoy the TRIMMED goodness Heck if btrfs is at least included in the kernel I might try that [shrug]. I know further discussion may be OT so I won't clutter the thread. Suffice it to say if I'm successful I'll update my post (and maybe the wiki as Influencer suggested).
October 25, 201312 yr No go. When I delete a file and hit refresh, it doesn't acknowledge that it has been deleted. There is no yellow exclamation mark like the guide says. How about a "Deep scan" and then emptying the trash? Did you delete the file from your user share? I've had issues where I delete a file for a disk share and it's on another disk... Was back on one of the early 5 betas, but I always use user shares now. I also have the "empty trash after scan" option checked... That keeps my library clean automatically. I am using a user share for the files (when adding a section, I have the choice of user and user0 - I choose user) and I also have all the Library options checked to scan and delete. Nothing happens even when I scan with a deep scan after deleting the file. Plex will never remove an entry for a file it doesn't see.
October 28, 201312 yr I have a questions regarding this method talked about in the past 2 pages. I formatted a SSD with EXT4, everything is running fine, but by default trim is not enable, correct? Would I have to enable it in the Go script? If someone could help me with the commands I'd appreciate it.
October 28, 201312 yr Yes you can. I already did it all but haven't documented. To enable Trim, add "discard" to the mount command. So it should look like this mount -rw -o noatime,nodiratime,discard -t ext4 /dev/disk/by-id/ata-OCZ-VERTEX2_OCZ-0E6807YCXXXXXXWD-part1 /mnt/appdisk Use this link for a procedure to test if Trim really is working http://nedoboi.wordpress.com/2011/11/12/tiny-tips-ssd-and-linux-enable-trim-and-check-if-it-works/ Oh yeah and you might need to reformat your drive because if you didn't take steps to align the partition you are killing write speed. See this link for info http://williamscott.me/blog/2010/12/ssd-tweaks-linux-align-partitions/ This info applies to MY OCZ Vertex 2. You will need to do your own research for your specific drive. Your best google search would be "fdisk [ssd make and model] alignment"
October 29, 201312 yr Yes you can. I already did it all but haven't documented. To enable Trim, add "discard" to the mount command. So it should look like this mount -rw -o noatime,nodiratime,discard -t ext4 /dev/disk/by-id/ata-OCZ-VERTEX2_OCZ-0E6807YCXXXXXXWD-part1 /mnt/appdisk Use this link for a procedure to test if Trim really is working http://nedoboi.wordpress.com/2011/11/12/tiny-tips-ssd-and-linux-enable-trim-and-check-if-it-works/ Oh yeah and you might need to reformat your drive because if you didn't take steps to align the partition you are killing write speed. See this link for info http://williamscott.me/blog/2010/12/ssd-tweaks-linux-align-partitions/ This info applies to MY OCZ Vertex 2. You will need to do your own research for your specific drive. Your best google search would be "fdisk [ssd make and model] alignment" Thanks a ton! I will add that to enable trim. I did not align the partition when I created it, not sure I care enough to reformat it though since nothing critical of write speed is on it (since it's just an application disk), in fact the SSD has it's own garbage collection but I figure I'd activate it since it's only beneficial. Not enabling it would not have any detrimental affects to the drive besides write speed right? Edit: I guess it's trivial and there is no reason not to reformat and align the drive, will do that. Looks like my drive (Kingston SVP100S2/96G) uses 128 block size for erasing.
October 29, 201312 yr another reason to align is that if you don't, every write requires two erase/write events vice one ... I'm pretty sure that will have an impact on durability since you have literally doubled your write amplification.
Archived
This topic is now archived and is closed to further replies.