37

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, even from the console: If it's ESXi 5.0 or above, and the server has VMware Tools installed, use PowerCLI and the Copy-VMGuestFile cmdlet to copy files from ...


26

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 have it created already, and check this if you want it local on W10) from users, or Computer Management, whatever you like more. Open Administrative Tools, ...


22

OK, I have found an answer myself. As this is absolutely not obvious from the docs and HOWTOs and whatever, the reason this thing asks for password is because it cannot map guest user to the owner of the directory being shared. I have NTFS partitions which I need to mount RW so I used the following setup in my /etc/fstab: /dev/sdb1 /media/disk1 ntfs ...


12

There are multiple ways to do this based on your needs. Use a central file server mounted with fx NFS on the webservers Same as above, but redundant, so if one goes down the other takes over Use some sort of synchronization tool (rsync for example) and host the files locally on the webservers. Then setup a cronjob to sync the files between the servers at a ...


11

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 -> Ini Files Create a new Ini File entry, with the following settings: Action: Delete File Path: %homeshare%\desktop.ini Section Name: .ShellClassInfo ...


10

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/company-files /mnt/test This will essentially map and override all files within that share to your own local Linux UID, regardless of remote ownership. However, ...


9

They're might be issues. The question is how low your application will be layered when accessing the filesystem. Normally they're should be no issue if Windows can handle it as your applications should use the Windows API to access the filesystem on a lower level. Of course better be safe than sorry, so put it to the test before moving to production.


8

(From Spiceworks) Navigate to share eg \\Server\Users Right click on column SIZE Click on More at the bottom tick Filename You then get an extra column showing the real filename. You could make this the default for folders by doing this. Press ALT choose Tools->Folder Options->View Click Apply to Folders


7

This is Explorer interpreting the desktop.ini files located in each folder. It's maddening and unhelpful, and Microsoft recognizes that but gives no useful advice. The old "This behavior is by design" excuse for the loss... I've taken to restructuring my shared directory hierarchies, on new installs, to be user-centric rather than directory-type-centric. ...


7

You can script this with icacls or set-acl. As an aside, this is why you use security groups in ACLs and not individual users.


7

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 "fix" for this issue at some point, but it never made its way out to the production builds unfortunately. Windows Server Failover Cluster (WSFC) is a ...


7

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 definitely won’t fit for this hardware age. You can then combine the nodes into the failover cluster as mentioned and run a file server/VMs on top of a CSV. If you ...


6

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 restart nmb On samba 4 the service names is smb and nmb, somehow needlessly renamed making many available tutorials to be confusing (they are mostly based on ...


6

The only concern that I have is that 4TB is, in my experience, a pretty big NTFS volume. CHKDSK has gotten a lot better in the last few Windows releases, but you will likely still have a multi-hour outage if you take filesystem corruption on a volume that big. (Fewer large files would make a faster CHKDSK run as compared to more numerois small files.) If ...


6

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 no official backups, then there should be, and this needs sorting - but if the disk is stored on a LVM partition, you may be able to create a snapshot ...


6

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, or FreeBSD with UFS? The risks are different and not directly comparable. I would always prefer a ZFS system, even without redundant vdevs, if only for the ...


6

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 of hardware based RAID, or just simple filesystems. Some of the Microsoft documentation seem to strongly suggest you not use dynamic disks. https://docs....


5

Deny yourself (or your security group) read access to the desktop.ini - Next time you refresh the folder, it will show the actual folder names, not "My Documents"


5

Your use cases of large files with a requirement for locking, plus a file-based database, definitely are good arguments against putting those across a WAN link from your users - ie in the cloud. Keep a local server. Hopefully a cheap workgroup NAS with a good backup will serve you well. The backup can maybe go to a cloud provider, if they can meet your RTO ...


5

My question is how can i secure that the files that are in the shared folder open once a time so everytime only one user from the network can edit the specific file. That's built-in by design. It's called opportunistic locking, see here: http://support.microsoft.com/kb/296264 By default, opportunistic locking is enabled for server message block (...


5

This was an interview question once for me... Multicast options: BitTorrent Other protocols using pub/sub messaging. Another approach... Use a distribution tree: Send to N hosts, who will in turn each send to N hosts; and work down the tree that way. That would of course require some development work on your side, but it's possibly the more scalable ...


5

We used a combination of a powershell script and a policy. The policy specifies that the user must create a folder inside the Drop_Zone share and then copy whatever files they want into that folder. When the folder gets to be 7 days old (using CreationTime) the powershell script will delete it. I also added some logging to the powershell script so we ...


5

They are not so error-prone. A 3-raid1 is a very redundant configuration, it practically means that all of the disks should be gone to a data loss. On the 5 disk-raid5 were already 2 enough to loss your data. It is faster. For reading, you can execute 4 parallel read task in a five-disk raid5. For write, you have to update 4 blocks to change a single one. ...


5

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 files will display along with the following table headers FileId SessionId Path ShareRelativePath ClientComputerName ...


5

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 addressed much is if you have command line access, you are probably using a terminal program, and most of those have some sort of way to log stuff that scrolls off of ...


5

It's called backups, and VSS/Previous Versions. If needed, implement an actual document management system with versioning and auditing.


5

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 question. If you make it, you will violate the Microsoft license agreement so make at your own risk.


5

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 level between the nodes, while cluster will failover you VMs. In this case you can utilize your existing RAID5 on both nodes. The following guide might help: ...


4

I know this is an older question, but here is a more up-to-date answer: Guard -o/--listen-on option documentation Pasted here for quick reference: -o/--listen-on option Use Listen's network functionality to receive file change events from the network. This is most useful for virtual machines (e.g. Vagrant) which have problems firing native filesystem ...


Only top voted, non community-wiki answers of a minimum length are eligible