Cannot add more drive
randadinata
4 Posts
June 1, 2017, 6:04 pmQuote from randadinata on June 1, 2017, 6:04 pmIm currently testing petasan 1.3.0, i have 3 vms each has : 2 ncs, 4 core, 4gb mem, 2 disks (33 gb and 100 gb). everything went fine. but when i add a third disk (100GB) on the second node, its not showing on the "physical disk list" on the "node management" it still show one 100gb disk.
Im currently testing petasan 1.3.0, i have 3 vms each has : 2 ncs, 4 core, 4gb mem, 2 disks (33 gb and 100 gb). everything went fine. but when i add a third disk (100GB) on the second node, its not showing on the "physical disk list" on the "node management" it still show one 100gb disk.
admin
2,930 Posts
June 1, 2017, 6:39 pmQuote from admin on June 1, 2017, 6:39 pmstrange, it does not seem to detect the new disk.
Can you please ssh to the node using
username: root
password: your cluster password
and post the output of the following 2 commands:
ls /sys/block
ceph-disk list
Also is the disk the same type as the other 100 GB ?
strange, it does not seem to detect the new disk.
Can you please ssh to the node using
username: root
password: your cluster password
and post the output of the following 2 commands:
ls /sys/block
ceph-disk list
Also is the disk the same type as the other 100 GB ?
randadinata
4 Posts
June 2, 2017, 2:10 amQuote from randadinata on June 2, 2017, 2:10 amYes the disks are virtual disk on a xenserver host, it seems the kernel (/sys/block) and ceph (ceph-disk list) correctly recognized the disk. But not the web management part. screenshots below
http://imgur.com/a/8PQ3o
Yes the disks are virtual disk on a xenserver host, it seems the kernel (/sys/block) and ceph (ceph-disk list) correctly recognized the disk. But not the web management part. screenshots below
admin
2,930 Posts
June 2, 2017, 4:31 amQuote from admin on June 2, 2017, 4:31 amThis does look like an issue in detecting xen based disks.
would you please run one more thing:
/opt/petasan/scripts/detect-disks.sh
thank you
This does look like an issue in detecting xen based disks.
would you please run one more thing:
/opt/petasan/scripts/detect-disks.sh
thank you
randadinata
4 Posts
June 2, 2017, 5:27 amQuote from randadinata on June 2, 2017, 5:27 amroot@peta2:~# /opt/petasan/scripts/detect-disks.sh
/opt/petasan/scripts/detect-disks.sh: 56: [: =: unexpected operator
device=xvda,size=69206016,bus=Not Detected,fixed=Yes,ssd=Yes,vendor=,model=,serial=Not Detected
/opt/petasan/scripts/detect-disks.sh: 56: [: =: unexpected operator
device=xvdb,size=209715200,bus=Not Detected,fixed=Yes,ssd=Yes,vendor=,model=,serial=Not Detected
/opt/petasan/scripts/detect-disks.sh: 56: [: =: unexpected operator
device=xvdc,size=213909504,bus=Not Detected,fixed=Yes,ssd=Yes,vendor=,model=,serial=Not Detected
root@peta2:~#
root@peta2:~# /opt/petasan/scripts/detect-disks.sh
/opt/petasan/scripts/detect-disks.sh: 56: [: =: unexpected operator
device=xvda,size=69206016,bus=Not Detected,fixed=Yes,ssd=Yes,vendor=,model=,serial=Not Detected
/opt/petasan/scripts/detect-disks.sh: 56: [: =: unexpected operator
device=xvdb,size=209715200,bus=Not Detected,fixed=Yes,ssd=Yes,vendor=,model=,serial=Not Detected
/opt/petasan/scripts/detect-disks.sh: 56: [: =: unexpected operator
device=xvdc,size=213909504,bus=Not Detected,fixed=Yes,ssd=Yes,vendor=,model=,serial=Not Detected
root@peta2:~#
admin
2,930 Posts
June 2, 2017, 12:43 pmQuote from admin on June 2, 2017, 12:43 pmThanks very much for your help. The following should fix the issue with the xen based disks:
on the storage node remove the following 2 files:
/usr/lib/python2.7/dist-packages/PetaSAN/core/common/disk_util.py ( source file )
/usr/lib/python2.7/dist-packages/PetaSAN/core/common/disk_util.pyc ( binary file )
then please download new source disk_util.py from
https://drive.google.com/open?id=0B7VNYCjYBY2yTkxUQWhTVlhrbWs
place it in:
/usr/lib/python2.7/dist-packages/PetaSAN/core/common/disk_util.py
you could use WinSCP or similar tool to delete/copy files.
please let me know if you still have issues.
Thanks very much for your help. The following should fix the issue with the xen based disks:
on the storage node remove the following 2 files:
/usr/lib/python2.7/dist-packages/PetaSAN/core/common/disk_util.py ( source file )
/usr/lib/python2.7/dist-packages/PetaSAN/core/common/disk_util.pyc ( binary file )
then please download new source disk_util.py from
https://drive.google.com/open?id=0B7VNYCjYBY2yTkxUQWhTVlhrbWs
place it in:
/usr/lib/python2.7/dist-packages/PetaSAN/core/common/disk_util.py
you could use WinSCP or similar tool to delete/copy files.
please let me know if you still have issues.
Last edited on June 2, 2017, 12:45 pm · #6
randadinata
4 Posts
June 2, 2017, 2:05 pmQuote from randadinata on June 2, 2017, 2:05 pmThanks its working now, columns now show useful information like block device name
http://imgur.com/a/zW4Jm
Thanks its working now, columns now show useful information like block device name
admin
2,930 Posts
June 2, 2017, 4:52 pmQuote from admin on June 2, 2017, 4:52 pmExcellent 🙂 thanks for reporting this.
The displayed info is all what we get from the xen disk driver.
You can now create the OSD from your second disk. One thing to note is to try to give the VMs enough resources, we have a recommendation guide for this. Thanks again.
Excellent 🙂 thanks for reporting this.
The displayed info is all what we get from the xen disk driver.
You can now create the OSD from your second disk. One thing to note is to try to give the VMs enough resources, we have a recommendation guide for this. Thanks again.
Last edited on June 2, 2017, 4:53 pm · #8
Cannot add more drive
randadinata
4 Posts
Quote from randadinata on June 1, 2017, 6:04 pmIm currently testing petasan 1.3.0, i have 3 vms each has : 2 ncs, 4 core, 4gb mem, 2 disks (33 gb and 100 gb). everything went fine. but when i add a third disk (100GB) on the second node, its not showing on the "physical disk list" on the "node management" it still show one 100gb disk.
Im currently testing petasan 1.3.0, i have 3 vms each has : 2 ncs, 4 core, 4gb mem, 2 disks (33 gb and 100 gb). everything went fine. but when i add a third disk (100GB) on the second node, its not showing on the "physical disk list" on the "node management" it still show one 100gb disk.
admin
2,930 Posts
Quote from admin on June 1, 2017, 6:39 pmstrange, it does not seem to detect the new disk.
Can you please ssh to the node using
username: root
password: your cluster password
and post the output of the following 2 commands:
ls /sys/block
ceph-disk list
Also is the disk the same type as the other 100 GB ?
strange, it does not seem to detect the new disk.
Can you please ssh to the node using
username: root
password: your cluster password
and post the output of the following 2 commands:
ls /sys/block
ceph-disk list
Also is the disk the same type as the other 100 GB ?
randadinata
4 Posts
Quote from randadinata on June 2, 2017, 2:10 amYes the disks are virtual disk on a xenserver host, it seems the kernel (/sys/block) and ceph (ceph-disk list) correctly recognized the disk. But not the web management part. screenshots below
http://imgur.com/a/8PQ3o
Yes the disks are virtual disk on a xenserver host, it seems the kernel (/sys/block) and ceph (ceph-disk list) correctly recognized the disk. But not the web management part. screenshots below
admin
2,930 Posts
Quote from admin on June 2, 2017, 4:31 amThis does look like an issue in detecting xen based disks.
would you please run one more thing:
/opt/petasan/scripts/detect-disks.sh
thank you
This does look like an issue in detecting xen based disks.
would you please run one more thing:
/opt/petasan/scripts/detect-disks.sh
thank you
randadinata
4 Posts
Quote from randadinata on June 2, 2017, 5:27 amroot@peta2:~# /opt/petasan/scripts/detect-disks.sh
/opt/petasan/scripts/detect-disks.sh: 56: [: =: unexpected operator
device=xvda,size=69206016,bus=Not Detected,fixed=Yes,ssd=Yes,vendor=,model=,serial=Not Detected
/opt/petasan/scripts/detect-disks.sh: 56: [: =: unexpected operator
device=xvdb,size=209715200,bus=Not Detected,fixed=Yes,ssd=Yes,vendor=,model=,serial=Not Detected
/opt/petasan/scripts/detect-disks.sh: 56: [: =: unexpected operator
device=xvdc,size=213909504,bus=Not Detected,fixed=Yes,ssd=Yes,vendor=,model=,serial=Not Detected
root@peta2:~#
root@peta2:~# /opt/petasan/scripts/detect-disks.sh
/opt/petasan/scripts/detect-disks.sh: 56: [: =: unexpected operator
device=xvda,size=69206016,bus=Not Detected,fixed=Yes,ssd=Yes,vendor=,model=,serial=Not Detected
/opt/petasan/scripts/detect-disks.sh: 56: [: =: unexpected operator
device=xvdb,size=209715200,bus=Not Detected,fixed=Yes,ssd=Yes,vendor=,model=,serial=Not Detected
/opt/petasan/scripts/detect-disks.sh: 56: [: =: unexpected operator
device=xvdc,size=213909504,bus=Not Detected,fixed=Yes,ssd=Yes,vendor=,model=,serial=Not Detected
root@peta2:~#
admin
2,930 Posts
Quote from admin on June 2, 2017, 12:43 pmThanks very much for your help. The following should fix the issue with the xen based disks:
on the storage node remove the following 2 files:
/usr/lib/python2.7/dist-packages/PetaSAN/core/common/disk_util.py ( source file )
/usr/lib/python2.7/dist-packages/PetaSAN/core/common/disk_util.pyc ( binary file )
then please download new source disk_util.py from
https://drive.google.com/open?id=0B7VNYCjYBY2yTkxUQWhTVlhrbWs
place it in:
/usr/lib/python2.7/dist-packages/PetaSAN/core/common/disk_util.py
you could use WinSCP or similar tool to delete/copy files.
please let me know if you still have issues.
Thanks very much for your help. The following should fix the issue with the xen based disks:
on the storage node remove the following 2 files:
/usr/lib/python2.7/dist-packages/PetaSAN/core/common/disk_util.py ( source file )
/usr/lib/python2.7/dist-packages/PetaSAN/core/common/disk_util.pyc ( binary file )
then please download new source disk_util.py from
https://drive.google.com/open?id=0B7VNYCjYBY2yTkxUQWhTVlhrbWs
place it in:
/usr/lib/python2.7/dist-packages/PetaSAN/core/common/disk_util.py
you could use WinSCP or similar tool to delete/copy files.
please let me know if you still have issues.
randadinata
4 Posts
Quote from randadinata on June 2, 2017, 2:05 pmThanks its working now, columns now show useful information like block device name
http://imgur.com/a/zW4Jm
Thanks its working now, columns now show useful information like block device name
admin
2,930 Posts
Quote from admin on June 2, 2017, 4:52 pmExcellent 🙂 thanks for reporting this.
The displayed info is all what we get from the xen disk driver.
You can now create the OSD from your second disk. One thing to note is to try to give the VMs enough resources, we have a recommendation guide for this. Thanks again.
Excellent 🙂 thanks for reporting this.
The displayed info is all what we get from the xen disk driver.
You can now create the OSD from your second disk. One thing to note is to try to give the VMs enough resources, we have a recommendation guide for this. Thanks again.