Jump to content

So, I threw together some old shitty hardware in order to fool around with servers. I am using FreeNAS, and would like to set it up so that it appears like a drive attached to my PC. How would I go about this?

Just a guy who peaked at building back in the days of the GTX 980. If you see me here, assume i have technical knowledge akin to a committed hobbyist builder back then. If something's changed, you'll need to tell me(nicely plz). I'm probably asking for help with the modern build scene since I have no clue what's going on.

Link to comment
https://linustechtips.com/topic/603861-freenas-basic-file-setup/
Share on other sites

Link to post
Share on other sites

3 minutes ago, waggythegeek said:

So, I threw together some old shitty hardware in order to fool around with servers. I am using FreeNAS, and would like to set it up so that it appears like a drive attached to my PC. How would I go about this?

Read the documentation that FreeNas provides.

 

https://doc.freenas.org/9.3/freenas.html

Link to comment
https://linustechtips.com/topic/603861-freenas-basic-file-setup/#findComment-7826701
Share on other sites

Link to post
Share on other sites

Set up smb/cifs from the gui, should be straight forward

then in windows go to network, find the drive, right click and map it

                     .
                   _/ V\
                  / /  /
                <<    |
                ,/    ]
              ,/      ]
            ,/        |
           /    \  \ /
          /      | | |
    ______|   __/_/| |
   /_______\______}\__}  

Spoiler

[I5-12600k | 32gb DDR5 6000 | RTX5070 | 2x1tb M.2]

 

[Ryzen 5 1600 | 16gb DDR4 3200 | GTX1030 | 4x 8tb HDD] 

 

Link to comment
https://linustechtips.com/topic/603861-freenas-basic-file-setup/#findComment-7826714
Share on other sites

Link to post
Share on other sites

2 minutes ago, RedWulf said:

Set up smb/cifs from the gui, should be straight forward

then in windows go to network, find the drive, right click and map it

repeatedly get "access is denied". Entered root password, same message.

Just a guy who peaked at building back in the days of the GTX 980. If you see me here, assume i have technical knowledge akin to a committed hobbyist builder back then. If something's changed, you'll need to tell me(nicely plz). I'm probably asking for help with the modern build scene since I have no clue what's going on.

Link to comment
https://linustechtips.com/topic/603861-freenas-basic-file-setup/#findComment-7826719
Share on other sites

Link to post
Share on other sites

2 minutes ago, waggythegeek said:

repeatedly get "access is denied". Entered root password, same message.

Have you checked the permissions on the share from the UI? its better to set up an account other than root anyways. 

You may want to just enable guest access for the time being to check if it works.

I'm actually hung up on a simular issue with nas4free at the moment. 

                     .
                   _/ V\
                  / /  /
                <<    |
                ,/    ]
              ,/      ]
            ,/        |
           /    \  \ /
          /      | | |
    ______|   __/_/| |
   /_______\______}\__}  

Spoiler

[I5-12600k | 32gb DDR5 6000 | RTX5070 | 2x1tb M.2]

 

[Ryzen 5 1600 | 16gb DDR4 3200 | GTX1030 | 4x 8tb HDD] 

 

Link to comment
https://linustechtips.com/topic/603861-freenas-basic-file-setup/#findComment-7826732
Share on other sites

Link to post
Share on other sites

Have you read any of the documentation?

 

A basic overview of you need to do for a CIFS share is to:

  1. Go to storage, create a dataset.
  2. Assign name, size, etc to dataset. You also need to set some permissions here, and the permission type you will want to set to Windows.
  3. Save dataset.
  4. Go to sharing, CIFS and create a new CIFS share.
  5. The path needs to be where you just created your dataset at. Give it a name and for now, tick the "allow guest access" which should help permissions (can go back and change these later)
  6. Save
  7. Go to services, turn on CIFS share.
  8. Try browse to share.
  9. If you get permission denied, go back to your dataset, edit permissions, assign owner as "everyone".

See if that helps.

 

As a sidenote to your original query, if you wanted it to appear as if it was a drive connected to your computer, you could add it as an iscsi drive. That way the drive appears as if connected to the computer physically.

System/Server Administrator - Networking - Storage - Virtualization - Scripting - Applications

Link to comment
https://linustechtips.com/topic/603861-freenas-basic-file-setup/#findComment-7827390
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×