[one-users] iscsi datastore issues
Shankhadeep Shome
shank15217 at gmail.com
Tue Oct 15 21:41:30 PDT 2013
Nevermind, i forgot to disable the following so it wouldn't allow me to run
the commands as sudo remotely
In /etc/sudoers
# Defaults requiretty
On Wed, Oct 16, 2013 at 12:19 AM, Shankhadeep Shome <shank15217 at gmail.com>wrote:
> I'm trying to get a handle on the iscsi datastore with open nebula but I
> notice that its always reporting 0 MB available and when I try to run the
> monitor script it fails.. any ideas?
>
> oneadmin at mercury:~/remotes/datastore/iscsi$ ./monitor
> ./../xpath.rb:61: undefined method `elements' for nil:NilClass
> (NoMethodError)
> from ./../xpath.rb:60:in `each'
> from ./../xpath.rb:60
> USED_MB=
> TOTAL_MB=
> FREE_MB=
>
>
> oneadmin at mercury:~$ onedatastore list
> ID NAME SIZE AVAIL CLUSTER IMAGES TYPE DS TM
> 0 system - - - 0 sys -
> shared
> 1 default 75.6G 84% - 0 img fs
> shared
> 2 files 75.6G 84% - 0 fil fs ssh
> 100 TAP-Datastore 2.4T 85% TAPCluster1 16 img fs qcow2
> 104 iSCSI_BS 0M - TAPCluster1 0 img iscsi iscsi
> oneadmin at mercury:~$ onedatastore show 104
> DATASTORE 104 INFORMATION
> ID : 104
> NAME : iSCSI_BS
> USER : oneadmin
> GROUP : oneadmin
> CLUSTER : TAPCluster1
> TYPE : IMAGE
> DS_MAD : iscsi
> TM_MAD : iscsi
> BASE PATH : /var/lib/one//datastores/104
> DISK_TYPE : FILE
>
> DATASTORE CAPACITY
> TOTAL: : 0M
> USED: : 0M
> FREE: : 0M
>
> PERMISSIONS
> OWNER : um-
> GROUP : u--
> OTHER : ---
>
> DATASTORE TEMPLATE
> DS_MAD="iscsi"
> HOST="10.1.11.109"
> TM_MAD="iscsi"
> TYPE="IMAGE_DS"
> VG_NAME="vg-one"
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131016/776c86d5/attachment-0002.htm>
More information about the Users
mailing list