Formatting and Mounting FiberChannel Volumes from Linux via the NSM5200

NOTICE

POTENTIAL FOR DATA LOSS.
The steps detailed in the resolution of this article may result in a loss of critical data if not performed properly. Before beginning these steps, make sure all important data is backed up in the event of data loss. If you are unsure, please contact Product Support Services prior to attempting the procedure below.

NOTICE

COMPLEX PROCEDURE REQUIRED.
The resolution of this article has many complex steps that may result in unforeseen results if not performed correctly. If you are at all unfamiliar with the requirements, please contact Product Support Services for assistance.

Issue

External volumes will not mount when attempting to attach via the NSM5200 web interface, giving the message 'Error Code:  50034'.

Product Line

Pelco Video Management

Environment

NSM5200

External storage connected via FibreChannel

Cause

When setting up an external volume through a FibreChannel connection, the volume will not be mountable until formatted with an XFS filesystem.

Resolution

To resolve this issue, the parted command must be used on the volume from Linux.

parted will allow you to format the volume with the correct filesystem, and break the volume into partitions that are larger than 2TB (which is the normal size fdisk allows for).  Maximum partition size is 16TB.  NOTE:  Unlike fdisk, changes made by parted are immediate when exiting the parted CLI.  Please exercise caution when issuing commands.

For example, if the external volume is /dev/sdc and is 50TB, the following commands will need to be done.  

  1. parted /dev/sdc (this will put you into the parted CLI)
  2. mklabel gpt (required for use with Linux)
  3. mkpart primary xfs 1 16TB (creates partition #1 on the volume starting with the 1st available byte and ending at 16TB)
  4. mkpart primary xfs 16TB 32TB (creates partition #2 on the volume from 16TB to 32TB)
  5. mkpart primary xfs 32TB 48TB (creates partition #3 on the volume from 32TB to 48TB)
  6. mkpart primary xfs 48TB 50TB (creates partition #4 on the volume from 48TB to 50TB)
  7. quit (quits out of parted and writes)

After the partitions are created, issue the mkfs.xfs command on each created partition to make it ready for use with the NSM5200.

  1. mkfs.xfs /dev/sdc1
  2. mkfs.xfs /dev/sdc2
  3. mkfs.xfs /dev/sdc3
  4. mkfs.xfs /dev/sdc4

Once these commands have been issued, the NSM5200 should no longer give error messages when attempting to mount volume through the web interface.