locked
Erro no XML do File Server Resource Manager - Quota disk RRS feed

  • Pergunta

  • Pessoal boa tarde!

    Estou com um erro no File Server Resource Manager, na parte de gerencia as quotas de diretórios.

    As regras das quotas estão funcionando, mas, mesmo assim não consigo abrir a console para reconfigurar ou criar novas regras de quota.

    Recebo os erros abaixo:

    [12:48:43] Uilson Souza: A file server resource manager xml configuration file or import-export file is corrupted
    [12:49:49] Uilson Souza: A File Server Resource Manager configuration file or import-export file is corrupted.  If the corrupt file is a configuration file, it is required that the system or volume be restored from backup.  If the file is an import-export file, export the items again and retry the operation without editing the file contents.

    Já verifiquei diversos posts no technet, inclusive o https://technet.microsoft.com/en-us/library/cc734547(v=ws.10).aspx que me sugere exportar o xml, mas, nem isso consigo fazer, dá o mesmo erro.

    Alguém tem alguma dica?

    Obrigado


    Uilson Souza | MCTS ISA Server | MTAC - Microsoft Technical Audience Contributor http://uilson76.wordpress.com

    segunda-feira, 13 de junho de 2016 18:22

Respostas

  • Olá Uilson,

    seguem alguns procedimentos, não sei se todos os passos já foram executados.

    -------------------

    Symptom
    Error while accessing Quota Management on FSRM

    "A file server resource manager xml configuration file or import-export file is corrupted"

    Cause
    Quota.xml was corrupt

    Resolution
    Replaced the file from a working machine and issue resolved

    -------------------

    Run the following commands on an elevated command prompt

    net stop quota
    net stop datascrn
    net stop srmsvc

    takeown /f "E:\System Volume Information"
    takeown /f "E:\System Volume Information\srm"
    takeown /f "E:\System Volume Information\srm\quota.xml"
    takeown /f "E:\System Volume Information\srm\quota.md"

    icacls "E:\system volume information\" /grant "administrators":(F)
    icacls "E:\system volume information\srm" /grant "administrators":(F)
    icacls "E:\system volume information\srm\quota.xml" /grant "administrators":(F)
    icacls "E:\system volume information\srm\quota.md" /grant "administrators":(F)

    copy "E:\system volume information\srm\quota.xml" "C:\Temp"
    copy "E:\system volume information\srm\quota.md" "C:\Temp"

    Start :E:\system volume information\srm\"

    Right click quota.xml and click edit

    Check in text if there are invalid characters like ~ or some other garbage values.
    Try removing the values and save the file

    Run the commands
    net start quota
    net start datascrn
    net start srmsvc

    If the above steps doesn’t resolve the issue, Please follow the steps below

    on an elevated  command prompt please run
    net stop quota
    net stop datascrn
    net stop srmsvc

    From a backup available then replace quota.xml and Quota.MD file from Backup

    -------------------

    Symptom
    Quota corruption on a Windows Server 2008 R2 file server, with error message 'A File Server Resource Manager XML configuration file or import-export file is corrupted'.

    Cause
    Quota corruption

    Resolution

    1. Stop the FSRM service and driver:
    net stop srmsvc
    net stop quota

    2. Open CMD as a admin, locate to \System Volume Information\SRM, then run the following command.

    ATTRIB quota.xml -s -h
    ATTRIB quota.md -s -h
    ren quota.md quota.md_bak
    DEL quota.xml
    DEL quota.md

    3. Start the FSRM service and driver:
    net start srmsvc
    net start quota

    -------------------

    Espero que ajude!

    • Sugerido como Resposta Bruno H. Secchi quarta-feira, 22 de junho de 2016 17:10
    • Marcado como Resposta Thales F Quintas sexta-feira, 24 de junho de 2016 13:35
    quarta-feira, 22 de junho de 2016 17:10

Todas as Respostas

  • O buraco pode ser bem mais embaixo e serve também para 2008 e 2012: Error when you click the “File Screens” section of FSRM on Windows Server 2003 R2 with Service Pack 2
    • Marcado como Resposta Thales F Quintas terça-feira, 14 de junho de 2016 16:21
    • Não Marcado como Resposta Uilson Souza terça-feira, 14 de junho de 2016 18:13
    terça-feira, 14 de junho de 2016 14:54
  • Olá colega! Não resolveu o problema. Segui o sugerido no post, mas o erro persiste. Alguma outra dica?

    Obrigado pela ajuda


    Uilson Souza | MCTS ISA Server | MTAC - Microsoft Technical Audience Contributor http://uilson76.wordpress.com

    terça-feira, 14 de junho de 2016 18:14
  • Olá Uilson,

    seguem alguns procedimentos, não sei se todos os passos já foram executados.

    -------------------

    Symptom
    Error while accessing Quota Management on FSRM

    "A file server resource manager xml configuration file or import-export file is corrupted"

    Cause
    Quota.xml was corrupt

    Resolution
    Replaced the file from a working machine and issue resolved

    -------------------

    Run the following commands on an elevated command prompt

    net stop quota
    net stop datascrn
    net stop srmsvc

    takeown /f "E:\System Volume Information"
    takeown /f "E:\System Volume Information\srm"
    takeown /f "E:\System Volume Information\srm\quota.xml"
    takeown /f "E:\System Volume Information\srm\quota.md"

    icacls "E:\system volume information\" /grant "administrators":(F)
    icacls "E:\system volume information\srm" /grant "administrators":(F)
    icacls "E:\system volume information\srm\quota.xml" /grant "administrators":(F)
    icacls "E:\system volume information\srm\quota.md" /grant "administrators":(F)

    copy "E:\system volume information\srm\quota.xml" "C:\Temp"
    copy "E:\system volume information\srm\quota.md" "C:\Temp"

    Start :E:\system volume information\srm\"

    Right click quota.xml and click edit

    Check in text if there are invalid characters like ~ or some other garbage values.
    Try removing the values and save the file

    Run the commands
    net start quota
    net start datascrn
    net start srmsvc

    If the above steps doesn’t resolve the issue, Please follow the steps below

    on an elevated  command prompt please run
    net stop quota
    net stop datascrn
    net stop srmsvc

    From a backup available then replace quota.xml and Quota.MD file from Backup

    -------------------

    Symptom
    Quota corruption on a Windows Server 2008 R2 file server, with error message 'A File Server Resource Manager XML configuration file or import-export file is corrupted'.

    Cause
    Quota corruption

    Resolution

    1. Stop the FSRM service and driver:
    net stop srmsvc
    net stop quota

    2. Open CMD as a admin, locate to \System Volume Information\SRM, then run the following command.

    ATTRIB quota.xml -s -h
    ATTRIB quota.md -s -h
    ren quota.md quota.md_bak
    DEL quota.xml
    DEL quota.md

    3. Start the FSRM service and driver:
    net start srmsvc
    net start quota

    -------------------

    Espero que ajude!

    • Sugerido como Resposta Bruno H. Secchi quarta-feira, 22 de junho de 2016 17:10
    • Marcado como Resposta Thales F Quintas sexta-feira, 24 de junho de 2016 13:35
    quarta-feira, 22 de junho de 2016 17:10