ISCSI problems with md300i

xisco

New Member
Sep 2, 2010
4
0
1
Hi, I'm a system admin, I have configured two servers (VM01 master, VM02 slave) with clustering with proxmox 1.5 and updated to 1.6 recently.

Also I have a MD3000i iscsi system, configured in both servers with multipath-tools, and open-iscsi.

I think that all are working, (multipath -ll show the connections, and iscsiadm show the sessions of the servers).

I have created the storage equal that we have in the storage-model of your website, I have added the iscsi target, no direct lun, and after I have created the LVM volume group, and then the volume group, mkfs etc.., but every time have this error

Error: command '/usr/bin/file -L -s /dev/disk/by-id/scsi-36a4badb000434661000005184c2ac807' failed with exit code 1

Thanks a lot
 
and then the volume group, mkfs etc..,

mkfs? Why do you need that? What kind of filesystem do you create?

but every time have this error

Error: command '/usr/bin/file -L -s /dev/disk/by-id/scsi-36a4badb000434661000005184c2ac807' failed with exit code 1

What is 'every time'? What exactly produces that error?
 
Sorry for the explanation.
I have created the volume group, the logic volume, and have created the filesystem ( mkfs.ext3 /dev/md_LIN/vol_md_LIN)
The error appears when add the LVM storage.

Thanks for your fast reply

stor2.JPG
 
Sorry for the explanation.
I have created the volume group, the logic volume, and have created the filesystem ( mkfs.ext3 /dev/md_LIN/vol_md_LIN)
The error appears when add the LVM storage.

Why do you create an ext3 filesystem on a shared storage device?!
 
I have tried without making the filesystem (mkfs.ext3), the same result in both cases.
Also, adding the target of the iscsi and after adding the LV (I have readed the storage model).

But I have the same error

Thanks a lot
 
Not, before creating the filesystem, I tried to add the disk volume directly.

I maked more proofs.

When I copy /paste the command of the error in the ssh console, I received this error
vm01:~# /usr/bin/file -L -s /dev/disk/by-id/scsi-36a4badb000434661000005184c2ac807
/dev/disk/by-id/scsi-36a4badb000434661000005184c2ac807: ERROR: cannot read `/dev/disk/by-id/scsi-36a4badb000434661000005184c2ac807' (Input/output error)

But, if I change the disk id, for the mpath device, the command it's sucesfull, I think that is correct...

vm01:~# /usr/bin/file -L -s /dev/disk/by-id/scsi-mpath1
/dev/disk/by-id/scsi-mpath1: LVM2 (Linux Logical Volume Manager) , UUID: CecSvuHoojPdcASmWEQeHe4I2txovgo

You have any idea...

Thanks a lot
 
Last edited: