LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-26-2010, 11:39 AM   #1
avat
LQ Newbie
 
Registered: May 2010
Posts: 1

Rep: Reputation: 0
Unhappy 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

Last edited by avat; 05-26-2010 at 01:35 PM. Reason: more specific
 
Old 05-26-2010, 05:05 PM   #2
mpapet
Member
 
Registered: Nov 2003
Location: Los Angeles
Distribution: debian
Posts: 525

Rep: Reputation: 60
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.

Last edited by mpapet; 05-26-2010 at 05:12 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing Array Elements to functions melikai Programming 4 10-31-2006 11:27 PM
passing int array to thread? Thinking Programming 2 09-21-2005 12:00 PM
segfault when passing array[] as argument froboozle Programming 11 06-28-2005 04:06 PM
passing an array from html-forms to php prabhatsoni Linux - Software 2 06-04-2005 01:11 AM


All times are GMT -5. The time now is 05:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration