LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mounting array to Linux box by means of passing through a converter device (https://www.linuxquestions.org/questions/linux-newbie-8/mounting-array-to-linux-box-by-means-of-passing-through-a-converter-device-810236/)

avat 05-26-2010 10:39 AM

Mounting array to Linux box by means of passing through a converter device
 
We are trying to mount an old storage array to our Linux box and unable to do so. The storage array uses SCSI and the linux box uses fiber cable so we bought an a Fiber to SCSI convert box (HP M8201R Fibre Channel to SCSI Router)to communicate between the array and linux box. Everything hooked up fine but mounting the drive on the linux was a problem... here is what we did so far

# mount -t auto /dev/sdb1 /tmp/archive
mount: special device /dev/sdb1 does not exist

We ran this command
# mknod -m 660 /dev/sdb1 b 3 1

Mount it again
# mount -t auto /dev/sdb1 /tmp/archive
mount: /dev/sdb1 is not a valid block device

fdisk -l
[root@system]# fdisk -l

Disk /dev/sda: 898.9 GB, 898990342144 bytes
255 heads, 63 sectors/track, 109296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 109296 877815697+ 8e Linux LVM

sfdisk -l
[root@system /]# sfdisk -l

Disk /dev/sda: 109296 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/sda1 * 0+ 12 13- 104391 83 Linux
/dev/sda2 13 109295 109283 877815697+ 8e Linux LVM
/dev/sda3 0 - 0 0 0 Empty
/dev/sda4 0 - 0 0 0 Empty

when going to /proc/scsi/scsi, we see this:
Attached devices:
Host: scsi0 Channel: 00 Id: 32 Lun: 00
Vendor: DP Model: BACKPLANE Rev: 1.05
Type: Enclosure ANSI SCSI revision: 05
Host: scsi0 Channel: 02 Id: 00 Lun: 00
Vendor: DELL Model: PERC 6/i Rev: 1.22
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi2 Channel: 00 Id: 00 Lun: 00
Vendor: TEAC Model: DVD-ROM DV28SV Rev: D.0J
Type: CD-ROM ANSI SCSI revision: 05



we have very little linux knowledge and we are lost. Please help
1. We want to mount the array to the linux box, is it because of the converter box that the linux box is not showing the array?
2. Has anyone successfully connected the SCSI storage array to a fiber linux box before by means of passing through the converter device before?
3.Is this our array box?
Host: scsi0 Channel: 00 Id: 32 Lun: 00
Vendor: DP Model: BACKPLANE Rev: 1.05

mpapet 05-26-2010 04:05 PM

Your first mistake is not buying a SCSI card and just get on with it.

Your second mistake is the mknod command. Don't mknod. The kernel will have the storage as a disk device of some kind *if* the adapter is working. (/dev/hdaX /dev/sdbX /dev/something_else?)


Your third mistake is assuming the box you bought is working right.


All times are GMT -5. The time now is 04:38 AM.