Quantcast
Channel: File Services and Storage forum
Viewing all 13565 articles
Browse latest View live

Limit SMB for domain logged user only

$
0
0

Hi.

We want to deploy an SMB sharing on one server which allow only domain logged user to access.

If a user without domain logging want to access, server should deny it without asking for a domain user and password. Any user, has a domain user and password or not, did not login to desktop through it, cannot access to this sharing.

It that possible?

Thanks.


symbolic link save fails with Office 2007

$
0
0
I've created symbolic links on my 'server1' using the mklink command:
mklink linkfile.docx \\server2\sharename\folder1\folder2\myfile.docx
linkfile.docx is in a shared folder on server1

I've exectuted:
fsutil behavior set SymlinkEvaluation L2L:1 L2R:1 R2R:1 R2L:1
on all 3 systems and booted them. all 3 systems are windows server 2008


From my win2008 "workstation" I can open the  \\server1\sharedfolder\linkfile.docx in word 2007 just fine BUT when I save the file I get
"there has been a network or file permisson error. The network connection may be lost."

same procedure above but with an Excel 2007 file and save also fails but with message:
"document not saved"

HOWEVER, if I do this with a plain text file "test1.txt" open the symbolic link with notepad, make changes and I can save just fine.

what is going on?
thanks much,

share and security permission.

$
0
0

Hi,

  How to remove the disable User ID form file-server 2012 share and security permission. If they user get resign AD ID will disable then how to remove the Id not manual by going security tab and remove the ad id's.

   

User home folder - UNC path shows all user folders

$
0
0

I created a 'users' folder and created a hidden share. Permission given to Domain admin, local and domain users. From AD user properties I pointed the home folder as subdirectory which automatically gave the user permission. \\servname\users$\username I checked the NTFS permission and its only to admins and the user itself.

Now the issue is when any user try the UNC path he can see all the folders because of share permission. How do I set this up so no one can able to see the user folder except admins

Your help greatly appreciated

Thanks


numan

MPIO path id to Iscsi session mapping

$
0
0
Hi,

I am playing around with ISCSI and MPIO. I can get the iscsi connection information from the 'Get-IscsiConnection' cmdlet. It gives the target portals the initiator is connected to. Then I have the mpclaim -v command which gives me the current state of paths. In my case I have one active/optimised path and the other standby paths. This information about the mpio path states is shown with respect to Path Ids. I want a way to know which connection/target portal does this path Id  correspond to. In GUI, the mpio tab of iscsi initiator window has this information. Do we have a way to obtain this info through power shell ? 

Reference for output of mpclaim -v :

MPIO Storage Snapshot on Tuesday, 05 May 2009, at 14:51:45.023 Registered DSMs: 1 ================+--------------------------------|-------------------|----|----|----|---|-----+ |DSM Name | Version |PRP | RC | RI |PVP| PVE | |--------------------------------|-------------------|----|----|----|---|-----| |Microsoft DSM |006.0001.07100.0000|0020|0003|0001|030|False|+--------------------------------|-------------------|----|----|----|---|-----+ Microsoft DSM ============= MPIO Disk1: 02 Paths, Round Robin, ALUA Not Supported SN: 600D310010B00000000011 Supported Load-Balancing Policy Settings: FOO RR RRWS LQD WP LB Path ID State SCSI Address Weight --------------------------------------------------------------------------- 0000000077030002 Active/Optimized 003|000|002|000 0 Adapter: Microsoft iSCSI Initiator... (B|D|F: 000|000|000) Controller: 46616B65436F6E74726F6C6C6572 (State: Active) 0000000077030001 Active/Optimized 003|000|001|000 0 Adapter: Microsoft iSCSI Initiator... (B|D|F: 000|000|000) Controller: 46616B65436F6E74726F6C6C6572 (State: Active) MPIO Disk0: 01 Paths, Round Robin, ALUA Not Supported SN: 600EB37614EBCE8000000044 Supported Load-Balancing Policy Settings: FOO RR RRWS LQD WP LB Path ID State SCSI Address Weight --------------------------------------------------------------------------- 0000000077030000 Active/Optimized 003|000|000|000 0 Adapter: Microsoft iSCSI Initiator... (B|D|F: 000|000|000) Controller: 46616B65436F6E74726F6C6C6572 (State: Active) Microsoft DSM-wide default load-balancing policy settings: Round Robin No target-level default load-balancing policy settings have been set.

The reference for iscsi connection and session info:


PS C:\> Get-IscsiConnection


ConnectionIdentifier : ffffe001e67f4020-29f
InitiatorAddress     : 0.0.0.0
InitiatorPortNumber  : 44996
TargetAddress        : 10.120.34.12
TargetPortNumber     : 3260
PSComputerName       :

ConnectionIdentifier : ffffe001e67f4020-2a0
InitiatorAddress     : 0.0.0.0
InitiatorPortNumber  : 46020
TargetAddress        : 10.120.34.13


TargetPortNumber     : 3260
PSComputerName       :

ConnectionIdentifier : ffffe001e67f4020-2a1
InitiatorAddress     : 0.0.0.0
InitiatorPortNumber  : 47044
TargetAddress        : 10.120.34.14
TargetPortNumber     : 3260
PSComputerName       :

ConnectionIdentifier : ffffe001e67f4020-2a2
InitiatorAddress     : 0.0.0.0
InitiatorPortNumber  : 46788
TargetAddress        : 10.120.34.15
TargetPortNumber     : 3260
PSComputerName       :



PS C:\>

I basically want to know which target portal does this pathid "0000000077030002" correspond to ?


VSS Writer Fails

$
0
0
We are using Server 2008 Standard 64 bit.

Any time we try to back up to a local disk, USB disk or external share it fails, upon further investigation it says the VSS writer has failed.

We uninstalled and reinstalled the backup add on but it did not fix the problem.

I checked services and Volume Shadow service is running, does anyone have any ideas why this is happening?

Thanks a bunch

Jason

Offline files pointing to an old file server?

$
0
0

Hi All,

I have some challenges with offline files. Within my organisation there are a number of laptop operators that utilize offline files, which is normally fine. However we recently changed our File Server and on at least one laptop it looks like the offline files are 'pointing' to the old File Server! 

I figure that I can manually turn off offline files, then later re-enable them, on the affected laptops. My next challenge is to determine which laptops are actually affected, as not all laptops have offline files enabled. Once I have done this I will then need to compare the file shares on both the new and old File Servers.

Any suggestions regarding how to tackle these challenges will be greatly appreciated.

Kind Regards,

Davo


Why does file operations hangs after deleting folder on large NTFS volume

$
0
0

There is a computer under Windows Server 2012R2 with 54,5 TB NTFS volume. Volume is almost full and highly fragmented (defrag.exe says that it has 98% fragmented space). It is used for storing video archive and have folder structure: d:\Video\. There are about 4K folders under the Video and each folder contains 100 - 12K files.

When I delete any of that folders there is a very long interval (minutes or tens of minutes) when every WINAPI file function "hangs". They not returns any error they simply doesn't return. After that period of time they finally returns without any error.

I can see in Windows Performance Analyzer that while hanging time there is one CPU-consuming thread in System process. Its stack:

2 [Root]
3   |- ntoskrnl.exe!KiStartSystemThread
4   |    ntoskrnl.exe!PspSystemThreadStartup
5   |    |- ntoskrnl.exe!ExpWorkerThread
6   |    |    |- Ntfs.sys!NtfsCheckpointAllVolumes
7   |    |    |    Ntfs.sys!NtfsForEachVcb
8   |    |    |    Ntfs.sys!NtfsCheckpointAllVolumesWorker
9   |    |    |    Ntfs.sys!NtfsCheckpointVolume
10  |    |    |    Ntfs.sys!NtfsFreeRecentlyDeallocated
11  |    |    |    |- Ntfs.sys!NtfsDeviceIoControl
12  |    |    |    |    |- Ntfs.sys!NtfsCallStorageDriver
13  |    |    |    |    |    ntoskrnl.exe!KeExpandKernelStackAndCalloutInternal
14  |    |    |    |    |    ntoskrnl.exe!KiSwitchKernelStackContinue
15  |    |    |    |    |    ntoskrnl.exe!KySwitchKernelStackCallout
16  |    |    |    |    |    Ntfs.sys!NtfsStorageDriverCallout
17  |    |    |    |    |    volsnap.sys!VolSnapDeviceControl
18  |    |    |    |    |    |- volsnap.sys!VspQueryCopyFreeBitmap
19  |    |    |    |    |    |    |- ntoskrnl.exe!RtlFindNextForwardRunClearCapped

Can anyone help me to understand what's going on? I have full access to the server and can give any additional info.


NTFSInfo output:

NTFS Information Dump V1.01
Copyright (C) 1997 Mark Russinovich
http://www.sysinternals.com

Volume Size
-----------
Volume size            : 57223549 MB
Total sectors          : 117193830399
Total clusters         : 3662307199
Free clusters          : 7644452
Free space             : 119444 MB (0% of drive)

Allocation Size
----------------
Bytes per sector       : 512
Bytes per cluster      : 16384
Bytes per MFT record   : 1024
Clusters per MFT record: 0

MFT Information
---------------
MFT size               : 14959 MB (0% of drive)
MFT start cluster      : 196608
MFT zone clusters      : 3653996704 - 3654008160
MFT zone size          : 179 MB (0% of drive)
MFT mirror start       : 1

Cannot delete share of folder that has been deleted

$
0
0

I had a folder shared using server manager file and storage services. I deleted the folder and now cannot delete the share.

I checked in the list of registry shares and it does not exist.


DISKSHADOW Hangs when attempting to backup Hyper V VMs

$
0
0
I've been backing up Hyper V VM's for a while using DISKSHADOW (for testing purposes).  For the most part it works great, but every now and then I run into a Hyper V Host that just, for no apparent reason, starts hanging when running DISKSHADOW.  It doesn't matter if I run DISKSHADOW interactively or in script mode, once I issue the CREATE command, it just hangs.  What's worse, once it starts hanging, it seems to continue hanging on each subsequent attempt.  On some occasions a restart has cleared up the issue, but I have actually had to move VMs I want to backup to other hosts because the problem persists.

The Hyper V Hosts having the issues are Windows Server 2008 DataCenter Service Pack 2 (Build 6002).  No issues with R2... yet.

Here is the script I use:
reset
Delete Shadows All
set Context Persistent
Begin Backup
Writer Verify {66841cd4-6ded-4f4b-8f17-fd23f8ddc3de}
Add Volume C: ALIAS system
Add Volume \\?\Volume{d67d17e8-90be-11de-9f37-0023aef8c36e}\ ALIAS NUMBER0
Add Volume \\?\Volume{d551c1d1-9233-11de-9f37-0023aef8c36e}\ ALIAS NUMBER1
Add Volume \\?\Volume{d551c244-9233-11de-9f37-0023aef8c36e}\ ALIAS NUMBER2
Add Volume \\?\Volume{d551c2b7-9233-11de-9f37-0023aef8c36e}\ ALIAS NUMBER3
Add Volume \\?\Volume{d551cf67-9233-11de-9f37-0023aef8c36e}\ ALIAS NUMBER4
Add Volume \\?\Volume{72206281-93a0-11de-9f37-0023aef8c36e}\ ALIAS NUMBER5
Add Volume \\?\Volume{722063dd-93a0-11de-9f37-0023aef8c36e}\ ALIAS NUMBER6
Add Volume \\?\Volume{09916734-9c56-11de-9f37-0023aef8c36e}\ ALIAS NUMBER7
Add Volume \\?\Volume{099167a7-9c56-11de-9f37-0023aef8c36e}\ ALIAS NUMBER8
Add Volume \\?\Volume{b4d88841-a998-11de-9f37-0023aef8c36e}\ ALIAS NUMBER9
Create
end Backup
Expose %NUMBER0% F:
Exec c:\HVVMBackupWorker\swap\CopyVHD_NUMBER0.CMD
Unexpose F:
Expose %NUMBER6% F:
Exec c:\HVVMBackupWorker\swap\CopyVHD_NUMBER6.CMD
Unexpose F:
Expose %NUMBER9% F:
Exec c:\HVVMBackupWorker\swap\CopyVHD_NUMBER9.CMD
Unexpose F:
Exit

Again, this script has worked on this server numerous times in the past. 

The most frustrating part of this is that there is no identifiable difference in the number or type of events logged in the Windows Event Logs when the process works and when it hangs. 

So here are my questions:
1.  Does VSS create any logs outside of Event logs?
2.  Is there any other way to query the VSS service for possible errors?

Problem with folder redirection / indexing.

$
0
0

Hello,

i migrated some files (around 1,5TB) from 2008 R2 to 2012 R2 with Robocopy. Installed file services, created namespace, verified permissions. Then i tried to redirect user folder to this location, from old one. For new profiles it links just fine - for ones that were linked to previous location, it wont redirect as it says that there are access problems. I cant add it manually to the documents library either - it says the target location is not indexed.

In old configuration we were using offline files, now we want to get rid of this feature. I searched the web for solution, but couldnt find one. Some said to index my share - so i tried. I get errors 7040 (damaged files in index) and 7042 (windows search is being stopped, because problem with indexer occured: the catalog is corrupt). Then it rebuilds from scratch - which process takes HELL LOT OF TIME (30-40hours). Then crashes / ? and starts all over again. Cant find any logs to waht exactly is causing index corrutpion. The same problem is described here: http://www.networksteve.com/forum/topic.php/Windows_Search_indexing_limits/?TopicId=113606&Posts=1

unfortunately without solution. I need a solution for the problem - recreating profiles of over 200 users is not appealing at all, but its the only perspective i see for now.

Clients are Windows 10 10586, soon updated to Anniverasry (but tested it also with anniversary machine, same problem).

ReFS on Storage Space - specific operational questions

$
0
0

I have done a lot of experimenting with storage space (and like them) and am considering ReFS for use on a photo editing workstation where there are lots of rarely used images that I want to protect from long term bit rot.

I am doing this in Windows 10 AU with Powershell.

Some specific questions: 

1) If I set the File Integrity flag for a file, and at some point a checksum discrepancy is found, what specifically occurs?   Does it auto-repair from storage space redundancy?   Does it record this fact anywhere?  How are any failures to repair reported? 

1a) Is there any way to simulate such a failure, easily?   And how and when (and can you force) an integrity check scan?

2) It appears the File Integrity default can be set at format time for a volume.  I cannot find any way to change it on a volume (specifically the default, I can see how to change individual files).  Is there a way to change the default short of re-format?  Is the default doing anything beyond just setting the default for files (i.e. is it doing something more at the volume level)?  

And final more subjective question: 

3) The performance suffers a lot with File Integrity set (on SSD 2x2 mirror).  During initial image uploads and subsequent editing speed is important, later not much so.  My thinking is to disable file integrity as default, but run a brief script that takes any file over a week old (basically when a given shoot has been edited and published), and sets file integrity on it for longer term protection.  Obviously some risk in that interim, but that aside, is there any downside to this approach?   (Specifically to not having the volume itself flagged just individual files?)

Thanks.  

Linwood

copying from network location

$
0
0
  • i have an FTP site like ftp://xxx.xxx.xxx.xxx

    username password for it.

    i had added a network location for this ftp site in "MY COMPUTER"

    and it is accessible correctly and named it as "remote-ftp".



    i need to copy the files from this "remote-ftp" to local drive like d:\newfolder etc through c#.

    when i took cmd prompt and tried copy command like 

    copy "remote-ftp\file1.txt" d:\newfolder\ff.txt

    it said system cannot find file specified.

    i cant create map network drive for ftp site.


    now i need to copy same file "remote-ftp\file1.txt" through c# 

    file.copy( "remote-ftp\file1.txt","d:\dfd.txt")
    I JUST NEED TO COPY file1.txt to local drive d:\
    help me how to do this?


      asked how to copy from File.copy method.

  • i had saved remember password etc from accessing ftp site and added network location in my computer.

    from that network location how to copy it using File.copy


Titoo 11:11 chittur.

Open files reverting to read only

$
0
0

Got a problem I am struggling to resolve.

When opening a file from our file server it opens correctly with read/write access. This is confirmed when checking in the "open files" mmc.

After leaving the file open for roughly half a day, it will complain that the file is open as read only when trying to save. The only way to save is to save it under a different name.

Checking under open files it confirms that the same user still has read/write access to the file. If I close the open file through the open files mmc it will then let the user save the file again.

File server is Windows 2012 R2. We are using DFS to access the shares. Only one DFS target is being used, not using DFSR for any of the shares.

Thanks in advance for any help you can give

Windows stalls when copying reaches 99% or when saving changes to spreadsheets and documents

$
0
0

I have a virtual Windows Server 2012 R2 Standard which I use as a file server. The users access these files over via a network share on the virtuel server.

I have checked all settings and configurations, but I can't seem to find the reason why [some times] a large file transfer stops at 99% and just .... waits. It can wait for 5 seconds to 2 minutes. Most of the times it finishes, but the result can also be"network error".

Also, when saving changes to a spreadsheet or a document this message remains on the screen for several seconds (up to 15-20 seconds) (the message just says "Saving" in Danish):


Regards,
Allan Kjær
blog href="https://techallan.blogspot.dk/">blog</a>


Windows Server 2012R2 cluster NFS access denied on RHEL

$
0
0
Hi All,

This is regarding a file server on w Windows Server 2012r2 cluster with NFS shares set up.

Short description of the configuration used: NFSv4 is used. RHEL clients are accessing the shares. They are granted access through NFS client groups. No server authentication is used. Allow unmapped user by access by UID/GID is set up.

The problem is that RHEL servers are getting random access denied error (mostly when failing the roles/shares between nodes).

After lots of testing and troubleshooting tried, the only thing, I think, that left is that NfsService account is not set up to have permissions to the cluster in the cluster configuration. Not sure if that matters though. But in order to add that account I think I need to reinstall Services for NFS (I assume NfsService does not have permissions on the cluster as it was installed before the cluster was built).

Questions:
1. Should the NfsService account have full control permissions to the cluster, and my that me the cause of the problems described above?
2. If 1. is not relevant, what else can cause the random access denied?

Any suggestions are more that welcome.

Cannot create new folder since Windows Updates

$
0
0

I'm heaving troubles creating a new folder since I installed some Windows updates. I browse to the DFS namespace using the following path:

\\contoso.com\data$\myfolder

When I right click inside the folder and select New -> Folder from the Context Menu I see the following error.

"Could not find this item

This is no longer located in <%3 NULL:OpText. Verify the item's location and try again."

The user account has Full Control NTFS & Share permissions to the folder I'm trying to create a new folder in. When I logon to the server itself which is sharing the folder, I see the new folder is getting created but it doesn't show up in the local Windows Explore which is browsing the share, only the error message is shown. When I click "Try Again" a second new folder is created which I can rename successfully. 

This problem occurs since I installed some Windows updates:

KB3151058 
KB3153704 
KB3155784 
KB3156016 
KB3156017 
KB3156019 
KB3156059 
KB3159398 
KB3161561 
KB3161949 
KB3161958 
KB3162343 
KB3164024 
KB3164033 
KB3164035 
KB3164294 
KB3167679 
KB3169704 
KB3170377 
KB3170455 
KB3172727 
KB3172729
KB3173424 
KB3175443 
KB3175887 
KB3177108 
KB3177725 
KB3178034 

Network location - Ramsomware

$
0
0

We are using to access shared folders the  map drive option. But, it was infected by ransomware. We want to use network location like an option. Has been it infected by ransomware ?

Does we have other options? We cannot pay for NAS.

Thanks in advance. 

Windows Search not working in share

$
0
0

I have 2 Windows Server 2012 Std. and a number of Windows Server 2008 servers. We have been sharing the drives and providing access to users. recently, we have noticed that Windows search does not work when a share in Server 2012 is accessed from user desktops. however for all windows Server 2008 search in share works great.

I have done the following troubleshooting -

1) Windows Search feature is installed in the servers and service is running as well

2) Search works ok if the drive is accessed from the server console directly, not from share

3) Windows Search works OK if the drive is mapped with admin share ($ share)

4) Issue occurs only in Windows server 2012

Thanks in advance.

pagefile.sys size increased

$
0
0

Hi.!

I am using Windows Server 2008 R2 in one of my server and also i'm using Hyper-V on that same server. This server is configured with Intel Xeon E5645 @2.40GHz (2 Processors), 32 GB RAM. but still my pagefile.sys has taken the size on the disk 31.9 GB, and due to that my C:\ is almost full. Kindly help me out of that.

Viewing all 13565 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>