![]() The above command showed that my ext4-formatted external drive happened to be on /dev/sdb1, so I mounted it as follows: sudo mount -t ext4 -o defaults /dev/sdb1 /media/plex Then, I listed my drives to see the device so I could mount it to the plex folder: sudo blkid -o list All I ended up doing is making a new folder under /media called "plex" so it was /media/plex, and gave it permissions plex:plex as follows: cd /media I did not have to edit any files or change my drive content permissions, or give plex access to my user account. PS: As mentioned, Plex has a good article on the subject, but they changed up the structure of their site, so it took me a while to find it from his link, so here's a more current link to the page: Plex Linux Permissions Guide This solved my issues for the two extra drives I've added to my HTPC. This can be done by repeating the following for all of your media library folders: chmod -R g+rX /media/// Now that Plex has access to the drive, you need to make sure that it has access to all files in the relevant directories. drwxr-xr-x+) that means that ACL controls are active for that file/directory. It may also be necessary to ensure that ACL permissions are properly configured, so the following might also be necessary: sudo setfacl -m g:plex:rx /media//įYI: If a file/directory displays a + symbol as part of its permissions (e.g. Now, you can modify the ownership of the relevant files and directory so that they are owned by $/" Next, add yourself to the plex user group by going to the Terminal and enter: sudo adduser "$USER" plex Is in the area for storing the options in the /etc/fstab file (the textbox under "Symbolic Icon Name")Īnd remount your HDD so that it will appear in the specified location. After a lot of tinkering I wound up going this route:Įdit the Mount Options (Disks -> "More Actions" (the two gears under the "Volumes" map) -> Edit Mount Options) such that: nosuid,nodev,nofail I think I'll do this tonight.You have to make sure that the user plex has access not only to the drive, but the folder that the drive is mounted in. It takes a good deal of time on my system, so I start it before going to bed. ![]() and more free space helps it work better. Also enough empty space since iDefrag uses swap files on the disc it boots from during defragging. I have a partition on a separate physical drive I call "Utility Boot Partition" and it is a bootable partition with just a basic system and utilities like iDefrag, Disk Utility, Carbon Copy Cloner and Disk Warrior on it. I also use iDefrag (although not recently and your post is changing my mind about that), and until recently I don't think defragging the volume you booted from was supported. Is there a particular reason you choose to defrag your system disk from another disk? I keep a second OS on a partition there that I use for testing updates as well. Phil O wrote: I clone by boot drive there and it acts as my boot drive backup and I also boot from it when I want to defrag my actual boot drive. vintage according to AppleĪt least it will serve me much faster now, until I can't wait to try Lion and buy a new laptop I was going to buy more RAM for it, but I shouldn't throw money away for a vintage computer. Maybe that's why I underestimated the benefits of defragmenting my Laptop. I never let my studio machines get that fragmented, of course. Opening apps now doesn't take for ever, and the Menu Meters' disk usage meter doesn't show constant disk access for "no reason" anymore. A totally dramatic difference.Ĭonservatively, I estimate that this made a 50% increase in overall performance. It took the computer like 4-5 hours to finish. There were holes and red sectors all over the place. When I opened iDefrag, I laughed out loud when I saw its estimation. NO WONDER! The disk was so fragmented it was looking for bits and pieces of files all over the slow encrypted disk. Even a stupid new Safari window would take up to 15-20 seconds to open.Īnd then it came to me. Every time I opened something it took for ever. ![]() just selecting a photo made the disk spin like crazy. Yesterday I was doing a photo collage, and it was just impossible to work like this. I got used to this at the same pace, and started getting more annoyed every week. Add to this that a couple of months ago I re-arranged most of my file system, and I must've deleted or moved around 100 GB worth of info.ĭuring the last 6 months or so, the computer performance started to diminish little by little, so it was not obvious. Also, my HD is encrypted, which makes performance take a hit. It's an early Intel model, so it's not the fastest there is. I don't know why, but the only computer I had never defragmented is my "office work" MacBook Pro.
0 Comments
Leave a Reply. |