Access the OS Drive from a windows box (share creation?)

  • Hey,


    I'm running the latest OMV and would like to be able to access the OS
    drive of the NAS from my Windows box.


    Is it possible to create a share to the OS drive at all? and a share that is
    from the / (root) directory?


    Also can any1 recomment a good file browser for the EXT4 partition? (the
    extplorer plugin is not so friendly).


    Thanks.

    • Offizieller Beitrag

    No, it is not possible to share the OS drive. Why do you want to? Sharing the root (/) directory would be dangerous in my opinion.


    extplorer is the best in my opinion. Here are some others I tried:


    http://phpfm.sourceforge.net/
    https://github.com/misterunknown/ifm/
    http://encode-explorer.siineiolekala.net/

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Could you explain why you want to share the OS drive?


    And what is bugging you on extplorer?


    Greetings
    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

  • Well, i'm using the OS drive (SSD) for the /incomplete drive for
    sabnzbd, due to the speed i can max out my line (200/5) and the
    par2 operations are faster.


    If a DL fails, the files remain there and i need to copy it to the array in order to fix it.
    using the extploere is kinda clumsy... dunno i though i could just access it as a share
    to make the operation easier.

  • Hmm... when the folder is owned by the group users you should be able to copy it via extplorer just fine.


    You could symlink the incomplete folder into an already existing shared folder.


    Greetings
    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

  • Please explain :)


    I've executed: ln -s /home/sabnzbd/.sabnzbd/Downloads/incomplete sabnzbd


    And I can see the symlink in my share, however when trying to access from windows i get an "access denied" prompt.


    My share is defined as "Only Guest".


    Thanks.

  • /home/sabnzbd/.sabnzbd/Downloads/incomplete


    stat /home/sabnzbd/.sabnzbd/Downloads/incomplete


    You also need to put the follow symlinks option into the samba share.


    Greetings
    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!


  • I've executed the above inside my share... i can see the symlink, and while i'm using SSH i can also access it, (logged as admin).
    When trying to double click is using windows explorer from my desktop, (the share is "only guests" so no login credentials), i get
    an access denied...


    Anyway to make the /Home directly accessible by the all/guest and such?


    My linux knowledge is next to none.


    Thanks.

  • stat /home/sabnzbd/.sabnzbd/Downloads/incomplete


    You also need to put the follow symlinks option into the samba share.


    Greetings
    David


    Greetings
    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

  • I don't understand... the stat command just gives some kind of table...


    And I wanted to see it. ;)


    But, for it to work you have to enable follow symlinks in the extra options for that share...


    Greetings
    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

  • File: `/home/sabnzbd/.sabnzbd/Downloads/incomplete'
    Size: 4096 Blocks: 8 IO Block: 4096 directory
    Device: 851h/2129d Inode: 1179666 Links: 2
    Access: (0777/drwxrwxrwx) Uid: ( 1001/ sabnzbd) Gid: ( 100/ users)
    Access: 2014-10-25 10:43:35.201574595 +0300
    Modify: 2014-10-25 17:13:17.704842497 +0300
    Change: 2014-10-25 17:13:17.704842497 +0300
    Birth: -

  • Code
    follow symlinks = yes
    wide links = yes


    Put this into the global options for samba and for each share.


    Greetings
    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

  • Still no go...


    Here's the steps i've taken:


    1. moved to the share dir under /meda/uuid of my share
    2. did the ln -s command.
    3. added to the share: follow symlinks = yes, wide links = yes, allow insecure wide links = yes.
    4. The share is set as Guest Only and is accessible with no pass.


    Still no go... when trying to double click it from my windows box, I get: "you do not have permission to access..."


    Thanks.

  • stat /path/to/shared/folderstat symlink


    Greetings
    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

  • stat /home/sabnzbd/.sabnzbd/Downloads/incomplete


    File: `/home/sabnzbd/.sabnzbd/Downloads/incomplete'
    Size: 4096 Blocks: 8 IO Block: 4096 directory
    Device: 851h/2129d Inode: 1179666 Links: 2
    Access: (0777/drwxrwxrwx) Uid: ( 1001/ sabnzbd) Gid: ( 100/ users)
    Access: 2014-10-25 18:50:18.644660137 +0300
    Modify: 2014-10-25 17:13:17.704842497 +0300
    Change: 2014-10-25 17:13:17.704842497 +0300
    Birth: -


    stat /media/d6f43589-433e-4808-a508-d587f259e380/Work/DL/Incomplete


    File: `/media/d6f43589-433e-4808-a508-d587f259e380/Work/DL/Incomplete' -> `/home/sabnzbd/.sabnzbd/Downloads/incomplete'
    Size: 43 Blocks: 0 IO Block: 4096 symbolic link
    Device: 900h/2304d Inode: 147063755 Links: 1
    Access: (0777/lrwxrwxrwx) Uid: ( 1000/ syn) Gid: ( 100/ users)
    Access: 2014-10-25 18:50:08.316660578 +0300
    Modify: 2014-10-25 18:50:05.992660640 +0300
    Change: 2014-10-25 18:50:05.992660640 +0300
    Birth: -


    stat Incomplete


    File: `Incomplete' -> `/home/sabnzbd/.sabnzbd/Downloads/incomplete'
    Size: 43 Blocks: 0 IO Block: 4096 symbolic link
    Device: 900h/2304d Inode: 147063755 Links: 1
    Access: (0777/lrwxrwxrwx) Uid: ( 1000/ syn) Gid: ( 100/ users)
    Access: 2014-10-25 18:50:08.316660578 +0300
    Modify: 2014-10-25 18:50:05.992660640 +0300
    Change: 2014-10-25 18:50:05.992660640 +0300
    Birth: -

  • /media/d6f43589-433e-4808-a508-d587f259e380/Work/DL/Incomplete


    Which is the shared folder, incomplete or DL or Work?


    Greetings
    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

  • "Incomplete" is the symlink i created... (which points to /home/sabnzbd/.sabnzbd/Downloads/incomplete)


    the "true" directory ends at: /Media/UUID/Work/DL


    when i do "cd incomplete" (under the share) it works... only under ssh though...

  • Could you do me the favor and restart both your NAS and your Windows Client? It should work with your settings that you have right now.


    Greetings
    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!