37
votes
How can I retrieve a directory (folder) from Ubuntu Server 14.04 VM without FTP, SCP, or NFS
As well as saying all the things it doesn't have, what about saying the things it does have? How big is the folder and how much free disk space is there?
Assuming you have no access to the CLI at all,...
32
votes
Creating a windows account only for share access
As the reply of joeqwerty is not clear, I want to put the steps in line. This works for Windows 7, 8, and 10 (I'm on 10), as well as Windows Server 2003, 2008, and 2012.
Create the user (if you don't ...
11
votes
Shared Home folders on file server listed as "My Documents"
There's a much easier method, non-destructive, which targets the actual Desktop.ini entry responsible for this behaviour. Go to:
Group Policy -> User Configuration -> Preferences -> Windows Settings -...
10
votes
Accepted
how can I mount a windows share with rw access?
You can set the local UID using mount options, example below. You can find out your UID by running the id -u command.
sudo mount -t cifs -o username=maazza,domain=MYDOMAIN,uid=1000 //192.168.123.2/...
7
votes
Best options for storing and sharing data over mutiple servers, to be accessed by multiple users
DFS-N is OK (if applied properly, of course!), while DFS-R should be avoided like a plague. It has many issues and inability to replicate open files is a very serious one. It's funny MSFT had a "...
7
votes
Best options for storing and sharing data over mutiple servers, to be accessed by multiple users
DFS replication is a nightmare. For 9 years old servers, I would go with Starwinds VSAN to do the replication between them. That was the reason why I have used it on one of the deployments. S2D ...
6
votes
Unable to see Samba server by netbios name
This is on samba 4.7.1
I was having the same problem as OP and alecov. Turns out, nmb service were not running.
You need to enable nmb separately from smb:
sudo systemctl enable nmb
sudo systemctl ...
6
votes
How to make Samba share to NOT ASK FOR PASSWORD
The config can be shorter:
Create unix user jonnie
sudo useradd jonnie -s /usr/sbin/nologin
Create smbuser
sudo smbpasswd -a jonnie
Create the Linux directory to share
mkdir /mysmbshare
Change the ...
6
votes
How can I retrieve a directory (folder) from Ubuntu Server 14.04 VM without FTP, SCP, or NFS
The virtual machine disk is hopefully stored in a way that is backed up regularly - so you can restore the backup to a new location and then use the VM disk as a second disk in a new VM.
If there are ...
6
votes
Accepted
Risk of FreeNAS as Virtual File Server
General answer
If I cannot guarantee that I can follow these recommendations, am I more vulnerable to failure - especially catastrophic failure - than if I run a vanilla Linux system with EXT4/XFS, ...
6
votes
Accepted
Windows File Server Rebuild
You use dynamic disks, if you want, or need to use the older software RAID, and a maybe a couple other less common features.
You don't need dynamic disk if you are using storage spaces, or some kind ...
5
votes
Close locked file in Windows Share using Powershell and Openfiles
Get-SmbOpenFile and Close-SmbOpenFile will get the job done for you.
Logged into your file server, start PowerShell. Use Get-SmbOpenFile to display all of the open files on your file server. The ...
5
votes
How can I retrieve a directory (folder) from Ubuntu Server 14.04 VM without FTP, SCP, or NFS
Well, there is already an accepted answer, and in addition, there is a real good answer making use of the fact it is a web server.
But just to point out a line of attack that I don't think is ...
5
votes
Accepted
What are my options in terms of controlling document management
It's called backups, and VSS/Previous Versions. If needed, implement an actual document management system with versioning and auditing.
5
votes
Accepted
Hyper-V Server 2016 and File Share
Definitely, you can deploy File Server on a free Windows Server version. Moreover, you can create high available Failover File Server over your Hyper-V Server. The only concern here is license ...
5
votes
HOW : single VHD shared between 2 different VMs
You can try going alternative route. Deploying a Failover Cluster using something like StarWind VSAN or alternatives (S2D is available from Windows Server 2016), which will replicate data on the block ...
4
votes
How do you find what process is holding a file open in Windows?
With Process Hacker you can identify what processes are holding your files easily:
4
votes
Accepted
Symbolic or hard link to UNC path: logon failure
I finally managed this. The programs I'm running off of this share require privilege elevation, at which point they lost access to the share for some reason.
So the key is to map the drive ...
4
votes
Accepted
Small LAN Linux fileserver and network design
My personal recommendation would be to use NIC teaming, for a number of reasons. NIC teaming/boding will allow for link redundancy and/or load balancing, depending on which options you select and your ...
4
votes
How can I retrieve a directory (folder) from Ubuntu Server 14.04 VM without FTP, SCP, or NFS
While that is the ESXi VM you have to get another vmdisk attached to it. Then move everything noncritical to that disk and install tool of yor choice - ssh/scp/rsync/everything else.
4
votes
Access SMB over a custom port
SMB is generally not a protocol used over the internet. You should set up a VPN between your client (laptop?) and AWS and tunnel SMB through the VPN. Then you won’t have to worry about ISPs blocking ...
4
votes
Can we mount single SAN block level storage are on two separate VMs having different OSs
Unless you are using a cluster-aware filesystem as GFS2 or OCFS2, a block device can be read-write mounted on a single machine (or, more exactly, by a single kernel image).
Mounting in read-write mode ...
4
votes
Accepted
Failover all cluster roles at once
In order to combine different cluster roles to failover together, you need to organize them into a single cluster group. Here is the official documentation in this regard.
Usually, those kinds of ...
3
votes
Accepted
How to grant permissions for a member of two groups that have different permissions in windows?
BlueCompute is right, but here is why:
'Deny' will usurp any 'grant' permissions, that is the point of deny permissions. By default a users dosn't have access to a resource it hasn't been granted ...
3
votes
Accepted
smbd processes in uninterruptable sleep
I have a similar configuration with an AD joined server sharing from zfs, and have experienced the 'sleep' issue in FreeBSD 10.1 and 11.0, and several versions of Samba 3 and 4. I began to notice the ...
3
votes
NFS default to 777
You're using NFSv4. Too bad you did not specify your OS version, as it'll be rather important here.
Older versions of NFS used strictly UID/GID numbers, and so it was possible for the NFS server to ...
3
votes
Connecting with Samba to a Windows Share returns "NT_STATUS_DUPLICATE_NAME"
You should use the "-m" flag to specify the max protocol version you'll be using.
By default it's "NT1", here from the smbclient's man page:
-m|--max-protocol protocol
This allows the user to ...
3
votes
How do you find what process is holding a file open in Windows?
There have new PowerToys available from Microsoft.
File Locksmith utility for Windows | Microsoft Learn
https://learn.microsoft.com/en-us/windows/powertoys/file-locksmith
After installing PowerToys, ...
3
votes
Accepted
Use a shared vhdx as shared drive
Before I answer your question, I want to add a little side note. It is possible to add a shared VHDX to two independent virtual machines and both can access the VHDX at the same time. However, it is ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
file-sharing × 653network-share × 130
windows × 120
windows-server-2008 × 64
linux × 57
windows-server-2003 × 53
samba × 49
windows-server-2008-r2 × 47
networking × 41
windows-7 × 37
active-directory × 36
server-message-block × 32
permissions × 30
mac-osx × 29
file-permissions × 28
security × 22
filesystems × 22
nfs × 22
windows-server-2012-r2 × 21
windows-server-2012 × 21
windows-xp × 19
ubuntu × 16
file-server × 16
vpn × 14
azure × 13