Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 May 2007 12:43:55 -0000 (GMT)
From:      jhall@vandaliamo.net
To:        freebsd-questions@freebsd.org
Subject:   Tape Capacity Used?
Message-ID:  <1757.65.117.48.155.1179578635.squirrel@admintool.trueband.net>

next in thread | raw e-mail | index | archive | help
I am trying to calculate how much of the space on my tape has been used.

This is what I have done, and I want to make sure I barking up the right
tree before going too far.

Move the tape to the end of the data. (mt eod).

Find the logical block location of the drive (mt rdspos).

/dev/nsa0: logical block location 2242573

If I multiply the result (2242573) by my blocksize, does this give me the
total amount of the tape that has been used?

And, if there is an easier way to do this, please let me know.

Thanks in advance for your assistance.



Jay




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1757.65.117.48.155.1179578635.squirrel>