TrueNAS Core: Configuring Shares, Permissions, Snapshots & Shadow Copies

  Рет қаралды 76,005

Lawrence Systems

Lawrence Systems

Күн бұрын

lawrence.video/truenas
ZFS Is a Cow
• Why The ZFS Copy On Wr...
Our TrueNAS Tutorials
lawrence.technology/truenas-t...
Connecting With Us
---------------------------------------------------
+ Hire Us For A Project: lawrencesystems.com/hire-us/
+ Tom Twitter 🐦 / tomlawrencetech
+ Our Web Site www.lawrencesystems.com/
+ Our Forums forums.lawrencesystems.com/
+ Instagram / lawrencesystems
+ Facebook / lawrencesystems
+ GitHub github.com/lawrencesystems/
+ Discord / discord
Lawrence Systems Shirts and Swag
---------------------------------------------------
►👕 lawrence.video/swag
AFFILIATES & REFERRAL LINKS
---------------------------------------------------
Amazon Affiliate Store
🛒 www.amazon.com/shop/lawrences...
UniFi Affiliate Link
🛒 store.ui.com?a_aid=LTS
All Of Our Affiliates that help us out and can get you discounts!
🛒 lawrencesystems.com/partners-...
Gear we use on Kit
🛒 kit.co/lawrencesystems
Use OfferCode LTSERVICES to get 10% off your order at
🛒 lawrence.video/techsupplydirect
Digital Ocean Offer Code
🛒 m.do.co/c/85de8d181725
HostiFi UniFi Cloud Hosting Service
🛒 hostifi.net/?via=lawrencesystems
Protect you privacy with a VPN from Private Internet Access
🛒 www.privateinternetaccess.com...
Patreon
💰 / lawrencesystems
⏱️ Timestamps ⏱️
00:00 TrueNAS Core Permissions
02:08 Create user/groups
03:18 Create Dataset
04:58 Set Permissions
06:32 Strip ACL
07:00 Create Snapshots
09:16 Create Shares
10:53 Testing Shares
13:09 TrueNAS Volume Shadow Copies
14:23 Troubleshooting Permissions
#TrueNAS #NAS #Storage

Пікірлер: 94
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS 2 жыл бұрын
ZFS Is a Cow kzfaq.info/get/bejne/pNJyi7uV35aue3U.html Our TrueNAS Tutorials lawrence.technology/truenas-tutorials/ ⏱ Timestamps ⏱ 00:00 TrueNAS Core Permissions 02:08 Create user/groups 03:18 Create Dataset 04:58 Set Permissions 06:32 Strip ACL 07:00 Create Snapshots 09:16 Create Shares 10:53 Testing Shares 13:09 TrueNAS Volume Shadow Copies 14:23 Troubleshooting Permissions
@TrueNAS
@TrueNAS 2 жыл бұрын
Fantastic video as always, Tom! New studio is looking great, keep it up! We love to see the growth of your channel!
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS 2 жыл бұрын
Glad you enjoy it!
@ws2940
@ws2940 2 жыл бұрын
This video was easy to comprehend. Thank you for making it.
@ricardobornman1698
@ricardobornman1698 Жыл бұрын
As usual you are a scholar and a gentleman. Many thanks Tom.
@TheGrowOp
@TheGrowOp Жыл бұрын
Love these tutorials. Someone gave me an R710 for free and I know absolutely nothing about servers but this dude helped me get an SMB up and running for my Steam Deck to install games on!
@Techieguy93
@Techieguy93 2 жыл бұрын
Excellent tutorial. Straight to the point, and concise!
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS 2 жыл бұрын
Thanks
@johnnydavis4338
@johnnydavis4338 Жыл бұрын
Thanks from Germany. That video was very helpful to me.
@benoitcloutier6228
@benoitcloutier6228 2 жыл бұрын
Sir! You are soooo good at explaining and the fact you add your « best practices » in these videos has to be the biggest added value … (for me anyway) I know I recommend your videos as reference material for friends family and colleagues.
@mineturte
@mineturte 11 ай бұрын
sharing best practices is the true mark of a professional ;P
@Foojaleeckalikeelamaka
@Foojaleeckalikeelamaka 2 ай бұрын
What a helpful, well put together video presented in an engaging way. Really appreciate you turning something dry & dull like permissions in a Samba server into something I can watch without wanting to blow my brains out :D
@ewenchan1239
@ewenchan1239 2 жыл бұрын
Thank you for making this video!!! TrueNAS is certainly interesting, but there are some stuff that they present that are a little bit out of order depending on what it is that you are trying to do (or that you have to jump around in the menus to get said TrueNAS to do what you want it to do, which also means that you need to know to jump around the menus).
@Justin-ju8ef
@Justin-ju8ef Жыл бұрын
Thanks Tom your the best, one line in this Video helped me so much "If there were no snapshots when SMB share created windows won't see previous version until SMB restarted" again thanks :) Love your work.
@elpookay
@elpookay Жыл бұрын
once again, you saved the day. thank you 🙏
@kodemasterx
@kodemasterx Жыл бұрын
Thank you kindly for sharing this video, I watched some other tutorials, and they all had some confusing details that didn't make sense to me, but this one was well explained with granular details. Thanks again! I dropped a sub as well...
@CBRFFan
@CBRFFan 2 жыл бұрын
Thank you so much for the explanation it's AWESOME! please keep making those videos maybe something about securing the data creating jails and so on.
@lordofentropy
@lordofentropy 8 ай бұрын
Thanks for this informative yet concise explanation. I tried a couple others first and they generally just rambled on and on about stuff that really didn't matter when I just wanted to get the shares working properly for my Windows machines; one guy used two parts at like 45 mins each covering this same topic and by the end of the first part, still hadn't got a share working properly.
@nixxblikka
@nixxblikka 2 жыл бұрын
Very good video , thanks Tom
@harireddy2242
@harireddy2242 3 ай бұрын
Thanks for the help❤
@thaghoststar
@thaghoststar 2 жыл бұрын
Excellent Video!
@mistabla
@mistabla 2 жыл бұрын
You are my hero.
@cyriltemerev71
@cyriltemerev71 Жыл бұрын
Note for 5:03: I found the hard way that if you using trueness with AD then it seems that the way to go is to not touch and live as is the default root user and wheel group in the ACL manager. And set permissions just by adding AD user and groups in the ACL.
@essdee800
@essdee800 2 жыл бұрын
Great info.
@sfsfsdfsdification
@sfsfsdfsdification 2 жыл бұрын
Great tutorial! Can you do one for TrueNas Scale? A little explanation on how to plan/divide drives into vdevs (nothing as crazy as 60 drives) would be very helpful (im thinking SOHO).
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS 2 жыл бұрын
I might eventually do one for Scale, but they work the same as Core, just a slightly different UI. I already have the planning/dividing video here kzfaq.info/get/bejne/Y6eenquUnLSUqoE.html
@nsp86
@nsp86 2 жыл бұрын
Please make one for SCALE also. Only reason I havent switched, is because permissions seems to work really different over there
@GreySkullification
@GreySkullification Жыл бұрын
I built my first real viable home-Server using FreeNas thanks to you and your videos and all with hardware that I had accumulated over the past two years. Thank you Tom! In regards to AD/Samba Shares and USERS retaining access via old tokens, would a server reboot serve this purpose as well?
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS Жыл бұрын
Rebooting the server should work to clear any cached credentials.
@EduardoReyesDPM
@EduardoReyesDPM 2 жыл бұрын
Awesome video....can you do a samba and nfs with a linux client? and also how you would edit fstab to make it mount automatically
@sanderdelft
@sanderdelft 2 жыл бұрын
I spent a good few hours mounting a SMB share in Linux over the last few days. The issue I encountered was that the default ownership is always root. Chown doesn't work in this case. Add the uid and gid to fstab in order to change ownership to another account than root. Unmount and remount (or reboot) in order for this to work. Hopefully this will save someone some time.
@PaulBunkey
@PaulBunkey Жыл бұрын
Hi, great tutorial! Would reloading SMB service on TrueNAS do the refreshing of changed permissions? What if we want "marcus" out forcefully?
@JasonsLabVideos
@JasonsLabVideos 2 жыл бұрын
Love Free-Nas And now True nas ! Going on 7 years with this software !
@goldstaraviationgreece9020
@goldstaraviationgreece9020 2 жыл бұрын
Fantastic tutorial, however there are complications with credentials even in simple cases. E.g. having already a shared folder with a user (tom), makes it impossible to mount a second folder (second share, second user - marcus). Windows deny all access.
@Labombab
@Labombab Жыл бұрын
Nice video, but it would be nice to have an updated video which explains how to configure shares and permissions for the Truenas Scale version. Because a lot has changed.
@eloimartinez9446
@eloimartinez9446 2 жыл бұрын
Could you do it in scale?
@DanMackAlpha
@DanMackAlpha Жыл бұрын
The best explainer on this process I've seen. Thank you. Quick question, when I select Add Dataset, there is no Share Type menu entry for me. This is at 04:49 in the video that option ; I'm running TrueNAS Core 13.0-U3.1. Any ideas?
@DanMackAlpha
@DanMackAlpha Жыл бұрын
Well, i restarted the SMB service, deleted and recreated a dataset and now it's working.
@kbertable
@kbertable Жыл бұрын
Thanks for your detailed explanations and a happy new year. I have a Truenas instance running. The host allow/deny parameters in the smb share don’t seem to be working for me when denying a specific subnet/up address. Anyone got a clue?
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS Жыл бұрын
Nope, post in their forums with your config details.
@miguellombana9847
@miguellombana9847 2 жыл бұрын
Being new to Truenas I just built a new storage server to replace a pair of older Readynas 3220 units and after building out the 1st pool, rather than creating sub-datasets, I just went over to sharing and built shares within the pool. It looks like you sub-divide the pool then create shares to the sub-datasets. My question would be, is this going to be an issue for me going forward or does it even matter? The storage server is really for the home lab and backing up all the data from PC's and keeping a master library for Plex etc so no enterprise style use. Permissions are pretty much open to anyone in the house so again does it matter?
@didierdel2319
@didierdel2319 Жыл бұрын
Bonjour, faut-il installer un antivirus, ou il y a aucun risque en sachant que les fichiers sont isoler de windows. Merci de votre avis
@RatoAx
@RatoAx Жыл бұрын
Hi there, great content... I am struggling to get a folder inside of a jail(Syncthing or Nextcloud) shared through the network as a SMB share. I love truenas but the permitions side of it is driving me crazy 🤣
@BoguschMedia
@BoguschMedia 2 жыл бұрын
I created two folders for only the user himself so in your example a Tom and a Marcus folder there only the one user has permissions (tom for tom and Marcus for Marcus). In my case I have kind of „admin“ account with his own share. So three shares and users. When I move a file from the admin folder (a setup exe for example) into the „tom“ folder (logged in as admin) the file is not visible to tom. I‘m not quite understanding this. Seems that somehow the acl is copied over within the file and the permissions/acl of the folder do not overwrite the files ones. Where did I make a mistake? The „folders“ are nested datasets infact.
@izzyhope58
@izzyhope58 2 ай бұрын
So I just reninstalled TrueNas and reimported my old Pool (that I havn't had access to for a while now). I followed pretty much everything here, only differnce being importing the pool instead of making a new one. No mater what I do I get that error saying I don't have permission, despite me using the user I created when installing. I've had this issue for like a year and cannot for the life of me figure out the issues, and get access to my files back. Any ideas?
@TazzSmk
@TazzSmk Жыл бұрын
it's still intriguing to me, but less, thanks for well explained topic, I'm trying to figure out following setup: let's say I want some SMB share to be accessed by app on truenas - I understand I should probably make a new dedicated usergroup to be owner, and then assign system user "apps" as well as physical individual users to be part of the group?
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS Жыл бұрын
you can create them that way for more granular control.
@pablopiquerez7298
@pablopiquerez7298 Жыл бұрын
Hi Tommy, I am in the process of migrating my home lab Open Media Vault to TrueNAS Scale (I chose Scale version as I am more familiar with Debian than FreeBSD). I Created a ZFS Pool with 3 6TB hard drives, created a Dataset and 3 different SMB Shares, each one has a different User and Group, my main user is member of all Groups, I can access each one from my Windows PC but not on my Mac (running MacOS Ventura); all 3 shares are connecting as the same user even though I connected to each share individually (Finder->Go->Connect-to-Server), so I can access only 1 of the Shares (the last one I connect to). What an I missing? Tried pretty much everything with the same result. This is preventing me from doing the migration.
@netkabuki3908
@netkabuki3908 20 сағат бұрын
Hi tom - this is great. But I am simply not able to connect to the share from windows 11. @10:57, when you connect to the share from windows, the login just works. In my case it just doesnt work and I cant figure out why.
@VeryTutos
@VeryTutos Жыл бұрын
Another troubleshot about permissions is resolved by restarting SMB Services.
@patrickprafke4894
@patrickprafke4894 Жыл бұрын
I've been over this multiple times now. I can't log in. No matter what I type for acct name and pass, I am just denied access at the windows prompt. Edit: Try restarting the pc first. Got it!!
@koudelap
@koudelap 9 ай бұрын
Hello Tom, could you describe how to correct set SMB auditing and where look at the log, in some next video? Thank you very much
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS 9 ай бұрын
I don't understand the question.
@koudelap
@koudelap 9 ай бұрын
​@@LAWRENCESYSTEMSOh sorry, English is not my native language. In SMB exists a feature that allows logging access to folders and files, it is called auditing. Did you use it sometimes? If yes, didn't you think about explaining it in the video? How to set it, how to and where find a log. I fight with it, and it doesn't work for me :( Thanks a lot
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS 9 ай бұрын
@@koudelapYou can turn up the logging level in the SMB service settings and will give you a lot more detail about what files were access. I don't really use that often as there is not really a need.
@Stricken8592
@Stricken8592 2 жыл бұрын
Anyone know how to ignore empty snapshots on a Synology? Seems to be missing this option.
@user-yw4xc3ce8w
@user-yw4xc3ce8w Жыл бұрын
Hey, I've raid_5 configured but the disks on the storage section does not show individual ones, instead all i see total volume of the disk . how to partition/divide them . Thanks .
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS Жыл бұрын
TrueNAS needs direct access to the drives not access via a raid controller.
@dpscribe
@dpscribe 2 жыл бұрын
If you are an admin and a user is login with permission to modify and delete files in the folder. Once you remove the permission for the user to do anything in the folder how would you kick them out remotely if they have the folder and files open?
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS 2 жыл бұрын
Restart the SMB service
@SebastianPerezG
@SebastianPerezG 2 жыл бұрын
The only problem that i have with linux and permissions is the Delete option is not present , you can read or write but you can't give or restrict the delete permission, because sometimes you have stupid people that delete things that you dont want.
@michaelhanson5773
@michaelhanson5773 2 жыл бұрын
i will say, it was very frustrating to me when i was setting up my home nas and doing user permissions that appeared not to be working because i wasn't logging out and back in to "refresh" the tokens. took me a while to realize what the issue was.
@rallybmw
@rallybmw Жыл бұрын
Did you had the issue of the login screen not popping up at @10:59? My share is working, but i don't have to login. The box "Allow guests" isn't checkt. Can you help me with this?
@michaelhanson5773
@michaelhanson5773 Жыл бұрын
@@rallybmw the only thing i can suggest is when you change permissions, you need to restart the pc. I would change permissions and would still have access even though i changed the password or something... I had to restart the pc to get it to ask. I am probably not the person to be asking for help either as i just knew enough to get it working.
@norseironworks
@norseironworks 2 жыл бұрын
Hi. I have tried ACLs many times over the years and somehow manage to get unexpected results and removed ACLs. After your video I tried again and it seems to work. However I would like it to deny user to delete folderrs/files but be able to read/create/execute. That I can´t achieve. Also I´d like to make sure that data/files is not deleted when I do replication to another truenas. E.G if I delete some folderr inn truenas A and replicate again over to truenas B the B wil have all folders/files. How do I do this?
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS 2 жыл бұрын
Not sure you can do that, replication does not work at the file level.
@GlennSchultes
@GlennSchultes 28 күн бұрын
You can clear Windows permissions by using the Credential Manager - just delete it and Windows will ask for log in details all over again
@marcusc3463
@marcusc3463 Жыл бұрын
Awesome video as usual, but I'm a little upset you deleted my access while making a video about it. lol
@DeadHippie62
@DeadHippie62 Жыл бұрын
all is good except HOW DID YOU GET THE SHORT CUT ON YOUR DESK TOP??????????
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS Жыл бұрын
Shortcut for what?
@DeadHippie62
@DeadHippie62 Жыл бұрын
@@LAWRENCESYSTEMS @10:54 You click a shortcut on you desk top that allows you to connect to the server and test your shares.
@stbytelife5656
@stbytelife5656 7 ай бұрын
What if we have Microsoft Active Directory connected to TrueNAS Core how to manage permissions between users?
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS 7 ай бұрын
You would manage them using Active Directory via Windows
@ctownskier
@ctownskier 2 жыл бұрын
Tom this may just be me asking for free support but it would be awesome if you did a video about smb shares with ldap authentication. I've tried doing it a bunch of times and always get to an "it almost works right" state.
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS 2 жыл бұрын
Never tried that and I don't really plan to because when we need external user management for environments we connect it to Active Directory.
@21Lettere
@21Lettere 2 жыл бұрын
Is MacOS able to restore from a snapshot like Windows' shadow copy?
@jadamsnz
@jadamsnz 2 жыл бұрын
I did notice a Time Machine check box when Tom was making the share. Not sure if that works with snapshots but it might be useful to you depending on your requirements...
@21Lettere
@21Lettere 2 жыл бұрын
@@jadamsnz thanks I’m not interested in TM.
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS 2 жыл бұрын
I don't know if MAC supports Windows Shadow copies.
@andypetrow4228
@andypetrow4228 2 жыл бұрын
Hehe.. Troubles Hooting
@fuhuxia9432
@fuhuxia9432 Жыл бұрын
Can you make another video for Linux users?
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS Жыл бұрын
Soooooooonnnnnnnn :)
@fuhuxia9432
@fuhuxia9432 Жыл бұрын
@@LAWRENCESYSTEMS looking forward to it. Always feel awkward to mount smb share on Linux.
@Mr_Meowingtons
@Mr_Meowingtons Жыл бұрын
I don't know what it is I do every thing you do and nothing works. i'm about to just say the hell with TrueNAS if I'm going to loose all my stuff..
@pr0jectSkyneT
@pr0jectSkyneT 2 жыл бұрын
With regard to lingering permissions after making changes, if there is active directory I would run "gpupdate /force" in the command line. I don't know if this works with a network share for TrueNAS though.
@de_stroyed
@de_stroyed 2 жыл бұрын
I love your videos but please for the love of God, start making TrueNAS Scale video tutorials, I need them desperately. I know TrueNAS Scale isn't a finished product but it works well enough and I feel like going Linux-based is better for me. But 90% of your videos are based on Core which isn't relevant to me, I do still watch them but some tutorial steps you do are nowhere to be found in Scale.
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS 2 жыл бұрын
Once they get better documentation and more debugging get's done I will do more videos.
@TechySpeaking
@TechySpeaking 2 жыл бұрын
First
@jaycavazos9857
@jaycavazos9857 Жыл бұрын
I can’t even open the UI Linux is such a PITA
@pepeshopping
@pepeshopping 2 жыл бұрын
“Windows occasionally would hold to permissions”. ABSOLUTELY NOT! Computers are DETERMINISTIC! Learn that windows by design would ONLY allow ONE user/login per SMB share! You can get around that by using the DNS name and also the IP (or have several IP aliases/addresses) or simply doing: net use * /del Clear now that computers and software don’t have feelings, preferences or “occasional” desires!?
@instillenergy7803
@instillenergy7803 7 ай бұрын
any chances we could get get one of these shares and permissions videos using a connected AD server users and groups?
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS 7 ай бұрын
Maybe, but AD makes is much more simple because you can control the permissions in Windows after you join.
@instillenergy7803
@instillenergy7803 7 ай бұрын
not if you didn't set it up right to begin with - lol! :)
@instillenergy7803
@instillenergy7803 7 ай бұрын
@@LAWRENCESYSTEMS Btw, New to the channel and love the work!!
TrueNAS Scale 22.02.3 Review: What Works Well and What Needs Work
22:57
Lawrence Systems
Рет қаралды 29 М.
When You Get Ran Over By A Car...
00:15
Jojo Sim
Рет қаралды 9 МЛН
Did you believe it was real? #tiktok
00:25
Анастасия Тарасова
Рет қаралды 19 МЛН
Luck Decides My Future Again 🍀🍀🍀 #katebrush #shorts
00:19
Kate Brush
Рет қаралды 8 МЛН
Getting the Most Performance out of TrueNAS and ZFS
18:31
Techno Tim
Рет қаралды 73 М.
TrueNAS Core 12 User and Group ACL Permissions and SMB Sharing
16:32
Lawrence Systems
Рет қаралды 161 М.
I had VDEV Layouts all WRONG! ...and you probably do too!
17:42
How To Use ZFS Encryption With TrueNAS For Pools and Datasets
15:07
Lawrence Systems
Рет қаралды 17 М.
TrueNAS CORE 12.0 Tutorial -  Datasets, Permissions, Snapshots
14:09
Craft Computing
Рет қаралды 73 М.
Fixing my worst TrueNAS Scale mistake!
10:40
Christian Lempa
Рет қаралды 126 М.
TrueNAS Scale the ULTIMATE Home Server? Docker, Kubernetes, Apps
19:10
Christian Lempa
Рет қаралды 160 М.
Building A DIY NAS On A Budget - TrueNAS Scale
17:09
Hardware Haven
Рет қаралды 1,2 МЛН
TrueNAS CORE Setup Guide for Beginners
26:59
Digital Spaceport
Рет қаралды 44 М.
ПОКУПКА ТЕЛЕФОНА С АВИТО?🤭
1:00
Корнеич
Рет қаралды 3,4 МЛН
ИГРОВОВЫЙ НОУТ ASUS ЗА 57 тысяч
25:33
Ремонтяш
Рет қаралды 310 М.
Will the battery emit smoke if it rotates rapidly?
0:11
Meaningful Cartoons 183
Рет қаралды 40 МЛН