3 mfs repair – Sun Microsystems MEDIACENTER 2.1 User Manual

Page 125

Advertising
background image

Chapter 8

Administering MFS Disks

8-5

MPEGPS

MPEG Program Stream packet format.

MPEG1SYS

MPEG-1 System Stream packet format.

MPEGTCE

MPEG Thomson Consumer Electronics format. The packetization of this
encapsulation consists of an arbitrary number 130-byte packets.

The

mfs diskusg

utility is useful in conjunction with

mfs df

. You can compare the

output of

mfs diskusg

, the amount of space a file would consume, with the output

of

mfs df

, which tells you the space available.

The following is an example of the use of

diskusg

:

In the example above, you obtain the number of 64K blocks consumed by a 1.28 GB
file, encoded at 4 Mb/sec., and encapsulated in MPEGTS format. This is the number
of data blocks, not parity blocks. Using the

-v

(verbose) option with the same

supplied parameters, you receive:

8.2.3

mfs repair

The

mfs repair

utility reconstructs data for a failed disk using available parity

information, writing this reconstructed data to a new disk. It can also perform
consistency checks on the MFS, including reclaiming unused blocks, and can be used
to explicitly fail a disk.

You can use

mfs repair

while the Sun MediaCenter server is running and

delivering video streams, or when the server is halted.

server% mfs diskusg size=1280000000 rate=4000000 format=MPEGTS

20480

server% mfs diskusg -v size=1280000000 rate=4000000 format=MPEGTS

Rate 4000000 erate 4000640 bsize 65536 lbsize 262144 ebsize

250040

Redundancy set size 4 zones 2 size 1280000000

Psize 188 Data drives 24 Parity Drives 6

Data blks 5120 Parity blks 1280

Data disk usage 20480 blks (1342177280)

Parity disk usage 5120 blks (335544320)

Advertising