* LBD support with 2.6.10
@ 2005-01-03 22:03 Frank Borich
2005-01-03 22:11 ` Christoph Hellwig
0 siblings, 1 reply; 2+ messages in thread
From: Frank Borich @ 2005-01-03 22:03 UTC (permalink / raw)
To: linux-scsi
Hi,
I mapped a LUN approx. 3.5 TB in size to Linux
Kernel 2.6.10 (converted red hat 9 distribution)
with CONFIG_LBD=y.
I am connecting to the LUN via a Qlogic 2340 HBA.
Everything looks ok in /var/log/messages following a modprobe:
Jan 2 15:00:10 oldenglish kernel: QLogic Fibre Channel HBA Driver:
8.00.00b21-k
Jan 2 15:00:10 oldenglish kernel: QLogic QLA2340 -
Jan 2 15:00:10 oldenglish kernel: ISP2312: PCI (66 MHz) @
0000:02:04.0 hdma-, host#=0, fw=3.03.02 IPX
Jan 2 15:00:10 oldenglish kernel: Vendor: IFT Model: A16F-R1211
Rev: 341B
Jan 2 15:00:10 oldenglish kernel: Type: Direct-Access
ANSI SCSI revision: 03
Jan 2 15:00:10 oldenglish kernel: qla2300 0000:02:04.0: scsi(0:0:0:0):
Enabled tagged queuing, queue depth 32.
Jan 2 15:00:10 oldenglish /sbin/hotplug: no runnable
/etc/hotplug/fc_transport.agent is installed
Jan 2 15:00:10 oldenglish /sbin/hotplug: no runnable
/etc/hotplug/scsi.agent is installed
Jan 2 15:00:10 oldenglish kernel: sda : very big device. try to use
READ CAPACITY(16).
Jan 2 15:00:10 oldenglish kernel: SCSI device sda: 6855819264 512-byte
hdwr sectors (3510179 MB)
Jan 2 15:00:10 oldenglish /sbin/hotplug: no runnable
/etc/hotplug/block.agent is installed
Jan 2 15:00:10 oldenglish kernel: SCSI device sda: drive cache: write
back
Jan 2 15:00:10 oldenglish kernel: sda : very big device. try to use
READ CAPACITY(16).
Jan 2 15:00:10 oldenglish kernel: SCSI device sda: 6855819264 512-byte
hdwr sectors (3510179 MB)
Jan 2 15:00:10 oldenglish kernel: SCSI device sda: drive cache: write
back
Jan 2 15:00:10 oldenglish kernel: sda: unknown partition table
Jan 2 15:00:10 oldenglish kernel: Attached scsi disk sda at scsi0,
channel 0, id 0, lun 0
Jan 2 15:00:10 oldenglish /sbin/hotplug: no runnable
/etc/hotplug/scsi_device.agent is installed
Jan 2 15:08:12 oldenglish /sbin/hotplug: no runnable
/etc/hotplug/module.agent is installed
Jan 2 15:08:12 oldenglish /sbin/hotplug: no runnable
/etc/hotplug/module.agent is installed
Jan 2 15:08:12 oldenglish /sbin/hotplug: no runnable
/etc/hotplug/scsi_generic.agent is installed
Jan 2 15:08:12 oldenglish /sbin/hotplug: no runnable
/etc/hotplug/class.agent is installed
I have also sent READ_CAPACITY 10, READ_CAPCITY 16, and INQUIRY commands
to the LUN using
The sg driver, and have received expected responses.
The problem is when I start to use programs such as fdisk or sfdisk on
the LUN
using sd driver(/dev/sda),
Fdisk yields ouput,
#fdisk -l
Disk /dev/hdb: 20.0 GB, 20020396032 bytes
16 heads, 63 sectors/track, 38792 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 * 1 203 102280+ 83 Linux
/dev/hdb2 204 36712 18400536 83 Linux
/dev/hdb3 36713 38792 1048320 82 Linux swap
Disk /dev/sda: 0 MB, 0 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sda doesn't contain a valid partition table
Sfdisk ouptput yields,
# sfdisk -s /dev/sda
/dev/sda: File too large
sfdisk: BLKGETSIZE ioctl failed for /dev/sda
Did I miss something regarding LBD support ?
Any ideas ?
Thanks,
Frank
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: LBD support with 2.6.10
2005-01-03 22:03 LBD support with 2.6.10 Frank Borich
@ 2005-01-03 22:11 ` Christoph Hellwig
0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2005-01-03 22:11 UTC (permalink / raw)
To: Frank Borich; +Cc: linux-scsi
> sfdisk: BLKGETSIZE ioctl failed for /dev/sda
>
> Did I miss something regarding LBD support ?
> Any ideas ?
You can't use old DOS-style partition tables for really big disks.
SGI successfully uses IRIX disk labels, but others may work aswell.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-01-03 22:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-03 22:03 LBD support with 2.6.10 Frank Borich
2005-01-03 22:11 ` Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox