Opened 12 years ago

Closed 12 years ago

#4197 closed defect (fixed)

master backend disk status incorrect.

Reported by: spam@… Owned by: Janne Grunau
Priority: major Milestone: unknown
Component: mythtv Version: head
Severity: medium Keywords: disk status mythbackend
Cc: Ticket locked: no

Description

After updating mythtv to the latest svn release 14915 the mythtv status webpage gives totally wrong info about storage on the master backend.

master backend status page. LOOKS BAD

Disk Usage:

    * MythTV Drive #1:
          o Directory: sma2:/mythtv_sma2/hdtv/mythtv
          o Total Space: 700,747 MB
          o Space Used: 637,285 MB
          o Space Free: 63,461 MB
    * MythTV Drive #2:
          o Directory: hdtv:/mythtv_sma2/hdtv/mythtv
          o Total Space: 536870,912 MB
          o Space Used: -671088,-640 MB
          o Space Free: 1207959,552 MB
    * MythTV Drive #57:
          o Directory: /archive_drive/hda:0
          o Total Space: 1677721,600 MB
          o Space Used: 1375731,712 MB
          o Space Free: 301989,888 MB
    * MythTV Drive #60:
          o Directory: /archive_drive/hdb:0
          o Total Space: 1526726,656 MB
          o Space Used: 486539,264 MB
          o Space Free: 1040187,392 MB
    * MythTV Drive #59:
          o Directory: /archive_drive/hde:0
          o Total Space: 1744830,464 MB
          o Space Used: -671088,-640 MB
          o Space Free: -1879048,-192 MB
    * MythTV Drive #70:
          o Directory: /archive_drive/hdf:0
          o Total Space: -1996488,-704 MB
          o Space Used: 1358954,496 MB
          o Space Free: 939524,096 MB
    * MythTV Drive #58:
          o Directory: /archive_drive/hdg:0
          o Total Space: -1996488,-704 MB
          o Space Used: -1560281,-88 MB
          o Space Free: -436207,-616 MB
    * MythTV Drive #62:
          o Directory: /archive_drive/sda:0
          o Total Space: -2147483,-648 MB
          o Space Used: 2030043,136 MB
          o Space Free: 117440,512 MB
    * MythTV Drive #69:
          o Directory: /archive_drive/sdb:0
          o Total Space: -1610612,-736 MB
          o Space Used: 1996488,704 MB
          o Space Free: 687865,856 MB
    * MythTV Drive #47:
          o Directory: /mythtv_sma2/hdtv/mythtv:0
          o Total Space: 536870,912 MB
          o Space Used: -671088,-640 MB
          o Space Free: 1207959,552 MB
    * MythTV Drive #0:
          o Directory: /mythtv_sma2/hdtv/mythtv:0
          o Total Space: 637,285 MB
          o Space Used: 0,000 MB
          o Space Free: 637,285 MB
    * MythTV Drive #488252928:
          o Directory: -1:61
          o Total Space: 2030043,136 MB
          o Space Used: 0,000 MB
          o Space Free: 2030043,135 MB
    * MythTV Drive #199044460:
          o Directory: -1:56
          o Total Space: 486539,264 MB
          o Space Used: 0,000 MB
          o Space Free: 486539,263 MB
    * MythTV Drive #195271072:
          o Directory: -1:30
          o Total Space: -671088,-640 MB
          o Space Used: 0,000 MB
          o Space Free: -671088,-641 MB
    * MythTV Drive #195263012:
          o Directory: -1:52
          o Total Space: -1560281,-88 MB
          o Space Used: 0,000 MB
          o Space Free: -1560281,-89 MB
    * MythTV Drive #195263012:
          o Directory: -1:52
          o Total Space: -1560281,-88 MB
          o Space Used: 0,000 MB
          o Space Free: -1560281,-89 MB
    * MythTV Drive #488252928:
          o Directory: -1:61
          o Total Space: 2030043,136 MB
          o Space Used: 0,000 MB
          o Space Free: 2030043,135 MB
    * MythTV Drive #292902528:
          o Directory: -1:65
          o Total Space: 1996488,704 MB
          o Space Used: 0,000 MB
          o Space Free: 1996488,704 MB
    * MythTV Drive #717565056:
          o Directory: -1:46
          o Total Space: 0,000 MB
          o Space Used: 0,000 MB
          o Space Free: 0,000 MB
    * MythTV Drive #187072912:
          o Directory: -1:55
          o Total Space: 1375731,712 MB
          o Space Used: 0,000 MB
          o Space Free: 1375731,711 MB
    * MythTV Drive #199044460:
          o Directory: -1:56
          o Total Space: 486539,264 MB
          o Space Used: 0,000 MB
          o Space Free: 486539,263 MB
    * MythTV Drive #195271072:
          o Directory: -1:30
          o Total Space: -671088,-640 MB
          o Space Used: 0,000 MB
          o Space Free: -671088,-641 MB
    * MythTV Drive #195263012:
          o Directory: -1:52
          o Total Space: -1560281,-88 MB
          o Space Used: 0,000 MB
          o Space Free: -1560281,-89 MB
    * MythTV Drive #195263012:
          o Directory: -1:52
          o Total Space: -1560281,-88 MB
          o Space Used: 0,000 MB
          o Space Free: -1560281,-89 MB
    * MythTV Drive #488252928:
          o Directory: -1:61
          o Total Space: 2030043,136 MB
          o Space Used: 0,000 MB
          o Space Free: 2030043,135 MB
    * MythTV Drive #292902528:
          o Directory: -1:65
          o Total Space: 1996488,704 MB
          o Space Used: 0,000 MB
          o Space Free: 1996488,704 MB
    * MythTV Drive #717565056:
          o Directory: -1:46
          o Total Space: 0,000 MB
          o Space Used: 0,000 MB
          o Space Free: 0,000 MB
    * Total Disk Space:
          o Total Space: -300651,-856 MB
          o Space Used: -620119,-707 MB
          o Space Free: 319467,851 MB

results from a slave backend (archive) with local storage and nfs mounts. LOOKS good.

Disk Usage:

    * MythTV Drive #1:
          o Directory: archive:/archive/hda
          o Total Space: 182,688 MB
          o Space Used: 103,387 MB
          o Space Free: 79,301 MB
    * MythTV Drive #2:
          o Directory: archive:/archive/hdb
          o Total Space: 194,379 MB
          o Space Used: 106,850 MB
          o Space Free: 87,529 MB
    * MythTV Drive #3:
          o Directory: archive:/archive/hde
          o Total Space: 190,694 MB
          o Space Used: 137,576 MB
          o Space Free: 53,117 MB
    * MythTV Drive #4:
          o Directory: archive:/archive/hdf
          o Total Space: 190,686 MB
          o Space Used: 155,600 MB
          o Space Free: 35,086 MB
    * MythTV Drive #5:
          o Directory: archive:/archive/hdg
          o Total Space: 190,686 MB
          o Space Used: 136,148 MB
          o Space Free: 54,537 MB
    * MythTV Drive #6:
          o Directory: archive:/archive/sda
          o Total Space: 476,809 MB
          o Space Used: 409,890 MB
          o Space Free: 66,919 MB
    * MythTV Drive #7:
          o Directory: archive:/archive/sdb
          o Total Space: 286,037 MB
          o Space Used: 238,057 MB
          o Space Free: 47,980 MB
    * MythTV Drive #8:
          o Directory: archive:/mythtv_sma2/hdtv/mythtv
          o Total Space: 700,747 MB
          o Space Used: 637,285 MB
          o Space Free: 63,461 MB

results from a slave backend (ibm) with nfs mounts. LOOKS good.

Disk Usage:

    * MythTV Drive #1:
          o Directory: ibm:/archive_drive/hda
          o Total Space: 182,688 MB
          o Space Used: 103,387 MB
          o Space Free: 79,301 MB
    * MythTV Drive #2:
          o Directory: ibm:/archive_drive/hdb
          o Total Space: 194,379 MB
          o Space Used: 106,850 MB
          o Space Free: 87,529 MB
    * MythTV Drive #3:
          o Directory: ibm:/archive_drive/hde
          o Total Space: 190,694 MB
          o Space Used: 137,576 MB
          o Space Free: 53,117 MB
    * MythTV Drive #4:
          o Directory: ibm:/archive_drive/hdf
          o Total Space: 190,686 MB
          o Space Used: 155,600 MB
          o Space Free: 35,086 MB
    * MythTV Drive #5:
          o Directory: ibm:/archive_drive/hdg
          o Total Space: 190,686 MB
          o Space Used: 136,148 MB
          o Space Free: 54,537 MB
    * MythTV Drive #6:
          o Directory: ibm:/archive_drive/sda
          o Total Space: 476,809 MB
          o Space Used: 409,890 MB
          o Space Free: 66,919 MB
    * MythTV Drive #7:
          o Directory: ibm:/archive_drive/sdb
          o Total Space: 286,037 MB
          o Space Used: 238,057 MB
          o Space Free: 47,980 MB
    * MythTV Drive #8:
          o Directory: ibm:/mythtv_sma2/hdtv/mythtv
          o Total Space: 700,747 MB
          o Space Used: 637,285 MB
          o Space Free: 63,461 MB

There 6 total mythtv backends running. with exported nfs mounts from the master and one slave. Source code version : 14915 SVN branch : trunk Library API version : 0.21.20071119-1 Network Protocol Version: 36 Options compiled in:

linux release using_oss using_alsa using_arts using_jack using_backend using_dbox2 using_dvb using_frontend using_hdhomerun using_iptv using_ivtv using_lirc using_opengl_vsync using_v4l using_x11 using_xrandr using_xv using_xvmc using_xvmc_opengl using_bindings_perl using_opengl using_live using_xvmc_pbuffer

Running debian sid.

Change History (4)

comment:1 Changed 12 years ago by Janne Grunau

Owner: changed from Isaac Richards to Janne Grunau
Status: newassigned

can you please attach the output of backend status page of all slave backends? a short master backend log (1 minute from startup) would also be helpful.

comment:2 Changed 12 years ago by Janne Grunau

(In [14922]) Refs #4179, #4197. reverts [14894]. In the current form to buggy

stat calls are only done on the master backend but is isLocal is filled by each backend I hope that [1497] and [14899] solves the problem too.

comment:3 Changed 12 years ago by Janne Grunau

Could you please check if it is fixed after [14924]?

comment:4 Changed 12 years ago by Janne Grunau

Resolution: fixed
Status: assignedclosed

reported as fixed per email

Note: See TracTickets for help on using tickets.