Page 1 sur 1

[Résolu] [Openfiler 2.3] iscsi_trgt: blockio_attach(355) Error...

Publié : mar. 1 mars 2011 01:16
par kalistyan
La série noire continue... :/

Depuis ce soir, impossible de mapper des lun :o

Code : Tout sélectionner

Mar  1 01:10:41 srv-filer1 ietd: Can't create a logical unit 22 5 0 Path=/dev/clients/backup,Type=blockio,ScsiId=,ScsiSN=,IOMode=wt 
Mar  1 01:10:41 srv-filer1 kernel: [  218.313882] iscsi_trgt: Target iqn.2011-02.com.openfiler:ServiceBackup, LUN 0: unknown param ScsiId=
Mar  1 01:10:41 srv-filer1 kernel: [  218.313893] iscsi_trgt: blockio_attach(355) Error attaching Lun 0 to Target iqn.2011-02.com.openfiler:ServiceBackup 
ai suivi le fix ici

A savoir :
Permanent fix
To permanently fix this on OpenFiler 2.3, make three tweaks at the command line, logged in as root.

1. Comment out the following lines (lines 333-337) in /etc/rc.sysinit (add a # to the beginning of each line).

# if [ -x /sbin/lvm.static ]; then
# if /sbin/lvm.static vgscan --mknodes --ignorelockingfailure > /dev/null 2>&1 ; then
# action $"Setting up Logical Volume Management:" /sbin/lvm.static vgchange -a y --ignorelockingfailure
# fi
# fi
2. Modify /etc/lvm/lvm.conf, line 53 and make the line look like so (add some additional filters):

filter = [ "r|/dev/dm-*|", "r|/dev/VG_XenStorage*|", "r|/dev/sr/iscsi|", "a/.*/" ]
3. Turn the ATA over Ethernet service off, and make sure it doesn't start again (most people are *NOT* using this...)

[root@my_filer ~]# service aoe force-stop
[ OK ]
[root@my_filer ~]# service aoe status
devices:

[root@my_filer ~]# chkconfig aoe off
After making these 3 changes, reboot the Openfiler, and your clients will see their targets again.
Ai remplacé "VG_XenStorage" par "/dev/sda*"

...mais le problème persite :o

Help :jap:

[Résolu] [Openfiler 2.3] iscsi_trgt: blockio_attach(355) Error...

Publié : mar. 1 mars 2011 19:48
par kalistyan
:cry:

[Résolu] [Openfiler 2.3] iscsi_trgt: blockio_attach(355) Error...

Publié : mar. 1 mars 2011 20:01
par gizmo78
y eu des modifs?

[Résolu] [Openfiler 2.3] iscsi_trgt: blockio_attach(355) Error...

Publié : mar. 1 mars 2011 22:34
par kalistyan
Oui, ai rajouté une baie...

@rafpopop : très sympa ta propal, mais ne peux que tester sur le mien. :)

En regardant les logs plus attentivement :o ai remaqué un problème sur "/dev/sdc" en fait le disque était offline :heink: m'a suffit de le mettre "online" et le mappage est reparti :o mais n'arrive pas à comprendre le rapport...les volumes sont sur "/dev/sda/" "/dev/sdb"

Merci à vous deux. :jap: