![Juniper MEDIA FLOW CONTROLLER 2.0.4 - Administrator'S Manual Download Page 93](http://html1.mh-extra.com/html/juniper/media-flow-controller-2-0-4/media-flow-controller-2-0-4_administrators-manual_2032854093.webp)
Managing the Media Flow Controller Disk Cache (CLI)
93
Media Flow Controller Administrator’s Guide
Media Flow Controller Configuration Tasks (CLI)
Analyzing the Disk Cache
When Media Flow Controller is having caching issues, you want to check the disk cache. To
analyze the media disk cache:
1.
Get system-assigned disk names to use in configuration. Use list to view all disk drives,
their names, physical location, serial number, type, and capacity. Use cache_name to
view information on the specified cache.
show media-cache disk {list |<cache_name>}
show media-cache disk list
Example:
test-vos (config) #
show media-cache disk list
show media-cache disk list
Device Type Tier Active Cache Free Space State
------ ---- ---- ------ ----- ---------- -----
dc_1 SATA Tier-3 yes yes 38890 MiB cache running
dc_2 SATA Tier-3 yes yes 68668 MiB cache running
Total Free Space: 107486 MiB
test-vos-cl66 (config) #
show media-cache disk dc_1
Disk Cache Configuration & Status:
Device Name/Type: dc_1/SATA
Cache Tier: Tier-3
Activated: yes
Cache Enabled: yes
Free Space: 2304 MiB
Disk State : cache running
-------------------------------------
2.
Determine the free block thresholds of the disk caches.
show media-cache free-block threshold
3.
Disable a disk if you need to pull the disk for any maintenance purposes; for example, to
upgrade to a higher capacity disk, replace a SATA disk with a SAS disk, replace a failed
disk, reformat the disk, or if contents should not be cached.
media-cache disk <cache_name> cache disable
4.
Deactivate a disk cache. Media Flow Controller allows OIR (On-line Insertion and
Removal) of HDD (Hard Disk Drives). However,
the HDD MUST be made inactive to be
removed
. When a new HDD is in the disk, it must be made active and (if so decided)
enabled for caching.
media-cache disk <cache_name> status inactive
5.
Put in a new drive and mount it.
media-cache disk mount-new
6.
Find the new (inactive) disk’s name.
show media-cache disk list
7.
Activate or re-activate a media-cache disk.
media-cache disk <cache_name> status active
8.
Format the disk if it is newly inserted and empty or you do not want to use its contents. Do
this after you issue the mount command.
media-cache disk <cache_name> format
Summary of Contents for MEDIA FLOW CONTROLLER 2.0.4 -
Page 6: ...Media Flow Controller Administrator s Guide VI Copyright 2010 Juniper Networks Inc...
Page 24: ...LIST OF FIGURES XXIV Copyright 2010 Juniper Networks Inc...
Page 37: ...Copyright 2010 Juniper Networks Inc 37 PART 1 Media Flow Controller Administration...
Page 38: ...Media Flow Controller Administrator s Guide 38 Copyright 2010 Juniper Networks Inc...
Page 285: ...Copyright 2010 Juniper Networks Inc 285 PART 2 Media Flow Controller Command and MIB Reference...
Page 286: ...Media Flow Controller Administrator s Guide 286 Copyright 2010 Juniper Networks Inc...