Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
help needed with fibre channel disk (how can I format?)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
shredator
Tux's lil' helper
Tux's lil' helper


Joined: 14 Apr 2005
Posts: 82

PostPosted: Sat Oct 22, 2005 9:12 pm    Post subject: help needed with fibre channel disk (how can I format?) Reply with quote

from what i have gathered from Internet searches, the cause of my problem is that the sector size is 520 instead of 512.
apparently this is fixed by formatting the disk.
so my question becomes, how can I format a scsi Hard disk?


this was my original question:
I finally finished soldering up an adapter for a fibre channel disk i got off ebay.

dmesg gives me this:
Code:
Emulex LightPulse Fibre Channel SCSI driver 8.0.28
scsi0 :  on PCI bus 00 device 48 irq 17
lpfc 0000:00:09.0: 0:1303 Link Up Event x1 received Data: x1 x1 x0 x2
  Vendor: SEAGATE   Model: ST318451 CLAR18   Rev: 3A90
  Type:   Direct-Access                      ANSI SCSI revision: 03
sda : unsupported sector size 520.
SCSI device sda: 0 512-byte hdwr sectors (0 MB)
SCSI device sda: drive cache: write through
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0,  type 0



When I try to use fdisk to partition the thing, it says unable to read /dev/sda. If i try fdisk /dev/sg0, the system just hangs there, untill I hit ctrl-c.

Am I missing something obvious? or maybe is this hard disk bad?

Also, can anyone suggest a benchmarking tool? If i do get this working, I want to see how much faster it is than my ide disks.

Thanks, Kalen
Back to top
View user's profile Send private message
shredator
Tux's lil' helper
Tux's lil' helper


Joined: 14 Apr 2005
Posts: 82

PostPosted: Sun Oct 23, 2005 10:19 pm    Post subject: Reply with quote

bump
Back to top
View user's profile Send private message
dweigert
Guru
Guru


Joined: 04 Oct 2002
Posts: 369
Location: Somerset, NJ USA

PostPosted: Tue Nov 29, 2005 2:50 am    Post subject: Reply with quote

Ok
First things first. The 520 byte sector size can't be changed. the Clariion array that used the disk needs the extra bytes for info for the sane use of the disk. The disk was specificly made for an EMC disk array, and you would have to flash the firmware on the disk to change that. By the way, the speed of the disk is 1Gb per second over the Fibre Channel, or 100 Mbyte/sec. The other thing is that it is a 10K rpm disk, so that would make it a bit faster than a standard 7200 RPM disk
Dan
_________________
"Always remember to mount a scratch monkey..."
Back to top
View user's profile Send private message
lgarion
n00b
n00b


Joined: 25 Nov 2008
Posts: 5
Location: nyc

PostPosted: Mon Jan 05, 2009 7:24 pm    Post subject: Reply with quote

i realize that its a little late but i had a similar issue with a sun blade 2k, i fixed it using setblocksize (http://micha.freeshell.org/scsi/).

did the trick for me
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum