Yuriy, Thanks for your reply.
I try to uncomment --nexenta_target_prefix="iqn.1986-03.com.sun:01:005008c802ff.4fb2f97d" and then restart nova-volume, but the result is still error as same as before,volume service log has no error,but compute node brief log is: Attaching volume 1 to /dev/vdc ISCSI volume not yet found at: vdc. Will rescan & retry. Try number: 0 Attach failed /dev/vdc, removing .... Command: sudo iscsiadm -m node -T "iqn.1986-03.com.sun:01:005008c802ff.4fb2f97d"volume-00000001 -p 192.168.1.42:3260 --rescan Exit Code: 255 Stdout: ' ' Stderr: 'iscsiadm: No portal found.\n' But when I manually run " iscsiadm -m node -T "iqn.1986-03.com.sun:01:005008c802ff.4fb2f97d"volume-00000001 -p 192.168.1.42:3260 --rescan", it is ok. Regards, Romi -----邮件原件----- 发件人: Yuriy Taraday [mailto:yorik....@gmail.com] 发送时间: 2012年7月3日 星期二 17:12 收件人: romi zhang 抄送: openstack@lists.launchpad.net 主题: Re: [Openstack] 答复: Is there special setting to attach volume to instance on Nexenta server? Try to remove that quotes from nexenta_target_prefix flag. They seem to be the source of this problem. Kind regards, Yuriy. On Tue, Jul 3, 2012 at 12:45 PM, romi zhang <romizhang1...@163.com> wrote: > My nexenta configuration in nova.conf on nova-volume server is: > > > > #nova-volume > > --routing_source_ip=$my_ip > > > > --volume_driver=nova.volume.nexenta.volume.NexentaDriver > > --nexenta_host=192.168.1.42 > > --nexenta_iscsi_target_portal_port=3260 > > --nexenta_rest_port=80 > > --nexenta_user=admin > > --nexenta_password=nexenta > > --nexenta_volume=nova-volumes > > --nexenta_target_prefix="iqn.1986-03.com.sun:01:005008c802ff.4fb2f97d" > > > > --use_local_volumes = false > > > > Regards, > > > > Romi > > > _______________________________________________ > Mailing list: https://launchpad.net/~openstack > Post to : openstack@lists.launchpad.net > Unsubscribe : https://launchpad.net/~openstack > More help : https://help.launchpad.net/ListHelp > _______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp