SOLVED Adding media to FreeNAS?

Status
Not open for further replies.

DLMJOSLIN

Dabbler
Joined
May 25, 2016
Messages
41
How do I get my media collection onto the drives in the server? I have tried copying them through the shares but I either get errors for permissions, I have to copy one file at a time, or my files can't be copied because they are "invisible"? Is there a more efficient method for doing this. I have close to 3 TB of media and copying them one file at a time isn't feasible. Please help.
 

Mirfster

Doesn't know what he's talking about
Joined
Oct 2, 2015
Messages
3,215

pirateghost

Unintelligible Geek
Joined
Feb 29, 2012
Messages
4,219
A. Fix your permissions issue.

B. Copy files with a proper utility that will resume. Robocopy works well on Windows.
 

DLMJOSLIN

Dabbler
Joined
May 25, 2016
Messages
41
How are you trying to copy them? Are you using RoboCopy, command line, trying to Copy/Paste, etc?
I have been trying to copy them by drag and drop into the shared folder. I'm running Mac OSX 10.9.5
 

DLMJOSLIN

Dabbler
Joined
May 25, 2016
Messages
41
A. Fix your permissions issue.

B. Copy files with a proper utility that will resume. Robocopy works well on Windows.
From that I know the permissions are all good to go. But then again I don't know too much. I have a Mac so most of the tutorials or threads dont talk about Mac, or they don't have too much info on FreeNAS 9.10
 

Mirfster

Doesn't know what he's talking about
Joined
Oct 2, 2015
Messages
3,215

pirateghost

Unintelligible Geek
Joined
Feb 29, 2012
Messages
4,219
From that I know the permissions are all good to go. But then again I don't know too much. I have a Mac so most of the tutorials or threads dont talk about Mac, or they don't have too much info on FreeNAS 9.10
If permissions were good you wouldn't have trouble copying files....
 

DLMJOSLIN

Dabbler
Joined
May 25, 2016
Messages
41
If permissions were good you wouldn't have trouble copying files....
The permissions error only happens when it comes to certain movie files, not the share itself. I'll upload a snapshot when i find it.
 

DLMJOSLIN

Dabbler
Joined
May 25, 2016
Messages
41
So instead of continuing to try this my way. What is the correct way to get media files/ files onto the NAS box?
 

pirateghost

Unintelligible Geek
Joined
Feb 29, 2012
Messages
4,219
So instead of continuing to try this my way. What is the correct way to get media files/ files onto the NAS box?
You have several options.

Most people just use the CIFS shares and copy paste.

You could connect via NFS and copy paste

You could rsync

You could scp

You could sftp

You could FTP

There is no "correct way". Just the way that works for you.

It sounds like you have a configuration issue that you need to resolve
 

DLMJOSLIN

Dabbler
Joined
May 25, 2016
Messages
41
You have several options.

Most people just use the CIFS shares and copy paste.

You could connect via NFS and copy paste

You could rsync

You could scp

You could sftp

You could FTP

There is no "correct way". Just the way that works for you.

It sounds like you have a configuration issue that you need to resolve
probably so, I'll continue to troubleshoot. Thank you for your quick response time.
 

pirateghost

Unintelligible Geek
Joined
Feb 29, 2012
Messages
4,219
probably so, I'll continue to troubleshoot. Thank you for your quick response time.
You haven't stated what files are "invisible", where your files currently are located, what filesystem is on that location, what client access you have tried, or what the actual permissions error is.

It would go a long way to helping if you provided better details than "I tried through shares and it doesn't work"
 

DLMJOSLIN

Dabbler
Joined
May 25, 2016
Messages
41
You haven't stated what files are "invisible", where your files currently are located, what filesystem is on that location, what client access you have tried, or what the actual permissions error is.

It would go a long way to helping if you provided better details than "I tried through shares and it doesn't work"


The files I want to copy are on a external HDD connected to my mac via usb 2.0, the NAS box is hard wired via Ethernet cable. The files that randomly say are invisible are not hidden, they too are on the external HDD. The files that show an error for permissions are on the same external HDD. I’, new to this so I’m unsure what you mean by “client access” and “file system”. I will attach screenshots with this post for visual aide. Since I’m running OSX I thought it was only logical to have an apple share, even though OSX supports CIFS shares.


The AFP share is set up as follows:


Path:/mnt/volume/Media

Name: Mac_Share

Share Comment:

Allow List:

Deny List:

Read-Only Access:

Read-Write Access:

Time Machine

Zero Device Numbers:

No Stat:

AFP3 Unix Privs: Selected

Default file permissions: Owner (Read, Write, Execute), Group (Read, Write, Execute), Other (read)

Default directory permissions: Owner (Read, Write, Execute), Group (Read, Write, Execute), Other (Read, Write, Execute).


As for the storage datasets themselves their permissions are set as follows:


Owner (user): Root

Owner (group): Wheel

Mode: Owner (Read, Write, Execute), Group (Read, Write, Execute), Other (Read, Write, Execute).

Permission type: Mac


Dataset Options:


Compressions Level: Inherit (lz4)

Share Type: Mac

Enable atime: Inherit (on)

Quota for this dataset: 0

Quota for this dataset and all children: 0

Reserved space for this dataset: 0

Reserved space for this dataset and all children: 0

ZFS Deduplication: Inherit (off)
 

Attachments

  • AFP Share.png
    AFP Share.png
    52.7 KB · Views: 437
  • Data set permissions.png
    Data set permissions.png
    47 KB · Views: 448
  • dataset options.png
    dataset options.png
    61.7 KB · Views: 455
  • Invisible file.png
    Invisible file.png
    13.8 KB · Views: 395
  • missing file.png
    missing file.png
    36.5 KB · Views: 394
  • permissions error.png
    permissions error.png
    19.2 KB · Views: 428

pirateghost

Unintelligible Geek
Joined
Feb 29, 2012
Messages
4,219
I recommend using CIFS shares instead of AFP.

The error messages indicate that the permissions issue is on the external drive itself, not the NAS. From what I can tell at least.

By client access and protocol I meant how you were accessing the NAS, and how you were accessing the source data. You answered both of those unknowingly.

I would switch over to CIFS and try that instead. AFP is a POS
 

DLMJOSLIN

Dabbler
Joined
May 25, 2016
Messages
41
I recommend using CIFS shares instead of AFP.

The error messages indicate that the permissions issue is on the external drive itself, not the NAS. From what I can tell at least.

By client access and protocol I meant how you were accessing the NAS, and how you were accessing the source data. You answered both of those unknowingly.

I would switch over to CIFS and try that instead. AFP is a POS
Definitely will do that and see if there is a change, I'll update afterward for any other Mac user having the same issue.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504

DLMJOSLIN

Dabbler
Joined
May 25, 2016
Messages
41
How is that HDD formatted? If it uses a filesystem that FreeNAS can read, it sounds like the easiest thing to do would be to use Import Disk from the web UI: http://doc.freenas.org/9.10/freenas_storage.html#import-disk

And concur with @pirateghost about using CIFS instead of AFP--Apple is going to CIFS for almost everything (except Time Machine, AFAIK) anyway, and *nix support for CIFS is much better.
HDD is Formatted as MS-DOS (FAT 32). As for importing the drive does it need to be connected to the NAS box via usb?
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
As for importing the drive does it need to be connected to the NAS box via usb?
Connected to the NAS box, yes. I don't know that it has to be via USB, but if it's a USB drive that would seem like the obvious way to do it.
 

DLMJOSLIN

Dabbler
Joined
May 25, 2016
Messages
41
Quick update! The first and luckily the only change I had to make was creating a CIFS share, then drag and drop my media files. It's been cake ever since, I appreciate all of the feedback and guidance.
 
Status
Not open for further replies.
Top