Jump to content

Freenas Plex question: somehow with all my tinkering, I 've managed to screw up my directory tree


G+_Matthew Bowe
 Share

Recommended Posts

Freenas/Plex  question: somehow with all my tinkering, I've managed to screw up my directory tree. It has always been \mnt\Plex\Movies  but now somehow I have a second mnt (\mnt\Plex\mnt\Plex\...) There's an infinite loop and the volume thinks it's hit capacity.  How do I fix this without deleting the entire library of movies?

Link to comment
Share on other sites

umount it.  Manually remount in a different /mnt/   directory (Plex2? will have to mkdir this new mount point.) And see if you get that infinite loop.

 

You could also just rename it (mv command) and see.

 

Its odd that it doesn't error out when it goes to the second /mnt level since the directory shouldn't exist. 

Verify the contents of /mnt/Plex.

Check contents of the /mnt/Plex/mnt/Plex....

 

See what calls the mount: rc.local, ~/.bashrc, cron job, and the like.

sounds like script 1 calls script 2 and script 2 is calling back to scrtipt 1

Link to comment
Share on other sites

Well, now I think I misdiagnosed it. I have jails stored in three different places. (not by choice) FreeNas says I only have the one jail in the one place, but the other two jail locations ( I think they're just templates) are gobbling up the entire volume. I tried deleting them but almost every file has schg flags. Is there a way to force override delete?

Link to comment
Share on other sites

Ah!  Welcome to 1970!

(and its umount, not the intuitive unmount)

 

umount /mnt/Plex

 

mounting is a whole other story.  Need to know the device (in /dev  like /dev/sda1 for 1 partition on sata drive A) and usually the filesystem and possibly other parameters.

 

But in general with *nix:

--help

      Will show a help screen (adding a " | more" at the end will let you go page by page)

 

man will display the manual

 

df -h will show Disk Free space.

 

Other nice tip: Tab completion

if typing out a long dir/file-name, first few letters and hit tab, it will fill in the rest (or more of it if there are others up to that point)

Link to comment
Share on other sites

 Share

×
×
  • Create New...