allroy1975 Posted October 4, 2015 Posted October 4, 2015 I've been running Unraid since I think about 2009 picking up and losing knowledge as needed. Mostly hacking and slashing my way through it, so I've got some old junk here and there, and now that I'm on 6.3.1 and stuff is amazing, I figured I'd go ahead and do some cleanup. Removing old shares was easy enough...until i got to my old YAMJ share...I don't run anything that needs YAMJ anymore (plex FTW!) and so I'm deleting everything in there...when I notice there's a /yamj/usr direcotry.... and stuff has been modified in it TODAY. I haven't used yamj in a couple years... so i start digging and it looks like \\tower\yamj\usr\local\emhttp contains folders like "boot" and "mnt" and other folders ....these appear to be live files..since when I renamed a test file in \\tower\yamj\usr\local\emhttp\boot\ then checked \boot the file had changed. I've run mount and df but neither shows where this could be mounting from? Ideas? thanks in advance! Matt
trurl Posted October 4, 2015 Posted October 4, 2015 From the unRAID command line, post the result of ls -lah /mnt/user/yamj/usr
allroy1975 Posted October 4, 2015 Author Posted October 4, 2015 Thanks!!! I mean...I haven't googled this command yet, to see what I just asked of that directories permissions, but...I feel like you're trying to help. root@Tower:~# ls -lah /mnt/user/yamj/usr total 25K drwxrwxrwx 1 nobody users 288 Oct 4 08:41 ./ drwxrwxrwx 1 nobody users 48 Oct 4 11:09 ../ lrwxrwxrwx 1 nobody users 8 Mar 4 2014 adm -> /var/adm/ drwxrwxrwx 1 nobody users 17K Feb 27 2014 bin/ drwxrwxrwx 1 nobody users 2.0K Feb 25 2014 doc/ drwxrwxrwx 1 nobody users 72 Oct 4 08:33 include/ drwxrwxrwx 1 nobody users 6.9K Oct 4 08:38 lib/ drwxrwxrwx 1 nobody users 104 Oct 4 11:02 local/ drwxrwxrwx 1 nobody users 96 Oct 4 08:40 man/ drwxrwxrwx 1 nobody users 264 Oct 4 08:40 sbin/ lrwxrwxrwx 1 nobody users 10 Mar 4 2014 spool -> /var/spool/ lrwxrwxrwx 1 nobody users 8 Mar 4 2014 tmp -> /var/tmp/
allroy1975 Posted October 4, 2015 Author Posted October 4, 2015 Ok, so you shouldn't (hopefully) have to hold my hand through all of this..I think I found what I'm looking for root@Tower:~# ls -lah /mnt/user/yamj/usr/local/emhttp total 0 drwxrwxrwx 1 nobody users 168 Oct 4 11:02 ./ drwxrwxrwx 1 nobody users 104 Oct 4 11:02 ../ lrwxrwxrwx 1 nobody users 5 Mar 4 2014 boot -> /boot/ lrwxrwxrwx 1 nobody users 8 Mar 4 2014 log -> /var/log/ lrwxrwxrwx 1 nobody users 4 Mar 4 2014 mnt -> /mnt/ drwxrwxrwx 1 nobody users 232 Feb 27 2014 plugins/ lrwxrwxrwx 1 nobody users 17 Mar 4 2014 state -> /var/local/emhttp/ root@Tower:~# I believe those are mount points? or am I using the wrong terminology? Sorry...mostly a windows guy....that's why I explained my hacking my way through flavors of unraid and ending up with a mess like this without understanding or knowing how I did it. so...how do I safely unmountpoint them? or whatever?
allroy1975 Posted October 4, 2015 Author Posted October 4, 2015 my google-fu is telling me these are symbolic links and I might be able to just delete the link using a rm command but typing "rm mnt" scares the dickens out of me. though...if it's just a link, it should delete that link, if it's a folder it should complain that mnt is a folder and I need to use rmdir right? but I user rm -rf all the time to remove folders.....not sure.. Edit: yep, i just suck at linux too much. Once I did the ls -lah I could see the symlinks were different than regular folders since they had an @ at the back of them. That gave me more stuff to google. Long story short, that's what they were. Symlinks and I was able to delete just the link with a simple rm command. Thanks trurl for pushing me in the right direction. ugh...I couldn't figure it out because I suck at the linux equivalent of "dir". I'm ashamed, but grateful!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.