Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8609

Networking and servers • Re: Samba Guidance

$
0
0
Open a terminal, enter 'man smb.conf', press the enter key and then find the section on 'veto files', read that section.
Thanks
Another method is to use a filesystem that does not create lost+found at all.

It also offers nice features for Winodws, like:
https://www.samba.org/samba/docs/curren ... py2.8.html
search.php?keywords=shadow_copy2
Damn! This is why it's best not to not know much... some say :(
Doubtful. You'll only have a lost+found if you're sharing the root directory* of certain Linux filesystems (like ext4). Because, unless created manually, that's the only place it exists.

*: not just "/". The top level (root) directory of any suitable partition has one too.
Yeah, I had realised that which was why it was "no biggie"... I'd figured already I could hide it by moving everything to a folder and sharing that. I have a 2Tb SSDF attached to the Pi as well as the 2Tb NVME and panned to use it for videos as I have a lot... all entirely legal (I have either the Blu-ray or DVD).

Yesterday I said it was all working AOK but, an oddity this morning... I turned client and server on, the Pi definitely powering up well before my Windows machine, and the drives wouldn't connect. Reasoning the only thing different was a hard OFF, I figured a reboot might sort it and it did. I'll test to see if it's repeatable later but it's 1. Weird and 2. Why?

I know it is (or has been) a thing of pride with Linux afficionados to have their machines on for very long periods ... despite my lack of expertise, I've been playing with various distros off and on for over twenty years. Yes, I use my Pi machines much the same because they're extremely low power... not Windows machines, I have a smart switch on mine because, even switched off, it uses power. Right now, however, I'm still building the machine so it gets switched off when not in use for long periods (e.g. night). But it's still odd... why on Earth would it make a difference rebooting vs switching ON? Surely the machine is still loading/processing the same files and in the same order?

James

Statistics: Posted by JamesCRocks — Mon Aug 11, 2025 7:30 am



Viewing all articles
Browse latest Browse all 8609

Trending Articles