Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault is seen upon resizing the storage size #218

Open
mittachaitu opened this issue Feb 11, 2019 · 0 comments
Open

Segmentation fault is seen upon resizing the storage size #218

mittachaitu opened this issue Feb 11, 2019 · 0 comments

Comments

@mittachaitu
Copy link

Description

Upon modifying the LUN0 Storage in istgt.conf file, to reload modified configuration executed istgtcontrol refresh then segmentation fault is seen.

Expected Behavior

istgt should not crash

Steps to Reproduce

  • Run the istgt binary.
  • Modify the value of storage in /usr/local/etc/istgt/istgt.conf file
  • Execute the istgtcontrol refresh command to reload the configurations.

Logs of istgt
2019-02-11/12:13:40.023 main :3089: m#-1747536064.6923 : istgt:0.5.20121028:09:27:44:Feb 7 2019: starting

2019-02-11/12:13:40.023 main :3146: m#-1747536064.6923 : LU2 HDD UNIT
2019-02-11/12:13:40.024 istgt_lu_disk_init: 904: m#-1747536064.6923 : lu_disk_init LU2 TargetName=iqn.2016-09.com.openebs.cstor:vol1
LU2: LUN0 iqn.2016-09.com.openebs.cstor:vol1: storage_online [(null), 4GB.0MB, 1048576 blks of 4096 bytes, phy:0/3 WCE rpm:7200] q:128 thr:6/0 [0.0, 0.0]
LU2: LUN0 serial:4059aab98f093c5d95207f7af09d1413
2019-02-11/12:13:40.024 istgt_lu_disk_init:1337: m#-1747536064.6923 : LU2: LUN0 serial:4059aab98f093c5d95207f7af09d1413
2019-02-11/12:13:52.055 istgt_reload :2141: u#10.140606617675520: reload configuration#1 start

[istgt:0.5.20121028:09:27:44:Feb 7 2019]
2019-02-11/12:13:52.056 istgt_lu_disk_shut:1432: u#10.140606617675520: LU2: LUN0 iqn.2016-09.com.openebs.cstor:vol1: storage_offlinex [(null) 1048576 blocks, 4096 bytes/block] [0.0 0.0 0.0]

LU2 HDD UNIT
2019-02-11/12:13:52.056 istgt_lu_disk_init: 904: u#10.140606617675520: lu_disk_init LU2 TargetName=iqn.2016-09.com.openebs.cstor:vol1
LU2: LUN0 iqn.2016-09.com.openebs.cstor:vol1: storage_online [(null), 5GB.0MB, 1310720 blks of 4096 bytes, phy:0/3 WCE rpm:7200] q:128 thr:6/0 [0.0, 0.0]
2019-02-11/12:13:52.057 istgt_lu_disk_init:1327: u#10.140606617675520: LU2: LUN0 iqn.2016-09.com.openebs.cstor:vol1: storage_online [(null), 5GB.0MB, 1310720 blks of 4096 bytes, phy:0/3 WCE rpm:7200] q:128 thr:6/0 [0.0, 0.0]
LU2: LUN0 serial:4059aab98f093c5d95207f7af09d1413
2019-02-11/12:13:52.057 istgt_lu_disk_init:1337: u#10.140606617675520: LU2: LUN0 serial:4059aab98f093c5d95207f7af09d1413
2019-02-11/12:13:52.057 istgt_lu_reload_up:3325: u#10.140606617675520: update LU2: Name=iqn.2016-09.com.openebs.cstor:vol1
Fatal signal received: 11
Stack trace:
./istgt[0x40bd10]
/lib/x86_64-linux-gnu/libc.so.6(+0x354b0)[0x7fe196c5b4b0]
./istgt[0x5a236c]
./istgt[0x5a367d]
./istgt[0x5936d1]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba)[0x7fe19750b6ba]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7fe196d2d41d]
Segmentation fault (core dumped)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant