Bug 127142 - gnbd_import -r: hangs with uncached devices
gnbd_import -r: hangs with uncached devices
Product: Red Hat Cluster Suite
Classification: Red Hat
Component: gfs (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Ben Marzinski
Cluster QE
Depends On:
  Show dependency treegraph
Reported: 2004-07-02 12:07 EDT by Derek Anderson
Modified: 2010-01-11 21:54 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-07-14 15:59:31 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Derek Anderson 2004-07-02 12:07:54 EDT
Description of problem:
If you try to unimport imported, uncached devices the command hangs. 
The gnbd_recvd process is ending, looks like the gnbd_monitor process
is not.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. (exporter) gnbd_export -d /dev/GFSVG/lvol1 -e IMPORTME
2. (importer) gnbd_import -i exporter
3. (importer) gnbd_import -R
Actual results:
gnbd_import process hangs.

Expected results:
Removal of all imported devices.

Additional info:
Comment 1 Ben Marzinski 2004-07-06 12:36:16 EDT
gnbd_monitor did not start up the unix socket correctly in cvs version
1.3 of gnbd_monitor.c.  This is fixed now.
Comment 2 Dean Jansa 2004-07-14 15:59:31 EDT
[root@tank-02 gnbd]# gnbd_import -i tank-01 
gnbd_import: created gnbd device IMPORTME 
gnbd_monitor: gnbd_monitor started. Monitoring device #0 
gnbd_recvd: gnbd_recvd started 
[root@tank-02 gnbd]# gnbd_import -R 
gnbd_import: removed gnbd device IMPORTME 
[root@tank-02 gnbd]# 

Note You need to log in before you can comment on or make changes to this bug.