Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

READ CAPACITY(16) failed with 4TB iscsi HDD

150 views
Skip to first unread message

Elias Pereira

unread,
Oct 22, 2017, 12:20:02 AM10/22/17
to
Hello,

I created a 4T dataset to use in a debian server as hdd backup. I have open-iscsi installed on debian and working correctly, but after logging in (iscsiadm -m node --targetname...), I can not see the 4T dataset (/dev/sdc).

fdisk -l shows only sda and sdb, both of 1TB that I had already set up some time ago.

Debian dmesg shows:

[ 5266.620369] sd 7:0:0:4: [sdc] READ CAPACITY(16) failed
[ 5266.620373] sd 7:0:0:4: [sdc] 
[ 5266.620375] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 5266.620378] sd 7:0:0:4: [sdc] 
[ 5266.620380] Sense Key : Not Ready [current] 
[ 5266.620383] sd 7:0:0:4: [sdc] 
[ 5266.620386] Add. Sense: Logical unit not ready, manual intervention required
[ 5266.621129] sd 7:0:0:4: [sdc] READ CAPACITY failed
[ 5266.621136] sd 7:0:0:4: [sdc] 
[ 5266.621143] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 5266.621147] sd 7:0:0:4: [sdc] 
[ 5266.621150] Sense Key : Not Ready [current] 
[ 5266.621154] sd 7:0:0:4: [sdc] 
[ 5266.621158] Add. Sense: Logical unit not ready, manual intervention required
[ 5266.622251] sd 7:0:0:4: [sdc] Write Protect is off
[ 5266.622256] sd 7:0:0:4: [sdc] Mode Sense: 73 00 10 08
[ 5266.622667] sd 7:0:0:4: [sdc] Write cache: enabled, read cache: enabled, supports DPO and FUA
[ 5266.625062] sd 7:0:0:4: [sdc] READ CAPACITY(16) failed
[ 5266.625066] sd 7:0:0:4: [sdc] 
[ 5266.625068] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 5266.625070] sd 7:0:0:4: [sdc] 
[ 5266.625072] Sense Key : Not Ready [current] 
[ 5266.625076] sd 7:0:0:4: [sdc] 
[ 5266.625078] Add. Sense: Logical unit not ready, manual intervention required
[ 5266.625817] sd 7:0:0:4: [sdc] READ CAPACITY failed
[ 5266.625823] sd 7:0:0:4: [sdc] 
[ 5266.625826] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 5266.625830] sd 7:0:0:4: [sdc] 
[ 5266.625832] Sense Key : Not Ready [current] 
[ 5266.625837] sd 7:0:0:4: [sdc] 
[ 5266.625842] Add. Sense: Logical unit not ready, manual intervention required
[ 5266.627836] sd 7:0:0:4: [sdc] Attached SCSI disk

Any idea about the problem? 

--
Elias Pereira

Ritesh Raj Sarraf

unread,
Oct 25, 2017, 2:40:03 PM10/25/17
to
On Sun, 2017-10-22 at 02:13 -0200, Elias Pereira wrote:
> I created a 4T dataset to use in a debian server as hdd backup. I
> have open-iscsi installed on debian and working correctly, but after
> logging in (iscsiadm -m node --targetname...), I can not see the 4T
> dataset (/dev/sdc).
>
> fdisk -l shows only sda and sdb, both of 1TB that I had already set
> up some time ago.

What iSCSI Target are you using ?

--
Given the large number of mailing lists I follow, I request you to CC
me in replies for quicker response

Elias Pereira

unread,
Oct 25, 2017, 4:00:02 PM10/25/17
to
Hello Ritesh, thanks for the reply!!! :D

If I understood your questioning, I'm using the freebsd/freenas target.

Would it be this? I have a debian with bacula that has as its target the freenas.
--
Elias Pereira

Ritesh Raj Sarraf

unread,
Oct 26, 2017, 12:40:02 AM10/26/17
to
Based on your comment that the target is a FreeNAS appliance, I'd first
look into the target for errors.

READ CAPACITY failure looks like a very generic, target side,
unsupported feature on a very large device.

Are you sure FreeNAS support devices that large ?



On Sun, 2017-10-22 at 02:13 -0200, Elias Pereira wrote:

Elias Pereira

unread,
Oct 26, 2017, 9:40:02 AM10/26/17
to
At first freenas supports this size.
--
Elias Pereira

Ritesh Raj Sarraf

unread,
Oct 26, 2017, 12:50:02 PM10/26/17
to
On Thu, 2017-10-26 at 11:34 -0200, Elias Pereira wrote:
> At first freenas supports this size.
>

I just booted into my LIO Target + Open iSCSI Initiator setup, to
ensure that nothing is broken. I sure do not have that large a drive to
test. But basic iSCSI setup on Linux is working fine in local
configuration.


Looking at FreeNAS, yours' must be a ZFS based setup, which means your
iSCSI Target is the one that ZFS provides. I have never worked on that
setup, so I can't comment.

But, to pin-point the issue, better debug logs are needed.


> On Thu, Oct 26, 2017 at 2:15 AM, Ritesh Raj Sarraf
> <r...@researchut.com> wrote:
> > Based on your comment that the target is a FreeNAS appliance, I'd
> > first
> > look into the target for errors.
> >
> > READ CAPACITY failure looks like a very generic, target side,
> > unsupported feature on a very large device.
> >
> > Are you sure FreeNAS support devices that large ?
--
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."
signature.asc
0 new messages