Menu

Could not find specified mirror 'D' in diskpart output - Already changed DP_ vars in run.bat

Help
Anonymous
2015-01-11
2018-11-29
  • Anonymous

    Anonymous - 2015-01-11

    Hi guys,

    Thanks for this piece of software. I'm sure it works really well for what I've seen what other users have posted but unfortunatelly, it is not working on my system. I'm running a Win7 Pro x64 (language is European Portuguese: PT-pt) and it seems that no matter what I change the DP_HEALTHY and DP_MIRROR vars to, the output is always the same. Seems that somehow either it is not fetching what it should from diskpart.exe's output or diskpart.exe in this system, is not outputing what it was supposed to.

    Could you guys help me out on this one?

    I have a couple of questions that I think that are the main point of the problem, and having the answers to them, I might solve the problem.

    1. When your program 'WinRaidMonitor.jar' calls diskpart.exe, what are the exact parameters diskpart.exe takes in? (i.e.: diskpart 'list volume')
    2. When diskpart.exe outputs what WinRaidMonitor.jar asks, what is it expected for WinRaidMonitor.jar to 'see' or what is exactly WinRaidMonitor.jar looking for ?

    Thanks in advance,
    Regards
    Pedro Sousa

     
  • Matthias

    Matthias - 2015-01-12

    Hello, WinRaidMonitor calls diskpart.exe with the "list volume" parameter, exactly. On an English system it would expect something like this as output:

      Volume ###  Ltr  Label        Fs     Type        Size     Status     Info    
      ----------  ---  -----------  -----  ----------  -------  ---------  --------
    * Volume 0     M   RAID5        NTFS   RAID-5      5589 GB  Rebuild            
      Volume 1     E                       DVD-ROM         0 B  No Media           
      Volume 2         System Rese  NTFS   Partition    100 MB  Healthy    System  
      Volume 3     C                NTFS   Partition     74 GB  Healthy    Boot
    

    The value in the column "Type" is expected in DP_MIRROR, and DP_HEALTHY defines what has to be in the "Status" column.

    Hope that helps!

     
  • Pedro Sousa

    Pedro Sousa - 2015-01-12

    Hi Matthias,

    Thank you so much for your quick reply.

    This is what my diskpart.exe outputs:

      Volume 0     D   Backup       NTFS   Espelho      931 GB  Bom Estad          
      Volume 1     F   GRMCULFRER_  UDF    DVD-ROM     4420 MB  Bom Estad          
      Volume 2     H                       DVD-ROM         0 B  Sem supor          
      Volume 3         Sistema Res  NTFS   Parti‡Æo     100 MB  Bom Estad  Sistema 
      Volume 4     C                NTFS   Parti‡Æo     465 GB  Bom Estad  no arran
      Volume 5     I                       Amov¡vel        0 B  Sem supor          
      Volume 6     J                       Amov¡vel        0 B  Sem supor          
      Volume 7     K                       Amov¡vel        0 B  Sem supor          
      Volume 8     L                       Amov¡vel        0 B  Sem supor          
      Volume 9     E   7SP1_AIO     NTFS   Amov¡vel      14 GB  Bom Estad
    

    Volume 0 is the mirror array.
    And these are my vars in run.bat file:

    SET DP_HEALTHY=Bom Estad
    SET DP_MIRROR=Espelho

    By the way, the full healthy string is - "Bom Estado de Funcionamento", this is what is shown in diskmgmt.msc - (yes, portuguese can be a pain in the a$$ sometimes) although, diskpart only shows what you see and that's exactly what i've put in DP_HEALTHY var.

    As DP_HEALTHY output contains a space I already took your advice to another user (the spanish one) and put double quotes around %DP_HEALTY% at the bottom of the file, like this "%DP_HEALTY%".
    Although, everytime I run the batch file, it says that it cannot find the 'D' mirror. So, I'm a bit out of luck here.

    Any ideas?

    Thanks again for your time.
    Kind regards,
    Pedro Sousa

     

    Last edit: Pedro Sousa 2015-01-12
  • Anonymous

    Anonymous - 2015-01-12

    Hmm, hard to say, since I cannot reproduce that on my machine. I would need to investigate a bit. Unfortunately I am not at home this week, so I can not do that before the next weekend. I will keep you unformed when I have checked it out!

     
  • Matthias

    Matthias - 2015-01-14

    So, I think I have found the problem.
    Could you please try the attached version?

     
  • Anonymous

    Anonymous - 2015-01-14

    Hello Matthias,

    Thanks a lot for your reply. Your update was successfull. It is working now.

    I know it has nothing to do with the change you made, but just to let you know, I also had to change the JVM path from "C:\Program Files (x86)\Java\jre7" to "C:\Program Files (x86)\Java\jre1.8.0_25" in run.bat.

    Nonetheless, it is working great :)
    Thank you once again for your time and effort.
    Kind regards,
    Pedro Sousa

     
  • Matthias

    Matthias - 2015-01-14

    Great, glad to hear it's working for you now.
    Cheers!

     
  • Anonymous

    Anonymous - 2018-11-29

    Hi, im still unable to get this. my list volume as below:

    DISKPART> list volume

    Volume ### Ltr Label Fs Type Size Status Info


    Volume 0 D IR5_CCSA_X6 UDF DVD-ROM 4120 MB Healthy
    Volume 1 F NTFS Partition 931 GB Healthy
    Volume 2 E New Volume NTFS Partition 931 GB Healthy
    Volume 3 System Rese NTFS Partition 350 MB Healthy System
    * Volume 4 C NTFS Partition 931 GB Healthy Boot

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.