3.11 High Performance NTFS Driver (Tuxera)

With ZENworks 11 SP2, the High Performance NTFS driver (Tuxera), provides enhanced performance for imaging Windows 7 and Windows XP NTFS file systems when compared to ZENworks legacy imaging. Tuxera driver, also known as tntfs Kernel Module driver combined with the Imaging engine provides substantial performance improvements. For operations concerning base images, the Tuxera driver is used if it is uploaded and present in the zone. For add-on images, only the legacy ntfs driver is used.

3.11.1 Adding Tuxera Driver for ZENworks Imaging

You can download the Tuxera driver and upload it to the server from the local system through the ZENworks Control Center.

  1. In ZENworks Control Center, click Configurations.

  2. In the Management Zone Settings panel, click Device Management > Preboot Services > Third Party NTFS Driver Integration Settings.

  3. Download the latest high performance NTFS driver from the hyperlink provided and save it on your local system.

  4. Browse to and select the driver in the location where it is saved on your local system.

  5. Click Apply to upload the driver to the server.

  6. Click Ok to exit the Preboot Services page.

  7. Click Status to view the status of content replication across all Primary and Satellite Servers in the Management zone.

NOTE:

  • An image taken by using the legacy NTFS driver is restored by the legacy NTFS driver. For high performance, these images need to be recreated by using the High Performance NTFS (Tuxera) driver after the driver is uploaded into the ZENworks Control Center and the status is Available.

  • After a successful upload, this NTFS driver, is integrated with the bootcd_tntfs.iso file in the winutils folder. To use the High Performance NTFS driver, use the bootcd_tntfs.iso file instead of the bootcd.iso file.

3.11.2 legacyntfs switch functionality

You can use the legacyntfs switch in order to use the legacy NTFS driver.

  1. Boot the system into the ZENworks Maintenance mode.

  2. Take an image of the device by using the img -legacyntfs command.

    For example, you can run the following command:

    img -rp <image_name>.zmg -legacyntfs (Ensure that the -legacyntfs is at the end of the command).

    NOTE:

    • If you take an image by using the legacy NTFS driver, the image is restored by the legacy NTFS driver. Also, if the tntfs.ko file is not uploaded, you need not use the legacyntfs switch. In such situations, the imaging engine uses the legacy NTFS driver. When the tntfs.ko driver is present, the imaging engine uses the Tuxera driver.

3.11.3 Pre-requisites for taking and restoring an image partition-wise

While taking an image from a device, take a backup of the MBR of the system as follows:

  1. Export the MBR to a file by using the dd if=/dev/sda of=mbr_win7.bin bs=512 count=1 command.

  2. Upload the MBR file to server. If the system has 100MB partition (on Windows 7, or Windows Vista), take an image of the 100 MB partition separately by using the legacyntfs switch. To take an image of the 100 MB partition by using the legacyntfs switch, run the following command:

    # img -mp 100mb.zmg -I=1 -legacyntfs

    In the above command, -I =1 indicates that you include partition number 1, which is the 100 MB partition.

To restore the images partition-wise, do the following:

  1. Delete all the partitions by using the img -pd command. For example:

    img -pd 1

    img -pd 2

    1 and 2 in the above commands correspond to the hard disk partition number.

  2. Create the partitions by using the img -pc command. For example:

    img -pc 1 -type=NTFS -size=100 -legacyntfs (for the 100 MB partition for Windows 7, or Windows Vista).

    img -pc 2 -type=NTFS (to restore the C:\drive)

  3. Mark the partition 1 as Active by using the img -pa 1 command.

  4. Restore images partition-wise. Restore the 100MB partition separately by using the legacyntfs switch.

  5. Restore the MBR on the device after restoration. Download the MBR file from the server and run the dd if=mbr_win7.bin of=/dev/sda bs=446 count=1 command.

  6. Run the sidChange -i command.

To restore the images partition-wise from a Windows 8 MBR system to a Windows 8 UEFI system:

  1. Run the # sidChange -f command.

  2. Reboot the system.

3.11.4 Disabling the Tuxera Driver for ZENworks Imaging

To disable the Tuxera driver and use the legacy NTFS driver for Imaging operations:

  1. On the PXE server, open the HighPerfDriver.conf file. The file path is as given below:

    Windows: \Program Files\Novell\ZENworks\Share\tftp

    Linux: /srv/tftp

  2. Comment out the line for the High Performance driver as shown:

    #NTFSDriver=11.2.4/x86/tntfs.ko

    #NTFSDriver_x64=11.2.4/x86_64/tntfs.ko

  3. Delete the ntfsdriver-RANDOMNUMBER.zip file from the content-repo/tmp/imaging folder.

    Path to the content-repo folder on the server:

    Windows: %ZENWORKS_HOME%\work\content-repo

    Linux: /var/opt/novell/zenworks/content-repo

  4. Restart the imaging services on the PXE server for the changes to apply.

NOTE:To use the Tuxera driver again, you need to re-upload the tntfs.zip file from ZCC.