Mapping to a server disk: scsi vs regular disk
by SabrinaFu from LinuxQuestions.org on (#6GWDZ)
Hi, I work on software that formats and uses a disk on linux. When discovering the disks, we look for a non formatted disk with fdisk -l.
Ex:
If /dev/sda is formatted and /dev/sdb is not formatted, we use sdb.
For a server that's not on the cloud i have a question:
If we discover a scsi disk and a lun symlink to /dev/sdb, should we use that lun or the disk ?
I have noticed that many disks can be mapped to the same lun. This poses a problem.
Ex:
If /dev/sda is formatted and /dev/sdb is not formatted, we use sdb.
For a server that's not on the cloud i have a question:
If we discover a scsi disk and a lun symlink to /dev/sdb, should we use that lun or the disk ?
I have noticed that many disks can be mapped to the same lun. This poses a problem.