Search the Community
Showing results for tags 'samba'.
-
if i build a small computer in a nas case(Please help me find a nas case), put windows on it and use it as a nas with a backblaze pc backup subscription on it to keep all my dta backed up, (I wouldn't need very much bandwidth to it anyway), is it a good idea? What would the specs need to be for such a computer? Would a 2 core celeron be enough along with 8gigs of ram? It would mainly be used for backups. Also, any idea on how i could set up a decent local file sharing program? Windows samba file transfer only works on wondows and is quite crappy tbh, (I would have it backed up to backblaze anyway so i could access all the data from my phone if i need to but, say from my laptop which would be on the same LAN, is there a good way to access it other than making it a network drive?) update: why can’t I find a single NAS case under 400 usd?
-
I work for a company that recently moved away from a Windows Server 2008 hosted file share, and migrated to TrueNAS Scale. I have nothing but good things to say about the Truenas platform and the increased read/write of ZFS. Recently we have been running into a problem where files are being locked/opened as read-only by users, even when the file is not in use. TrueNAS, unlike vanilla SMB, blacklists socket options in the auxiliary parameters, making the TCP timeout options for incorrectly closed files hard to achieve. My usual solution is to restart the SMB share (not service) and kick any dead connections off. This is obviously not ideal and could cause some issues, I'd like to reach out and ask if anyone else has had similar issues, and or solutions to this problem. Here are the details of my share for reference. Use Case: TrueNAS Scale Bluefin 22.12.2 Hosted SMB Share The network is comprised of Windows machines, Running Windows 10 and 11. Some older equipment running Windows 7 that cannot be updated. Global SMB Service Settings: Workgroup WORKGROUP Enable SMB1 Support: False NTLMv1 Auth: False UNIX Charset: UTF-8 Log Level: Minimum Use Syslog Only: False Local Master: False Enable Apple SMB2/3 Protocol Extensions: False Administrators Group: itadmin Guest Account: nobody File Mask: Blank (Default 0666) Directory Mask: Black (Default 0777) Bind IP Addresses: Blank Auxiliary Parameters: aio read size = 16384 aio write size = 16384 ea support = no store dos attributes = no map archive = no map hidden = no map readonly = no map system = no hide dot files = yes case sensitive = yes delete veto files=yes veto files = /Thumbs.db/.DS_Store/ read only = no strict locking = no Share Parameters: No Preset ACL Enabled: True Browsable to Network Clients: True Allow Guest Access: True Enable Shadow Copies: True (For using snapshots/windows restore previous versions) Enable Alternate Data Streams: True
-
- truenas scale
- samba
-
(and 1 more)
Tagged with:
-
I just watched this video on using iSCSI for Steam and feel like it's missing a ton of content that would help me better understand how it works and possible use cases: I understand the concept, but as soon as I try to implement it, I think I'll run into some major snags. I already have plenty of storage on my PCs as it is, but having dedicated storage just for my Steam library would be nice; although, I'd need to upgrade my machines from 2.5Gb to 10Gb Ethernet which costs more than buying larger SSDs. Right now, I'm trying to figure out use cases: I don't believe this is compatible with DirectStorage, but maybe it is if I use only SSDs in TrueNAS? Not sure what Windows looks for in terms of DirectStorage compatibility. Since this formats as NTFS on top of ZFS, is there a problem with snapshots or other ZFS utilities? This sounds a lot like LVM where you're creating a virtual filesystem on top of a real one; almost like a virtual machine. Can that iSCSI NTFS share be read by TrueNAS, or is it something only that one Windows machine can read? I'm wondering what happens if I want to modify that data from another PC or if I reformat Windows. Is there a reason why I wouldn't use this for file sharing drives? Is it because each computer has to have its own iSCSI filesystem? Network drives are for multi-machine but iSCSI are for single machine?
-
- network drive
- samba
-
(and 2 more)
Tagged with:
-
I'd like to begin by saying all my data is safe and my drive is back to normal, but as a linux novice I really don't know what happened nor why my solution worked, which bothers me. Also, this post may be better suited to another subforum but I'm assuming it's linux related just because it's the least understood (for me) part of the process. I have had a Raspberry Pi 4 acting as a NAS using Samba on Debian (set up using PuTTY from a windows machine, and accessed as a mapped network drive in windows) for over a year now, using just the MicroSD as the storage device with absolutely no issues. Yesterday, I added a SATA SSD using a USB adapter. I used fdisk to create a partition, mkfs.ext4 to create the file system, and cp to copy all files from the MicroSD to the SSD. After mounting, I edited the smb.conf file to point to the SSD directory rather than that of the SD card. I was able to use this all day, reading old files, writing and reading new files as well. This morning, I couldn't read a file, then I noticed the vast majority of the files were missing. In Windows Explorer, the network drive read 0 bytes free of 50-something GB (it's was formerly reading correctly as a 230GB drive). I went into Debian and ran fsck -p on the device which, after a few minutes, appears to have completely corrected the issue. So again, all of my files are fine and they're also backed up. However, some insight as to what could have happened here would be greatly appreciated. Thanks in advance!
-
I have been trying to fix this for days, I use a Freenas server for just about everything, I use one SMB share that works fine on my laptop running Endeavor OS and my sisters Macbook. My desktop usually runs Garuda but I broke the install and probably switching to Artix. So for now i'm using Windows 10. I have tried, tried remapping the drive but no dice. For whatever reason despite the server clearly being online and using it daily, Windows claims it's offline and won't let me log in. I've followed a ton of tutorials but haven't made any progress. How can I get this server back online?
-
i have a computer running linuxmint. i want to be able to access its files from my windows 10 pro computer. i decided to use samba. i used this guide and this video to help me setup samba. setup seemed to work fine. i then tried to access the files from windows by typing in \\{linuxcompip}\share in windows file manager. it then asked me to login so i typed in the name and password i setup but then it tells me that windows cant access the files. on this form someone had a different issue i did, but i thought that it was similar enough that i could try it. (bad mistake), i tried this fix and now when i type \\{linuxcompip}\share again, but this time it doesn't ask me for a password, it just straight up tells me i don't have permission to access the files. i tried to reverse what the form told me to do, but i wasn't successful. i tried then to acces it from linux using the method provided in the original guide using the terminal, and i get this NT_STATUS_ACCESS_DENIED anyone here who knows what i should look at to see what the problem is?
-
i have a computer running linuxmint. i want to be able to access its files from my windows 10 pro computer. i decided to use samba. i used this guide and this video to help me setup samba. setup seemed to work fine. i then tried to access the files from windows by typing in \\{linuxcompip}\share in windows file manager. it then asked me to login so i typed in the name and password i setup but then it tells me that windows cant access the files. on this form someone had a different issue i did, but i thought that it was similar enough that i could try it. (bad mistake), i tried this fix and now when i type \\{linuxcompip}\share again, but this time it doesn't ask me for a password, it just straight up tells me i don't have permission to access the files. i didn't like that my files were not password protected, so i tried to reverse what the form told me to do, but i wasn't successful. anyone here who knows what i should look at to see what the problem is?
-
I have a Ubuntu 20.04 LTS server with samba set up on it but even after my ISP confirmed that port 445 was unblocked it still just doesn't work (it works locally but not via the internet which I need because I need to access a server in a different place and SFTP and stuff like that isn't an option) so I am looking into changing the samba port but any guide I have looked at so far says to look for something like "port" "smb port" or something similar in the smb.conf file and I just cannot find something like that in there. It would be helpful if I could either change the samba port or somehow reroute the traffic on port 445 to another port. I tried something with "iptables" but that failed as well.
-
Hi guys So I set up a samba server on my "new" computer just like I did multiple times before (I change hardware quite often), but now whatever I do I can't write to the samba shares from Windows 10 The samba server runs on a pc running Linux Mint 20 64 bit This exact config has worked for me on about 4 computers before with the same OS, same client PC and everything. I am a total noob in regards to Linux and networking but I'm willing to learn because I just want this to work Thanks for your advice guys this is my smb conf: [global] server role = standalone server map to guest = Bad User usershare allow guests = yes hosts allow = 192.168.0.0/10 hosts deny = 0.0.0.0/0 [3TBHDD] comment = test share path = media/yasin/GeheimeKaasOpslag read only = no guest ok = yes force user = yasin force group = yasin [1TBHDD] comment = test share path = /media/yasin/E8E87495E87463AA read only = no guest ok = yes force user = yasin force group = yasin This has
-
I have my old Precision that runs windows 7 (had too many issues with drivers and window 10 literally just completely borking itself randomly). Only problem is my home NAS is SMBv3 (with Force Encryption enabled), are there any clients for windows 7 that allow it to use SMBv3?, I don't care if it's not in the file explorer but it would be nice.
-
I keep getting this damn transfer error while moving large video files to my server. Server is Ubuntu with 24x drives 64Gs of ram and a tread-ripper processor. This is connected via 10gbe directly connection. This connection was completely fine a month ago. The server log says: Aug 6 11:54:33 GalacticLeyline smbd: pam_unix(samba:session): session closed for user brandon Aug 6 11:54:33 GalacticLeyline smbd: pam_unix(samba:session): session opened for user brandon by (uid=0) Aug 6 11:55:12 GalacticLeyline smbd: pam_unix(samba:session): session closed for user brandon Aug 6 11:55:12 GalacticLeyline smbd: pam_unix(samba:session): session closed for user nobody Aug 6 11:55:19 GalacticLeyline smbd: pam_unix(samba:session): session opened for user brandon by (uid=0) Aug 6 11:55:40 GalacticLeyline smbd: pam_unix(samba:session): session closed for user brandon Aug 6 11:55:47 GalacticLeyline smbd: pam_unix(samba:session): session opened for user brandon by (uid=0) Aug 6 11:56:01 GalacticLeyline smbd: pam_unix(samba:session): session closed for user brandon Aug 6 11:56:32 GalacticLeyline smbd: pam_unix(samba:session): session opened for user brandon by (uid=0) Aug 6 11:56:43 GalacticLeyline smbd: pam_unix(samba:session): session closed for user brandon WIndows Event Viewer: Application popup: Windows - Delayed Write Failed : Exception Processing Message 0xc000a080 - Unexpected parameters {Delayed Write Failed} Windows was unable to save all the data for the file :the data has been lost. This error may be caused by network connectivity issues. Please try to save this file elsewhere. The same network share over 1gbe works fine. Only over 10gbe are the issues.
-
- samba
- windows 10
-
(and 1 more)
Tagged with:
-
Hey Guys, I work a lot so I only have a couple random hours each day to work on this but I've barely any idea where to start. The power flickered in my room where my little server is running and restarting it doesn't help. My network folders aren't there on other computers, so I started with seeing if ZFS is working properly on the Ubuntu Server, it says no pools available, zfs list shows lo datasets avaailable. It's a pretty basic setup where I've got 3 hard drives plugged in as network storage, using a samba share, I'm just not sure where to start. I did also run df, which showed the drives as: Which I believe reassures me that my stuff isn't gone, just hidden in limbo.
- 3 replies
-
- ubuntu server 18.04
- zfs
-
(and 1 more)
Tagged with:
-
So, I'm setting up an Ubuntu server that should host network storage for the rest of the house, where Linux and Windows machines exist. I've created a raidz pool and shared it using Samba, although I haven't messed with the Samba config file at all. Instead, I just added my user to Samba (smbpasswd -a <user>), and changed ownership in the root folder of the storage pool (with -R) to the group "sambashare". I changed permissions to 770, as everyone in "sambashare" should have full access, whereas anyone without authentication should have none. From windows, I connected to the shared folder using the password set on the server with smbpasswd and got access as expected. Then I proceeded to copy a bunch of files from the Windows PC to the samba share. It went fine, as far as I can see. The problem is, the folder I copied (I assume the files within as well) have "owner <user>, group <user>", not "sambashare", and therefore other users with permissions to the main folder cannot write inside the folder I copied. This is not intended behavior: inside the share it should be free for all for any authenticated user that's a member of sambashare. I can change ownership and permissions of those files after the fact, but that's clearly impractical. How should I configure either Linux's permissions or Samba so that anything added to the shared folder and its subfolders, especially when done from client computers, is by default available with full access to all members of "sambashare"?
-
Long story short I'm trying to connect my 2009 Imac (MacOs 10.13.6) to my PopOs Samba share (Ubuntu 18.04) on my lenovo yoga book locally. I used this tutorial: https://ubuntu.com/tutorials/install-and-configure-samba#1-overview So everything appears to have gone as it said it should. I saw on my finder window under 'Shared' SAMBA24 which I recognized under the smb.conf so I tried connecting but it keeps giving me the "cannot connect to server maybe it doesn't exist or you typed in the ip wrong" blah blah blah. So I changed the name of the samba under smb.conf just to see what would happen and sure enough the name under 'Shared' in finder changed...but can't connect. I tried doing it manually by hitting >go>connect to server> and typing every version of smb://ip/ or smb://ip/sambashare that I could think of and nothing. It certainly isn't an issue of them seeing each other because of the name being able to change and my Popos laptop can access a samba share on my mac if I set it up....but that's not what I'm trying to do. Further more I have tried doing research on the smb.conf to see if there's anything I was supposed to mess with but besides interfaces and host allow nothing else would make sense to do (ontop of that I'm afraid attempting to mess with those has only made things worse). I need help to say the least. Could this be an issues of something I'm unaware of like PopOs having their own weird configuration that I just clashed with my set up or that this guide is out of date? Could it even be my mac? Please and thank you ahead of time that's really all the info I can give atm. Thank you in advance.
- 13 replies
-
- samba
- samba share
-
(and 3 more)
Tagged with:
-
Hi LTT forum. I have a problem with Samba on CentOS 8 that I have been unable to figure out over the past few days. I can see on Google that i'm not the only one with the problem, but haven't yet found a solution there work for me. I created a directory like many others with the same access and Samba setup, but for some reason I can't seem to get rid of a specific error, that make the content in that shared folder unavailable. Directory and Samba information drwxrwx---. 2 myuser mygroup 6 Mar 11 16:37 myfolder chcon -R -t samba_share_t /mnt/myshares (myfolder is in-side that directory) semanage fcontext -a -t samba_share_t "/mnt/myshares(/.*)?" [MyFolder] comment = My folder path = /mnt/myshares/myfolder read only = no guest ok = no create mask = 0770 force create mode = 0770 directory mask = 2770 force directory mode = 2770 force user = myuser force group = mygroup browseable = yes valid users = myuser @mygroup Error log change_to_user_internal: chdir_current_service() failed! [2020/03/14 00:07:20.800120, 0] ../../source3/smbd/uid.c:412(change_to_user_internal) Crossing finger for a solution.
-
Hi guys, I want to convert my old PC into a home server but I need some help picking an OS. I've heard that Ubuntu Server, Debian, Fedora, CentOS and OpenSUSE are some of the best but I need help picking the right one for my needs as I'm still fairly new to the Linux scene. The server will function as: SAMBA file server Plex Media Server Pi-Hole - Sorry Linus. It's the advertisers' fault, not the content creators'. I'll buy a LTT hoodie and some t-shirts. (Please make women's LTT underwear too!) I may also add other services in the future if I need them. The OS needs to be stable and, most importantly, secure. It also needs to be lightweight because it'll initially be running on fairly old hardware (see below). I would like to use a Linux-based OS so I don't need to run Pi-Hole or Plex in a VM/jail. (I know FreeNAS has a Plex plugin but it can only run Pi-Hole in a Linux VM, adding overhead.) It would also be nice to have long term support or a rolling release so I don't need to fully upgrade the OS every few months. I've tried Ubuntu Server 18.04 LTS on a VBox VM purely just to play around with it and test the functionality of the services I'll be running. I don't mind using CLI/SSH for most things but I would prefer a desktop environment or a web GUI for tasks that either can't be done over SSH or would be easier in a GUI, (e.g. network config, managing storage, etc.) so that kind of rules out the LTS version of Ubuntu Server unless anyone knows how to install XFCE on it. Initial hardware (subject to future upgrades): CPU: i5-650 3.2GHz (3.4GHz boost) Clarkdale Mobo: MSI 2A9C (MS-7613 from HP Pavilion 6000 series) RAM: 16GB DDR3 Storage: TBC - I'm thinking boot from USB and use IronWolves in RAIDZ for storage PSU: CiT 500W 80+ (I know it's cheap crap but it'll do for now till I get better hardware) Thanks in advance for any advice. Leah
-
So i wanna setup a Samba share and this is my config but i get a weird error. And this is the error i get in a phone client Any help?
-
A Beginners Guide to Debian CLI Based File Servers
Windows7ge posted a topic in Guides and Tutorials
People are often intimidated by the idea of setting up a server using nothing but a CLI (Command-line Interface) but it's not as difficult as you might think. For the most basic setup there's not very much to it. What I'm going to be using for this example: Debian Linux - Ubuntu Server 19.04 File System - ZFS (software RAID) SAMBA - CIFS/SMB (for Windows clients) SSH/SFTP (for remote clients) Index 1. Preparing the Installer 2. Installing the OS 3. Installing Programs & Drivers 4. Configuring ZFS (zfsutils-linux) 5. Configuring SMB/CIFS (samba) 6. Configuring SSH/SFTP (openssh-server) 7. Conclusion -
Hello, I am trying to connect from one Debian 9 server to another Debian 9 SMB share (access to which work perfectly from Windows 10 PC), and I get an error: SMB share mount error(95): Operation not supported I tried to mount using: sudo mount -t cifs //192.168.1.2/srv /home/srv2/mnt -o uid=1000,username=uname,password=pass,vers=2.0 sudo mount -t cifs //192.168.1.2/srv /home/srv2/mnt -o uid=1000,username=uname,password=pass,vers=1.0 sudo mount -t cifs //192.168.1.2/srv /home/srv2/mnt -o uid=1000,username=uname,password=pass,vers=3.0 Without success. P.S.: Samba server settings from smb.conf: [global] min protocol = SMB3 client min protocol = SMB3 ## Browsing/Identification ### # Change this to the workgroup/NT-domain name your Samba server will part of workgroup = WORKGROUP upd2: dmesg | grep CIFS return: [ 2204.076141] CIFS VFS: cifs_mount failed w/return code = -95
-
Ok, so i'm looking to upgrade the connection between my server and gaming rig, right now they share a 1g line, and i was wondering what would be more practical/cheap to do, buy two 4x1g cards or 1x10g, my server however will most likely never exceed 3gbps since read/write locally i'm seeing speeds of ~370mb/s. My server is running ubuntu server 16.04LTS and i am by no means a linux guru so some tips for configuring it would also be appreciated. Also, if 4x1gs is better, can i buy an 8 port managed switch dedicated for these two and, use the onboard 1g on my systems for internet and well, file sharing for everything else on my network?
-
Hi, i am trying to make network file server using ubuntu server I would like to make it with shadow copy. Can anyone help me with this? I have tried so many option and search so many techniques in google but all are not working for me.
- 1 reply
-
- shadow copy
- zfs
-
(and 4 more)
Tagged with:
-
My issue may not be simple but I looked all over the web for answers but not much is working. I set up my Ubuntu 18 to be a personal server, I have samba setup and working to the point where my windows pc can see it but it gives me the whole login thing for it. I tried just about everything to get it to take any possible password and username. It saves my username on the Linux machine. My only thing is do I have to setup samba password stuff to get that to work or do I have to do something on my windows pc to tell it to knock off the login thing. Ask if you need more info that I will provide if asked for more.
-
Ok we know modern consoles need massive drive for games. They usually only take 3.0 external drives but don't allow NAS connections. Is it possible to configure a raspberry pi or arduino to read from a samba server and translate that to read the network drive as usb drive? This seem like a simple hack to getting NAS storage. I don't know of any soft mods.