Upgrading a CMG-NAM using a USB stick

Requirements

Procedure

  1. Do not connect the USB stick yet.
  2. Log in to the NAM as root.
  3. Issue the following commands, which will switch off automatic disk access. Ignore any errors or messages:
    svc Pt-storage stop
    svc rdisk stop
  4. Connect the USB stick.
  5. The kernel will automatically assign a name to the USB stick: this will be sd (standing for SCSI disk - an historical legacy) followed by a single, lower-case letter identifying the device. Check the kernel log to see what the device was called with the following command:
    dmesg

    In the last few lines of output there should be something like:

    sd 46:0:0:0: [sdc] 15826944 512-byte logical blocks: (8.10 GB/7.54 GiB)
    sd 46:0:0:0: [sdc] Write Protect is off
    sd 46:0:0:0: [sdc] Mode Sense: 43 00 00 00
    sd 46:0:0:0: [sdc] Assuming drive cache: write through
    sd 46:0:0:0: [sdc] Assuming drive cache: write through
     sdc: sdc1
    sd 46:0:0:0: [sdc] Assuming drive cache: write through
    sd 46:0:0:0: [sdc] Attached SCSI removable disk

    In this case, the kernel has called the device sdc. The first partition on the device is identified by the device name followed by 1 identifying the partition number. Replace the token sdc1 in the command below with the partition name that was allocated on your system.

  6. Mount the USB stick with the command:
    mount -o ro -t ext2 /dev/sdc1 /mnt

    If this does not work, try the following:

    • Wait 10 seconds and try again, allowing another ten seconds for the kernel to recognise the device and assign it a name.
    • Try again, changing the filesystem type from ext2 to ext3 or ext4

    If this still fails, the unit may need to be upgraded by some other method: please contact support for assistance.

  7. Run the command:
    /mnt/upgrade
  8. Reboot the CMG-NAM.

For more information, first contact your local distributor or email .