mnt vs ds1

ericg75

Explorer
Joined
Jun 6, 2013
Messages
52
I have questions about my TrueNAS regarding two data sets that show up.

My system config:
TrueNAS-12.0-U8.1 MB: Gigabyte Z87X-UD4H CPU: intel i5-4670K 4-thread RAM: 16GB
Drives: ada0 SanDisk SDSSDHP128G (boot-pool)
ada1 WDC wdpurx64tozy1 5TB (pool-ONE)
ada2 WDC wdpurx64tozy1 5TB (pool-ONE)
HD Controller: native-onboard
Network Card: native-onboard


In the code below there are two different data sets that I see on my machine. One is "mnt" and the other "ds1". The latter I created myself when I administered the machine...the first one (nmt) I do not recognize. Either way--- I am running into errors with both of these datasets when I use ROBOCOPY command to copy a large Windows10 directory structure (a photo library- approx: 35GB) over to my TrueNAS box.

I am not wanting to discuss the ROBOCOPY command here- only the status of my two datasets- permissions or security status.

Eventually I would like to develop scripts, using the ROBOCOPY command to copy/backup my photo library onto my TrueNAS machine. Essentially what are the differences between these two datasets- and I don't even know IF I am calling them the correct name! I am NEW to TrueNAS and still anxious to learn more about it.



C:\Windows\System32>ROBOCOPY E:\PHOTO_LIBRARY \\TRUENAS\mnt\ROBOCOPY_PL_8_29_2022 /E /Z /COPYALL /SECFIX /V /W:3 ------------------------------------------------------------------------------- ROBOCOPY :: Robust File Copy for Windows ------------------------------------------------------------------------------- Started : Monday, August 29, 2022 4:17:37 PM Source : E:\PHOTO_LIBRARY\ Dest : \\TRUENAS\mnt\ROBOCOPY_PL_8_29_2022\ Files : *.* Options : *.* /V /S /E /COPYALL /SECFIX /Z /R:1000000 /W:3 ------------------------------------------------------------------------------ 1 E:\PHOTO_LIBRARY\ 2022/08/29 16:17:37 ERROR 1307 (0x0000051B) Copying NTFS Security to Destination Directory \\TRUENAS\mnt\ROBOCOPY_PL_8_29_2022\ This security ID may not be assigned as the owner of this object. ------------------------------------------------------------------------------ Total Copied Skipped Mismatch FAILED Extras Dirs : 1 0 1 0 0 0 Files : 0 0 0 0 0 0 Bytes : 0 0 0 0 0 0 Times : 0:00:00 0:00:00 0:00:00 0:00:00 Ended : Monday, August 29, 2022 4:17:37 PM C:\Windows\System32>ROBOCOPY E:\PHOTO_LIBRARY \\TRUENAS\ds1\ROBOCOPY_PL_8_29_2022 /E /Z /COPYALL /SECFIX /V /W:3 ------------------------------------------------------------------------------- ROBOCOPY :: Robust File Copy for Windows ------------------------------------------------------------------------------- Started : Monday, August 29, 2022 4:18:32 PM Source : E:\PHOTO_LIBRARY\ Dest = \\TRUENAS\ds1\ROBOCOPY_PL_8_29_2022\ Files : *.* Options : *.* /V /S /E /COPYALL /SECFIX /Z /R:1000000 /W:3 ------------------------------------------------------------------------------ NOTE : Security may not be copied - Destination might not support persistent ACLs.
 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
On the TrueNAS side, their are mount points for the pool(s) and datasets. By default, TrueNAS uses;

/mnt/POOL/DATASET/SUB-DATASET

In general, you never want to write into the POOL, (aka "pool-ONE"), directly. But to use a dataset off of the pool. This allows you to manage data easier. You can have as many datasets or sub-datasets as seems reasonable.

You never want to write into TrueNAS' "/mnt". That exists on your boot-pool, which is of limited size and should never be used for data.


I am not familiar with MS-Windows or Robocopy, so I don't know if the reference you made to "mnt" is a dataset called "mnt". Or if you are trying to use the mount directory for mount points.

Can you verify the actual dataset names by logging into the TrueNAS and using this command?

zfs list -t all -r pool-ONE


Whence we have confirmed what the datasets are, perhaps someone else can assist with the MS-Windows permissions.
 

ericg75

Explorer
Joined
Jun 6, 2013
Messages
52
Thank you for the tip. Although the output is rather lenghty- I hope it sheds light on my situation.


root@truenas[~]# zfs list -t all -r poolONE NAME USED AVAIL REFER MOUNTPOINT poolONE 213G 5.12T 96K /mnt/poolONE poolONE/.system 30.0M 5.12T 112K legacy poolONE/.system/configs-a62da19985ae44c39132517d2464c41d 7.20M 5.12T 7.20M legacy poolONE/.system/cores 96K 1024M 96K legacy poolONE/.system/rrd-a62da19985ae44c39132517d2464c41d 15.8M 5.12T 15.8M legacy poolONE/.system/samba4 4.27M 5.12T 332K legacy poolONE/.system/samba4@wbc-1642712744 148K - 324K - poolONE/.system/samba4@wbc-1643745630 136K - 324K - poolONE/.system/samba4@wbc-1643917123 136K - 324K - poolONE/.system/samba4@update--2022-02-07-12-47--12.0-U7 108K - 332K - poolONE/.system/samba4@wbc-1644238155 108K - 332K - poolONE/.system/samba4@wbc-1644238323 136K - 332K - poolONE/.system/samba4@wbc-1645444320 136K - 332K - poolONE/.system/samba4@wbc-1645738650 136K - 332K - poolONE/.system/samba4@wbc-1645739834 136K - 332K - poolONE/.system/samba4@wbc-1648408267 144K - 332K - poolONE/.system/samba4@wbc-1648470934 120K - 332K - poolONE/.system/samba4@wbc-1648491065 116K - 328K - poolONE/.system/samba4@wbc-1652731005 144K - 332K - poolONE/.system/samba4@wbc-1652790280 144K - 332K - poolONE/.system/samba4@update--2022-05-17-12-37--12.0-U7 100K - 332K - poolONE/.system/samba4@wbc-1652791145 100K - 332K - poolONE/.system/samba4@wbc-1653408180 144K - 332K - poolONE/.system/samba4@wbc-1653918412 144K - 332K - poolONE/.system/samba4@wbc-1656361119 144K - 332K - poolONE/.system/samba4@wbc-1658057245 144K - 332K - poolONE/.system/samba4@wbc-1658177251 144K - 332K - poolONE/.system/samba4@wbc-1658679709 144K - 332K - poolONE/.system/samba4@wbc-1659268444 144K - 332K - poolONE/.system/samba4@wbc-1660048555 144K - 332K - poolONE/.system/samba4@wbc-1660242903 144K - 332K - poolONE/.system/samba4@wbc-1660311103 144K - 332K - poolONE/.system/samba4@wbc-1661168789 152K - 332K - poolONE/.system/samba4@wbc-1661799062 144K - 332K - poolONE/.system/services 96K 5.12T 96K legacy poolONE/.system/syslog-a62da19985ae44c39132517d2464c41d 2.31M 5.12T 2.31M legacy poolONE/.system/webui 96K 5.12T 96K legacy poolONE/ds1 181G 5.12T 181G /mnt/poolONE/ds1 poolONE/ds1@auto-2022-03-07_00-00 17.9M - 106G - poolONE/ds1@auto-2022-03-08_00-00 17.8M - 106G - poolONE/ds1@auto-2022-03-09_00-00 17.8M - 106G - poolONE/ds1@auto-2022-03-10_00-00 17.4M - 106G - poolONE/ds1@auto-2022-03-11_00-00 17.4M - 106G - poolONE/ds1@auto-2022-03-12_00-00 604K - 106G - poolONE/ds1@auto-2022-03-13_00-00 604K - 106G - poolONE/ds1@auto-2022-03-14_00-00 17.9M - 106G - poolONE/ds1@auto-2022-03-15_00-00 18.0M - 107G - poolONE/ds1@auto-2022-03-16_00-00 18.2M - 107G - poolONE/ds1@auto-2022-03-17_00-00 18.1M - 107G - poolONE/ds1@auto-2022-03-18_00-00 18.1M - 107G - poolONE/ds1@auto-2022-03-19_00-00 18.1M - 107G - poolONE/ds1@auto-2022-03-20_00-00 18.1M - 107G - poolONE/ds1@auto-2022-03-21_00-00 18.2M - 107G - poolONE/ds1@manual-2022-03-23_09-07 1.72M - 107G - poolONE/iocage 31.7G 5.12T 9.64M /mnt/poolONE/iocage poolONE/iocage/download 609M 5.12T 104K /mnt/poolONE/iocage/download poolONE/iocage/download/12.0-RELEASE 206M 5.12T 206M /mnt/poolONE/iocage/download/12.0-RELEASE poolONE/iocage/download/12.2-RELEASE 402M 5.12T 402M /mnt/poolONE/iocage/download/12.2-RELEASE poolONE/iocage/images 96K 5.12T 96K /mnt/poolONE/iocage/images poolONE/iocage/jails 28.9G 5.12T 104K /mnt/poolONE/iocage/jails poolONE/iocage/jails/Nextcloud 28.1G 5.12T 532K /mnt/poolONE/iocage/jails/Nextcloud poolONE/iocage/jails/Nextcloud@ioc_update_12.2-RELEASE-p12_2022-02-07_05-28-52 468K - 508K - poolONE/iocage/jails/Nextcloud@ioc_update_12.2-RELEASE-p13_2022-02-21_12-12-19 492K - 532K - poolONE/iocage/jails/Nextcloud/root 28.1G 5.12T 26.2G /mnt/poolONE/iocage/jails/Nextcloud/root poolONE/iocage/jails/Nextcloud/root@ioc_update_12.2-RELEASE-p12_2022-02-07_05-28-52 1020M - 2.32G - poolONE/iocage/jails/Nextcloud/root@ioc_update_12.2-RELEASE-p13_2022-02-21_12-12-19 939M - 25.9G - poolONE/iocage/jails/jail1 672K 5.12T 116K /mnt/poolONE/iocage/jails/jail1 poolONE/iocage/jails/jail1/root 556K 5.12T 708M /mnt/poolONE/iocage/jails/jail1/root poolONE/iocage/jails/rslSync 881M 5.12T 112K /mnt/poolONE/iocage/jails/rslSync poolONE/iocage/jails/rslSync/root 881M 5.12T 881M /mnt/poolONE/iocage/jails/rslSync/root poolONE/iocage/log 104K 5.12T 104K /mnt/poolONE/iocage/log poolONE/iocage/releases 2.15G 5.12T 104K /mnt/poolONE/iocage/releases poolONE/iocage/releases/12.0-RELEASE 708M 5.12T 96K /mnt/poolONE/iocage/releases/12.0-RELEASE poolONE/iocage/releases/12.0-RELEASE/root 708M 5.12T 707M /mnt/poolONE/iocage/releases/12.0-RELEASE/root poolONE/iocage/releases/12.0-RELEASE/root@jail1 104K - 707M - poolONE/iocage/r
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
You're posting the output using Inline Code, not Code--the latter is much more suitable for multi-line output like what you're using. To use code tags, click the kebab menu at the far right of the editor, and it will appear as an option. Like this:
1661895496658.png

The other issue is that you didn't post the full output of that command, perhaps because it was too long. Try it again without the snapshots: zfs list -r poolONE.
 

ericg75

Explorer
Joined
Jun 6, 2013
Messages
52
Here is that information... FYI: I did have Nextcloud module installed and running at one point- but I HAVE turned it OFF.

Code:
root@truenas[~]# zfs list -r poolONE
NAME                                                       USED  AVAIL     REFER
  MOUNTPOINTpoolONE                                                    213G  5.12T       96K
  /mnt/poolONEpoolONE/.system                                           30.2M  5.12T      112K
  legacypoolONE/.system/configs-a62da19985ae44c39132517d2464c41d  7.26M  5.12T     7.26M
  legacypoolONE/.system/cores                                       96K  1024M       96K
  legacypoolONE/.system/rrd-a62da19985ae44c39132517d2464c41d      16.0M  5.12T     16.0M
  legacypoolONE/.system/samba4                                    4.27M  5.12T      332K
  legacypoolONE/.system/services                                    96K  5.12T       96K
  legacypoolONE/.system/syslog-a62da19985ae44c39132517d2464c41d   2.30M  5.12T     2.30M
  legacypoolONE/.system/webui                                       96K  5.12T       96K
  legacypoolONE/ds1                                                181G  5.12T      181G
  /mnt/poolONE/ds1
poolONE/iocage                                            31.7G  5.12T     9.64M  /mnt/poolONE/iocage
poolONE/iocage/download                                    609M  5.12T      104K  /mnt/poolONE/iocage/download
poolONE/iocage/download/12.0-RELEASE                       206M  5.12T      206M  /mnt/poolONE/iocage/download/12.0-RELEASE
poolONE/iocage/download/12.2-RELEASE                       402M  5.12T      402M  /mnt/poolONE/iocage/download/12.2-RELEASE
poolONE/iocage/images                                       96K  5.12T       96K  /mnt/poolONE/iocage/images
poolONE/iocage/jails                                      28.9G  5.12T      104K  /mnt/poolONE/iocage/jails
poolONE/iocage/jails/Nextcloud                            28.1G  5.12T      532K  /mnt/poolONE/iocage/jails/Nextcloud
poolONE/iocage/jails/Nextcloud/root                       28.1G  5.12T     26.2G  /mnt/poolONE/iocage/jails/Nextcloud/root
poolONE/iocage/jails/jail1                                 672K  5.12T      116K  /mnt/poolONE/iocage/jails/jail1
poolONE/iocage/jails/jail1/root                            556K  5.12T      708M  /mnt/poolONE/iocage/jails/jail1/root
poolONE/iocage/jails/rslSync                               881M  5.12T      112K  /mnt/poolONE/iocage/jails/rslSync
poolONE/iocage/jails/rslSync/root                          881M  5.12T      881M  /mnt/poolONE/iocage/jails/rslSync/root
poolONE/iocage/log                                         104K  5.12T      104K  /mnt/poolONE/iocage/log
poolONE/iocage/releases                                   2.15G  5.12T      104K  /mnt/poolONE/iocage/releases
poolONE/iocage/releases/12.0-RELEASE                       708M  5.12T       96K  /mnt/poolONE/iocage/releases/12.0-RELEASE
poolONE/iocage/releases/12.0-RELEASE/root                  708M  5.12T      707M  /mnt/poolONE/iocage
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
OK, so you don't have a dataset called mnt/, and that's kind of to be expected--that'd be a pretty unusual dataset name. It's still possible that you'd have a share by that name (you'd see it under Sharing -> Windows Shares in the web UI), but again that'd be pretty unusual. So far, it's looking like the reason you're having problems with the first command is that it's referring to a nonexistent path.
 

ericg75

Explorer
Joined
Jun 6, 2013
Messages
52
Very good. I am more interested in learning why it is that I have "permission" errors (granted, while I am using ROBOCOPY in winders)....
I am able to write files, photos to both these /mnt AND /ds1 path names- but routinely get permission and ACL errors- as listed above in my 1st posting.
Yes: I do see a /mnt/poolONE/ds1 share. It is listed, as you pointed out, under Sharing > WindowsShares SAMBA in my TrueNAS console.
What (if anything) can you tell me about my ability to write to this 'share' and not get permission errors?
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
What you've shown doesn't indicate that you've been able to write anything to /mnt (which would make sense, since it doesn't exist), nor does it indicate permission errors or other problems in /ds1. You appear to be able to write data to /ds1 without errors.
 

ericg75

Explorer
Joined
Jun 6, 2013
Messages
52
Let me ask this: What method, application or process is appropriate for writing data from my Windows desktop PC's (3 of them) to the TrueNAS box? Specifically for writing large photo library directories. And- is syncing them possible too?
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Anything that can deal with a SMB share--which is just about anything under Windows--is appropriate. There's no reason that syncing isn't possible either--it all depends on the client software you're running on the Windows machines.
 

ericg75

Explorer
Joined
Jun 6, 2013
Messages
52
OK- that is good information and I appreciate your input! I'm satisfied and this can be CLOSED. /Eric G.
 
Top