Academic Company Events Community Support Solutions Products & Services Contact NI MyNI
4 ratings:
 3.5 out of 5   

LabVIEW Real-Time Module Causes Disk Corruption on Hard Drives Greater Than 126 GiB



Hardware: PXI/CompactPCI>>Controllers

Problem:
National Instruments released a notification stating the "LabVIEW Real-Time Module causes disk corruption on hard drives greater than 126 GiB." How do I resolve this issue without corrupting the hard drive of my real-time system?

If you install the LabVIEW Real-Time Module 8.6.1 on the RT target, Phar Lap ETS automatically detects a real-time boot partition that is unsafe and does not boot the LabVIEW Real-Time Module until the drive has a first patition smaller than 126 GiB. LabVIEW Real-Time 8.6.1 notifies you in this case by printing one of the following error messages to the RT console.

LabVIEW Real-Time may only be accessed on partitions that completely fall within the first 126 GiB of the hard disk. The current RT partition spans beyond the allowed boundary, so the partition will be resized in accordance with LabVIEW Real-Time requirements to 126 GiB. For more information, refer to ni.com/info and enter the info code "rt126gb"
or
LabVIEW Real-Time may only be accessed on partitions that completely fall within the first 126 GiB of the hard disk. The first RT-compatible partition starts beyond the first 126 GiB of the hard disk. Format failed. For more information, refer to ni.com/info and enter the info code "rt126gb"


Solution:
Affected Software Versions: LabVIEW Real-Time Module 8.6.1 and earlier and LabWindows/CVI Real-Time Module 9.0 and earlier.

LabVIEW 2009 Real-Time Module and LabWindows/CVI 2009 Real-Time Module:
The 2009 versions of the LabVIEW Real-Time Module and the LabWindows/CVI Real-Time Module introduced support for hard drives up to 2046 GiB (approximately 1.99 TiB). If you install version 2009 of the LabVIEW Real-Time Module or the LabWindows/CVI Real-Time Module on an RT target with a partition up to 2046 GiB, the module will allow the installation. The RT formatting utility that installs with the 2009 software automatically creates a real-time boot partition up to 2046 GiB.

For Desktop ETS Systems:
To identify whether the hard drive is larger than 126 GiB, view the hard drive size through the BIOS or check the label of the hard drive. If the hard drive has not been corrupted it is possible to recover information on the hard drive without risk of losing data. To recover this information, insert the hard drive (as a secondary hard drive) into a computer booting Windows and use the Windows file explorer to access the files.

If the hard drive is larger than 126 GiB there are two options to restore your system to proper operation.
  • Replace the current hard drive with a hard drive 126 GiB or smaller.
    1. To reinstall LabVIEW Real-Time to a hard drive, follow the directions in Product Manuals: Using Desktop PCs as RT Targets with the LabVIEW Real-Time Module (8.5.1).
  • Use version 8.6.1 of the Desktop PC Utility USB Drive to repartition the hard drive larger than 126 GiB . If all partitions accessed by the LabVIEW Real-Time Module are on the first 126 GiB of the hard disk, there is no possibility of corruption. You may use the Desktop PC Utility USB Drive to format a single partition for the LabVIEW Real-Time Module within the 126 GiB boundary.
    1. To format a safe, single partition, ensure that the LabVIEW Real-Time Module 8.6.1 is installed on the host Windows PC.
    2. Launch NI Measurement & Automation Explorer (MAX) and create a Desktop PC Utility USB Drive (Select Tools»RT Disk Utilities»Create Desktop PC Utility USB Drive). If you have more than one version of the LabVIEW Real-Time Module installed on the host computer, ensure that you select version 8.6 of the Desktop PC Utility USB Drive.
    3. Reboot the target with the USB drive inserted. This equires the following BIOS settings:
      1. Modify the boot order to ensure the USB key is booted before the HDD.
      2. Ensure Legacy USB Support is enabled.
    4. Select the option to Format Hard Disk.
    5. Select to Erase all partitions and create a single new partition..
    6. Select either the Reliance or FAT file system.
    7. When asked if you wish to format type in yes.
    8. Remove the Utility USB drive and reboot the system.

For PXI Systems:
To identify whether the hard drive is larger than 126 GiB, view the hard drive size through the BIOS or check the label of the hard drive. If the hard drive has not been corrupted it is possible to recover information on the hard drive without risk of losing data. To recover this information, insert the hard drive into a computer booting Windows and use the Windows file explorer to access the files.

If the hard drive is larger than 126 GiB there are two options to restore your system to proper operation.
  • Replace the current hard drive with a hard drive 126 GiB or smaller.
  • Use version 8.6.1 of the Desktop PC Utility USB Drive to repartition the hard drive larger than 126 GiB . If all partitions accessed by the LabVIEW Real-Time Module are on the first 126 GiB of the hard disk, there is no possibility of corruption. You may use the Desktop PC Utility USB Drive to format a single partition for the LabVIEW Real-Time Module within the 126 GiB boundary.
    1. To format a safe, single partition, ensure that the LabVIEW Real-Time Module 8.6.1 is installed on the host Windows PC.
    2. Launch Measurement & Automation Explorer (MAX) and create a Desktop PC Utility USB Drive (Select Tools»RT Disk Utilities»Create Desktop PC Utility USB Drive). If you have more than one version of the LabVIEW Real-Time Module installed on the host computer, ensure that you select version 8.6 of the Desktop PC Utility USB Drive.
      1. Reboot the target with the USB drive inserted. NOTE: Requires these BIOS settings:
      2. Under the LabVIEW RT menu, set Boot Configuration to [Windows/Other OS].
      3. Modify the boot order to ensure the USB key is booted before the HDD.
      4. Ensure Legacy USB Support is enabled.
      5. If you are booting with a PXIe-8130 or a newer BIOS, USB Emulation Mode must be set to FDD or Forced FDD if the USB drive is 512 MB or less.
    3. Select the option to Format Hard Disk.
    4. Select to Erase all partitions and create a single new partition..
    5. Select either the Reliance or FAT file system.
    6. Reboot the system.
    7. On reboot, enter the system BIOS (not the Desktop PC Utility USB Drive) and select to boot into LabVIEW RT Safe Mode.
    8. Reformat from MAX. NOTE: If steps 7 & 8 are not followed, MAX will recognize the target as a Desktop ETS PC.
    9. To return your target system to original settings, remember to reset the BIOS configuration to boot LabVIEW Real-Time from the HDD.
1. Some BIOSes and disk utilities report GiB values as GB, which can make it difficult to determine the actual size of a drive in GiB. 1 GiB (Gibibyte) is strictly defined as 230 (1,073,741,824) bytes while 1 GB (Gigabyte) is defined as 109 (1,000,000,000) bytes. This difference between the two units of measure becomes amplified as the size of the drive increases. For example, 128 GiB is equal to approximately 137.44 GB.


Related Links:
Product Manuals: Using Desktop PCs as RT Targets with the LabVIEW Real-Time Module (8.5.1)
Developer Zone: Requirements for Desktop PCs as LabVIEW Real-Time Targets

Attachments:





Report Date: 11/24/2008
Last Updated: 12/18/2014
Document ID: 4RNDN3Q0

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit