Mapping network drives

Status
Not open for further replies.

kevin79

Ars Scholae Palatinae
1,197
I have a question about network drives that I hope Ars can help me with. We have over 25 sites and each site has its own file server/share. In the past, we have given each site a drive letter but with 25 sites, we are out of letters. We don't want to give multiple sites the same letter since there are users in each site the needs to access multiple shares. Is there a better way to map network drives that doesn't use a letter?
 

imagoon

Wise, Aged Ars Veteran
193
[url=http:/civis/viewtopic.php?p=28053637#p28053637:1hv6z8vh said:
DrWebster[/url]":1hv6z8vh]DFS namespaces may help too. Though the question is, why does each site need its own server? Sounds to me like a perfect candidate for consolidating everything under one server cluster.

This with DFSR. Mount the shares to the DFS then use access based enumeration to hide the folders they don't have access to, replicate them back to a local server for backups.

Than map one letter to the DFS root and be done.
 

kevin79

Ars Scholae Palatinae
1,197
[url=http:/civis/viewtopic.php?p=28053861#p28053861:2cnwbijp said:
Utildayael[/url]":2cnwbijp]Alternative option. Use GPO Preferences to map the drives and leverage your OU structure to determine what site folks are in. You could give everyone the same letters at that point if you wanted to as the GPO for the user would map the drives. This assumes you have your OU's configured geographic-based of course. :)

This won't work since we have users that need drive letters at other locations...
 
[url=http:/civis/viewtopic.php?p=28053813#p28053813:3vymedsb said:
kevin79[/url]":3vymedsb]Would I need Server Enterprise at each site for this? How would this work with SAN/NAS devices that aren't actual servers?
You don't need Enterprise to do anything described, and I'm pretty sure DFS can handle shares from any kind of SMB/CIFS file server. NAS/SAN or Windows server or anything else.

With access-based enumeration, you would map everyone a drive (say X:) to a share (say \\internal.mycompany.com\dfsshare\storedrives). People that are in the group FileShares-ABQ-RO would see a folder in there called ABQ, so X:\ABQ\CatPictures\Fluffy.jpg. People not in that group wouldn't see that folder. People could theoretically be in FileShares-ABQ-RO as well as FileShares-PHX-RO, and they'd see X:\ABQ and X:\PHX but not X:\LAX or X:\MIA.

The downside is you have to maintain the group memberships, or you build some kind of auto-populate groups script that runs on a schedule, but that starts to get kludgy.

[url=http:/civis/viewtopic.php?p=28054029#p28054029:3vymedsb said:
kevin79[/url]":3vymedsb]
[url=http:/civis/viewtopic.php?p=28053861#p28053861:3vymedsb said:
Utildayael[/url]":3vymedsb]Alternative option. Use GPO Preferences to map the drives and leverage your OU structure to determine what site folks are in. You could give everyone the same letters at that point if you wanted to as the GPO for the user would map the drives. This assumes you have your OU's configured geographic-based of course. :)

This won't work since we have users that need drive letters at other locations...
If you don't want to use DFS for some reason, even better than using OUs to filter it is to link the GPOs to the sites (assuming you have your sites built out in ADS&S). Build your GPO along these lines:
  • Map first available drive starting at T: to \\ABQ-FileServer\Share if you're at the site ABQ OR in the group FileShares-SWStores-RO
  • Map first available drive starting at T: to \\PHX-FileServer\Share if you're at the site PHX OR in the group FileShares-SWStores-RO
  • Map first available drive starting at T: to \\MIA-FileServer\Share if you're at the site MIA OR in the group FileShares-SEStores-RO
  • etc.

The downside to this is that the drive letter may not be consistent between users at a site. It would also start to become a nightmare if your company grew to hundreds of sites, but at 25 that's probably not going to happen anytime soon.
 

SmartDrv

Ars Tribunus Militum
1,581
Subscriptor
DFS Namespaces should help you sort out your lack of drive letters by consolidating all of your shares as targets under a single namespace. It shouldn't matter whether the shares are on NAS/SAN/Windows Server/etc as long as the security permissions on the underlying filesystems are set appropriately so your users have access to the data they need.

For instance \\domain.tld\CompanyRoot as your namespace (using domain namespaces in my example).

Underneath you create targets that link to your existing shares

\\domain.tld\CompanyRoot\Site1 -> \\site1server\share1
\\domain.tld\CompanyRoot\Site2 -> \\site2server\share2
\\domain.tld\CompanyRoot\Site3 -> \\site3nas\share3

You can then map X: to \\domain.tld\CompanyRoot

Users will see folders Site1, Site2, and Site3 on the X: drive.

As discussed there are options where it will hide targets that users don't have access to if desired.

For simplicity sake, I suggest sticking with the default option of "Use inherited permissions from the local file system" when configuring your targets. Best not to have two separate spots to adjust permissions.

If you have DCs at each site and create a domain namespace it should take care of itself for redundancy as the namespace gets replicated to all DCs.

If you don't have a DC at a remote site and they lose connections to all DCs, they won't be able to access the DFS namespace. As such all files including local ones won't show up (though they will still be accessible if you directly accessed the share on your local server).

DFSR (DFS Replication) could help you take things to the next level by allowing you to replicate your target shares to multiple locations. The advantage here being that clients can have copy of the data on a local server instead of having to go over the WAN for it. It also can offer some redundancy if a file server goes down.

So you could have

\\domain.tld\Site1 -> \\site1server\share1, \\site2server\share1
\\domain.tld\Site2 -> \\site2server\share2, \\site1server\share2

Assuming you have your subnets properly defined in Active Directory Sites and Services, your clients will automatically access the copy of the files from the server that is closest to them.

This does require that the file servers hosting the shares have the DFS Replication role installed on them...so accessing files directly off a share hosted by a NAS won't work. However, if you used something like iSCSI to present the NAS storage to a Windows File Server with the DFSR role installed it would work fine.

Hope this helps a bit. I'd start off with the Namespaces first before playing with any replication.
 
Status
Not open for further replies.