The Nytro XD solution creates the device mapper device nodes with the same names as the underlying VD names, but with an additional nytroxd- prefix. This device node is placed under the /dev/mapper directory. This is true for all of the partitions that exist on the VD configured in the Nytro XD solution.
NOTE When a VD is successfully added to the Nytro XD solution, it automatically runs kpartx/partprobe to create these nodes.
For example: If you issue the following command to configure a VD:
Corresponding to the VD /dev/disk/by-id/scsi-35000c5000f8f8c1f, the Nytro XD solution creates a node /dev/mapper/nytroxd-scsi-35000c5000f8f8c1f that represents the cached VD. This node must be used by applications for caching to take effect for this VD.
Device Node: /dev/disk/by-id/scsi-35000c5000f8f8c1f [/dev/sdm]
Mapped Path: /dev/mapper/nytroxd-scsi-35000c5000f8f8c1f
If /etc/fstab contains the following entry:
/dev/disk/by-id/scsi-35000c5000f8f8c1f /data ext4 defaults 1 2
It must be changed to the following entry:
/dev/mapper/nytroxd-scsi-35000c500f8f8c1f /data ext4 defaults 1 2
NOTE Do not use /dev/disk/by-id/scsi-35000c5000f8f8c1f after you configure this VD in the Nytro XD solution; this might cause data corruption
CAUTION When the Nytro XD solution creates a device mapper device node for a VD (for example, /dev/mapper/nytroxd-scsi-35000c5001d70ae43), the same VD is also available for direct access (through /dev/disk/by-id/scsi-35000c5001d70ae43, which usually is a symbolic link to the underlying sd device under /dev, for example, /dev/sdg). Even when a cache device (Nytro WarpDrive card) is configured under Nytro XD solution, the device node for that (for example, /dev/sdb) is also available for direct access. Exercise caution and make sure that you do not inadvertently directly access or update these disks outside of the Nytro XD solution control. Such an access is illegal, and any updates made through the direct access can lead to data corruption on these disks. Be aware that this is a feature/limitation of the Linux device model.
DB15-000917-02-January 2013 |
Copyright© 2013 by LSI Corporation. All rights reserved. |