Description of problem: gnbd_import ignores the quite mode parameter (-q) when it lists what gnbd's are imported. # # normal operation # [root@trin-05 root]# gnbd_import Device name : trin-03.lab.msp.redhat.com:gnbd1 ---------------------- Minor # : 1 Proc name : gnbdb IP : 192.168.44.173 Port : 14243 State : Open Connected Clear Readonly : No Device name : trin-02.lab.msp.redhat.com:gnbd1 ---------------------- Minor # : 2 Proc name : gnbdc IP : 192.168.44.172 Port : 14243 State : Open Connected Pending Readonly : No # # now we tell gnbd_import to shutup, but it is still quite noisy # [root@trin-05 root]# gnbd_import -q Device name : trin-03.lab.msp.redhat.com:gnbd1 ---------------------- Minor # : 1 Proc name : gnbdb IP : 192.168.44.173 Port : 14243 State : Open Connected Clear Readonly : No Device name : trin-02.lab.msp.redhat.com:gnbd1 ---------------------- Minor # : 2 Proc name : gnbdc IP : 192.168.44.172 Port : 14243 State : Open Connected Pending Readonly : No Version-Release number of selected component (if applicable): GFS-6.0.0-1.2 How reproducible: always
The -q flag now works with all actions. This was also fixed in gnbd_export.
This bug still exists in RHEL4 GFS 6.1 gnbd_import DEVEL.1093621873 (built Aug 27 2004 10:52:48)
There's also some extra "gnbd_export:" text there now that should not be there: [root@smith-01 root]# gnbd_export gnbd_export: Server[1] : sdc3 -------------------------- file : /dev/sdc3 exportsize : 74111254528 blocksize : 1024 readonly : no cached : yes gnbd_export: timeout : no gnbd_export:
There, this should now work correctly on both 6.0 and 6.1
Verified for 6.0.0-15: [root@smith-02 RHN]# gnbd_export Server[1] : sdc15 -------------------------- file : /dev/sdc15 exportsize : 74111253504 blocksize : 1024 readonly : no cached : yes timeout : no [root@smith-02 RHN]# gnbd_export -q [root@smith-02 RHN]#
Verified also against s.r.c cvs.