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

Windows Server Disk Quota ownership transfer

$
0
0

When there is turnover, is there a built-in way to transfer ownership of files on a volume?

In Disk Quota, Quota Entries on Server 2012, when I try todelete a quota entry I can Take Ownership as the server administrator, but what I want to do is transfer file ownership to the new hire that is assuming that role.  It is a 'sandbox' of file storage and the files in the "owned by" list while exist all over the folder structure.


DedupJob Garbage Collection mode

$
0
0
Hi,

Is there any way to check mode of DedupJob? 
(Windows Server 2012 R2)

It says that after disabling FG with regedit, dedup-job will never do full garbage collection.
If you don't disable it, dedup-job will work in FG mode once every 4 times.
https://support.microsoft.com/en-us/kb/3066175

How do I know if FG(with dedup) is disabled? 
Did dedupjob run with what mode of garbage collection?
I checked EventLog and History of TaskScheduller and found nothing.

I'm afraid that VSS would be deleted because of FG.

And  one more question.
Setting of registry below can be refrected without rebooting the OS?
reg add HKLM\System\CurrentControlSet\Services\ddpsvc\Settings /v DeepGCInterval /t REG_DWORD /d 0xffffffff

Thank you in advance,

Kazuo Ieiri


Dyn Disk Volumes, File systems, Storage Spaces in Server 2012

$
0
0

Hi there

I am learning and practicing for MCSA 2012 70-410 While going deeper in 'Local Storage' lessons. I got a confusion here:

Q.1 Dynamic Disk: Volumes: simple, spanned, striped, mirror, raid-5

during creation of spanned, striped, mirror and raid-5 volumes choices available for File Format is either NTFS or ReFS

After these volumes have been created. I used Disk Management console and tried to re-format File Systems. I have the choices of all available like FAT, FAT32, NTFS, ReFS and it was possible to use any of these file formats on mentioned Volumes

Why? while during creation of volume, choices are only NTFS/ReFS. If later any older formats on these volumes other than NTFS or ReFS, what would it matter.

Q.2

In Storage spaces, when I add a physical disk to storage pool, it disappears from Disk Management console as it should be because now it is being managed by storage subsystem. Now when I create a virtual disk in storage space, it also does not appear in disk management. since it has no volume and file system yet.

But when I create a virtual volume on that Virtual disk it is initialized with a drive letter and appears as Basic disk with Primary partition type and volume as I configured in storage space

I have full access to re-format this virtual volume in Disk management. Amazingly disk management is allowing me to format this partition as FAT, FAT32, NTFS and ReFS and I configured I can use them to format same virtual disk. Why is that?? 

I mean for volumes being managed by storage subsystem, they must be restricted to be altered inside Disk Management in case if accidentally altered it can damage existing storage space setup.

Another thing possible in this way using Disk Management is I can Extend this virtual volume to other disks. it will do but at the cost of making this virtual volume as Dynamic and hence volume will go out of storage space if done.

and yet more I can select Add Mirror to this Virtual Volume right inside disk management console.

Since in Disk Management it is not possible to get more details of Virtual Volume it just appears as Normal Basic Disk with primary partition, so chances of mistakenly altering it in Disk Management is high enough

I am experimenting it for learning only. it is not a production system and we need to click refresh several times in Storage spaces and in Disk Management console to get most updated results.

To summarize:

1-Dynamic volumes spanned, striped, mirror and raid-5 at the time of creation in Disk Management, NTFS or ReFS. But after they have been created, I can re-format them as FAT, FAT32, NTFS and ReFS as I like. not supposed to be

2-Virtual Volume in a storage space is not only visible in Disk Management but I can also re-Format them as FAT, FAT32, NTFS and ReFS not supposed to be because formatting inside server manager allows only NTFS or ReFS for a virtual volume

3-Virtual Volume in a storage space has full access to operations in Disk Management. If I accidentally Extend this volume in Disk Management it allows to do so but it converts that Virtual Disk as Dynamic and then it goes out of Storage Pool

4-Virtual Volume in storage space has also possibility to add mirror to it. in that case too it will convert this virtual disk to dynamic which will throw it out of storage space.

your opinion awaited

regards

Problems with redirected folders

$
0
0

I’m assisting a new technical customer. They have one server (Microsoft Windows Server 2012 Standard x64) that is their DC, DNS, DHCP, print, and file server. More than I like to see on one server. They have a Group Policy (GP) that redirects there Desktop, Favorites, Documents, Pictures, Videos, and Music to network shares on the server. We have noticed that when logging into a different computer the folders are not redirected. This is the first that the customer has really tried to take advantage of using different computers so not sure if this a new or old issue.

For the point of contact when I look at her Documents library on her main computer I see the network path as one of the locations. But if we log into another workstation we do not see the same thing. I have tried to manually add the network location to the Library, but it says it cannot without the network drive being indexed.

I haven’t used redirected folders in the capacity before so not sure if I’m even on the right troubleshooting path here.

A: If your documents are redirected do a network drive should that location automatically be added to the Documents Library? If not, then how would the user normally get to their files?

B: Presuming Yes on question A. Are the only two ways to get a network path added to a Library either by setting up Indexing on the server or by enabling the Offline Files on all the workstations and have the redirected folders be made available offline?

GP is linked to the proper OU which contains both users and computers (in sub OU’s).

GP is Enforced.

GP settings for the documents redirect:

Path: \\SERVER1\username\%USERNAME%\documents

Grant User exclusive rights to Documents: Enabled

Move the contents of Documents to the new location: Enabled

Also apply redirection policy to Windows 2000, Windows 2000 server, Windows XP, and Windows Server 2003 operating systems: Enabled (enabled this as part of troubleshooting per KB2493506)

RSOP shows the GP is applying to the computer and user. In fact on the Windows 7 computer that we have been using for testing and troubleshooting of this issue we are seeing the following message in the Application Event log.

Event ID 502.

Failed to apply policy and redirect folder "Documents" to "\\SERVER1\Userhome\USER1\Documents".

 Redirection options=0x80001211.

 The following error occurred: "Can not create folder "\\SERVER1\Userhome\USER1\Documents"".

 Error details: "This security ID may not be assigned as the owner of this object.

The user is the owner of \\SERVER1\Userhome\USER1 and all folders inside are inheriting permissions.

Server name and username have been changed for privacy.

Thank you in advance.

CG

Trouble with Third Party Encryption and DFSR

$
0
0

Recently attempted to encrypt a DFS Directory. The replication was set to full mesh, with three different servers.

I took one server out of rotation.

Emptied the directory.

Encrypted the directory with a third party agent.

Pre-Seeded the data.

Checked the encryption status. Looked Good.

Started Replication.

Any file replicated to the encrypted directory was unreadable. 

The files were jibberish, usually indicative of double encryption.

Does DFSR use some sort of encryption during replication? Any one else have any suggestions as to what caused this behavior?

Files in folder have been replaced

$
0
0

Hello,

The strangest thing has happened on my server, running Windows Server 2012.

I have a shared drive containing multiple folders/files.

We noticed today that some files we need are missing - the entire folder has been replaced with other files - all CSS files, JS files, a few gifs. Looks like web page files.

This has happened in many folders - the exact same group of files are now there- and all my existing files have disappeared.This seems to have happened at the end of June, and my backups don't save copies back that far, so I'm unable to restore my lost files.

It seemed like a virus, but scans of the file system keep coming up clean.

Any help would be much appreciated!

Thanks,

Amber

File lock lost

$
0
0
Hey,
we currently have the Problem that after we upgraded to windows 10, files can be opened and by two persons at the same time (with write permission).
This leads to the problem that the chnages from person 1 are overwriten if person 2 saves after person 1 saved the changes.
Person 2 doesn't get a notification that the document is write protected

We did not have these problems in Windows 7.
The network share is hosted on a Windows Server 2012.
Maybe there are some chnages between SMB 2.1 and SMB 3.0. As far as i know there is no way to disable only SMB 3.0 (if we disable SMB 3.0, SMB 2.1 gets disabled too) so we can't test it with Windows 10 and SMB 2.1

We guess its comming from a short network loss and because of that the document loses its lock. We tried to reproduce this behaviour if the stop the network of the client (person 1) which has opend the document first. After a short period (only a few seconds) person 2 can access the document with write permission.
Is there a timeout wre can configure to chnage this behavior?

Do you have other tips?

Understanding Storage Spaces and Columns

$
0
0

Hi

Would someone please be able to help me understand why my storage space says it’s full yet I have plenty of space on the newly created space and the underlying pool? I am experimenting creating storage spaces using PowerShell, although this is on the Windows 10 client, I don’t think that should make a difference to how this works.

So, my storage pool is 7.16TB in capacity, with 6.11TB used (there are a couple of other spaces on here). It is made from 6 disks as follows:

1 x 3TB

2 x 2TB

1 x 400GB

1 x 320GB

1 x 160GB

Total = 7.16TB accounting for Hardware Vs Software capacities

I deleted a 500GB space which previously had 450GB of data on it which has resulted in me having 1TB of free pool capacity, the 450GB data is a single VHDX file so I know the pool isn’t limited on space because the pool being recreated is exactly the same but using different number of columns.

The space I am creating is identical to the original space with the only difference being the number of columns, if I select 1 column like the GUI wizard makes for me everything is fine, but I believe more columns would give me more performance. The space is a 2-way mirror and thin provisioned, I have 6 physical disks, I so far understand I should be able to create a 3 column space in this configuration. However, if I create the space using 2 or 3 columns I get an error saying there isn’t enough space when copying the file, yet it’s the same file I’m copying which works on the space created with 1 column. The space creates correctly, it correctly says I need to expand the pool by adding 6 drives which I expect if there’s a 3 column space like this. Yes I am a little short on pool space, but I have 1TB free and the file when duplicated should add up to 900GB, I should have 100GB free pool capacity left.

I could delete the other space on there but this means a time consuming process of copying it back and I don’t even know if this will work anyway given the errors I have, so before I delete more data I was looking for an answer to check if I’m doing this right.

The PowerShell code I am using is below

$SpaceName = "TestSpace"
$StoragePool = "Main Storage Pool"
$InterLeave = 262144
$disknumber = $null
$DriveLetter = 'N'


New-VirtualDisk -FriendlyName $SpaceName  -StoragePoolFriendlyName $StoragePool -NumberOfColumns 1 -ProvisioningType Thin -ResiliencySettingName Mirror -Interleave $InterLeave -Size 500GB


$disknumber = Get-VirtualDisk -FriendlyName $SpaceName | Get-Disk | Select -ExpandProperty Number

Initialize-Disk –Number $disknumber –PartitionStyle GPT

New-Partition -DiskNumber $disknumber -UseMaximumSize -DriveLetter $DriveLetter

Format-Volume -DriveLetter $DriveLetter -FileSystem ReFS -NewFileSystemLabel $SpaceName -Confirm:$false

The above code works perfectly fine, but as soon as i change just the number of columns then suddenly it doesnt work.

Appreciate any help,

thanks

Steve


iSCSI service logging into persistent targets which are deleted from registry before it starts.

$
0
0

Scenario on Windows Server 2012 VM:

I have a service X and i am making msiscsi service dependent on X. Some persistent iSCSI targets are added to the VM after it is started. On reboot i want to clean up all persistent targets so service X deletes the persistent targets from registry location:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E97B-E325-11CE-BFC1-08002BE10318}\XXXX\PersistentTargets' before iSCSI service start. I see that no persistent target is listed by iSCSI after startup but it logins to all the persistent targets. I am not able to figure out from where iSCSI is getting the target information if it is deleted from registry. 

Datastore.edb file

$
0
0

Hi,

In the server I am using (WS 2008 R2 64bit) there is a file called DataStore.edb in C:\Windows\SoftwareDistribution\DataStore.

Thin this is related to windows update log file. It is currently 1G. I think it should be ok to delete it but if someone has deleted it and is ok

What is MPIO and how does it relate to iSCSI SERVER?

$
0
0
What is MPIO and how does it relate to iSCSI SERVER?

Can this be done?

$
0
0
Windows NTFS folders

File folder1 (top level)-includes folder2(second level)
currently, everyone has modify rights to every folder.

We need to lock down the top level to only allow everyone to read only
only domain admins are able to modify on the top level folders

But, on the second level, users need to be able to modify rights.

I am testing on this now.  I took inheritance on second level folders and files.
copy the permissions.  on the folder1 (top folder), I unchecked inheritance and change everyone to 
read only.  But, no user can create folder and files on second level folder2.

Can this be done?

Thank you for your help!

icacls not reading full folder names when applying permissions to multiple directories

$
0
0

Hi, I'm looking for an easy way to apply permissions for a certain group to a long list of directories. I've come up with the following way of doing it:

First, I run a batch to generate a text file with all of the directory names at a certain location. Looks like this:

@echo off
for /d %%i in (*) do @echo %%i >>dir.txt
pause

I get a text file that looks like this (as an example):

LABOR

PROJECT MANAGEMENT

TIMECARDS

MATERIAL MANAGEMENT

Ok, so I try to apply full control permissions to each directory for the local administrators group and make it inheritable. I run this command:

for /f %i in (dir.txt) do icacls %i /grant .\administrators:(CI)(OI):F

Works like a charm... EXCEPT.

When I do this, it cuts off any folder name longer than one word. So it tries to find a folder named PROJECT for example, and apply permissions to that. Obviously that doesn't work. Isolating it with quotes in the text file doesn't help, neither do other usual tricks like commas, semicolons, %20...

This works great except for this one glitch, which mean it really doesn't work at all because most of our folders have multiple words in the titles.

Any ideas?

measure-dedupfilemetadata SLOW!

$
0
0

I am trying to use the command "Measure-DedupFileMetadata -path PATH" however this thing is slow! I am several hours into one folder and have hundreds that i would like this information on. Why does this command take this long to run? In this example the folder is 50-100GB and should beable to be read through in way less then 10 minutes, then add on whatever dedupe store lookups would be needed. Something is not adding up here.



Setting up bitlocker network unlock

$
0
0
I'm setting up bitlocker network unlock and on the wds server when a client sends a request I get two errors.

                          [WDSServer/WDSPXE/NKPPROV]NKP request processing failed while extracting key material. Remote address: ipaddress:68, Packet length: 573.

                          [WDSServer/WDSPXE/NKPPROV]Could not decrypt data with private key. HRESULT = 0x80090010.

                          Any ideas.  I verified on the client that the certificate is installed and the thumbprint matches what is installed on the wds server.

Moving shares with all permissions

$
0
0
Hello everybody. I have Server 2008 R2. We using it as file Server only.There in no Active Directory setup. There is no domain - network setup as workgroup. I need to move all shares with permissions from small hard drive to a much bigger, but leave OS on small drive. Is there safe way to do it? Thank you for any help

Sam Goykhman

Software Support Manager

$
0
0

Trying to run a program and it immediately crashed with KERNELBASE.DLL is the faulting module.  Server is 2012 r2 fully updated.  .net4.6 installed.  We have tried registering the dll and it will not register.  We have run the System File Checker and says no errors.  There is currently NO virus software on the server.  This is a brand new OS install.

I have run this exe on multiple 2012r2 servers and this is the only one that has issues. 

On this server the KERNELBASE.DLL version is 6.3.9600.18340

Faulting module path c:\windows\system32\KERNELBASE.DLL

Duplicate a lun and present to new server=loss of NTFS permissions?

$
0
0

I have a disk that I am presenting to a 2008R2 cluster. I duplicate that disk on the SAN, so I am basically presenting that exact same disk to 2012R2 server.  I am then losing access to all the folders on that disk, even though tt shows I do have the correct permissions are the root of the disk.  Is there some kind of disk signature problem when you move a disk from a 2008R2 server to a 2012R2 server?  If I seize ownership, it then shows the correct permissions from the old 2008R2 server and then I have access without having to make any changes in the ACL.  Retaking ownership  would not work as it would take days because these are very large luns.  Any ideas?

Please do not guess on this, if you do not know.  I am not looking for threads about move vs. copy NTFS permissions.  Usually, even if you are using the default 500 account for ownership or for administration, I thought that would come across to the new server which would also use its default 500 account. 

Thanks,


Dave




Extend a Simple Volume on basic disks.

$
0
0

So here's a quick question folks.

I have a Windows Server 2008 R2 machine running as a VM in VMware vSphere.

it has e: drive 200GB and I want to extend it to 300 GB. Since datastore is full so what I am planning to do is add a new 100GB disk from another datastore and extend (Span) E: drive from DISK2 to DISK3.

Confusion I have that the E: volume is SIMPLE volume on BASIC disk DISK2. I am gonna add new BASIC disk DISK3. Will DISKPART extend command will extend it without losing data ? Please help, this is urgent.

My understanding is that EXTEND command will convert SIMPLE volume to SPANNED but I am not sure this is possible on basic disks, please suggest.

Thanks


iSCSI not reconnecting after reboot

$
0
0

I have two servers(Windows Server 2012 R2) in a fail over cluster that hosts file servers and VMs. They are connected to a Synology RS815RP for iSCSI storage. I have 6 Targets that I connect to in Microsoft iSCSI initiator. Whenever I reboot any of the servers not all of the targets reconnect. I went through all the targets and made sure to check:     ADD TO Favorites list

Contacted Synology support and there recommendation is to increase the timeout value because its a issue with windows. 



Viewing all 7579 articles
Browse latest View live


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