LTO-4 mt parancs paramétere ismeretlen

Sziasztok!

Adott egy Ubuntu 14.04.5 LTS egy HP LTO-4 Ultrium 1760 -as mentőegység. A működés nagyjából jó. Ami furcsa, hogy az "mt -f /dev/nst0 eject" parancsra szépen kiadja a kazettát. (rewind is megy, stb). Az "mt -f /dev/nst0 load" esetén viszont azt írja:

mt: invalid argument `load' for `operation'
Valid arguments are:
- `eof', `weof'
- `fsf'
- `bsf'
- `fsr'
- `bsr'
- `rewind'
- `offline', `rewoffl', `eject'
- `status'
- `bsfm'
- `eom'
- `retension'
- `erase'
- `asf'
- `fsfm'
- `seek'

A dokumentáció szerint ( http://manpages.ubuntu.com/manpages/trusty/man1/mt-st.1.html ) pedig léteznie kellene a load parancsnak. Nincs changer/autoloader, sima 1 kazettás egység.

Ha simán a "man mt" -t meghívom akkor csak egy alig 84 soros man-t kapok, ami szerint mégsincs ilyen opció, hogy "load"...

man mt
NAME
mt - control magnetic tape drive operation
SYNOPSIS
mt [-V] [-f device] [--file=device] [--rsh-command=command] [--version] operation [count]
DESCRIPTION
This manual page documents the GNU version of mt. mt performs the given operation, which must be one of the tape operations listed below, on a
tape drive.
The default tape device to operate on is taken from the file /usr/include/sys/mtio.h when mt is compiled. It can be overridden by giving a
device file name in the environment variable TAPE or by a command line option (see below), which also overrides the environment variable.
The device must be either a character special file or a remote tape drive. To use a tape drive on another machine as the archive, use a filename
that starts with `HOSTNAME:'. The hostname can be preceded by a username and an `@' to access the remote tape drive as that user, if you have
permission to do so (typically an entry in that user's `~/.rhosts' file).
The available operations are listed below. Unique abbreviations are accepted. Not all operations are available on all systems, or work on all
types of tape drives. Some operations optionally take a repeat count, which can be given after the operation name and defaults to 1.

eof, weof
Write count EOF marks at current position.
fsf Forward space count files. The tape is positioned on the first block of the next file.
bsf Backward space count files. The tape is positioned on the first block of the next file.
fsr Forward space count records.
bsr Backward space count records.
bsfm Backward space count file marks. The tape is positioned on the beginning-of-the-tape side of the file mark.
fsfm Forward space count file marks. The tape is positioned on the beginning-of-the-tape side of the file mark.
asf Absolute space to file number count. Equivalent to rewind followed by fsf count.
seek Seek to block number count.
eom Space to the end of the recorded media on the tape (for appending files onto tapes).
rewind Rewind the tape.
offline, rewoffl
Rewind the tape and, if applicable, unload the tape.
status Print status information about the tape unit.
retension
Rewind the tape, then wind it to the end of the reel, then rewind it again.
erase Erase the tape.

mt exits with a status of 0 if the operation succeeded, 1 if the operation or device name given was invalid, or 2 if the operation failed.

OPTIONS
-f, --file=device
Use device as the file name of the tape drive to operate on. To use a tape drive on another machine, use a filename that starts with
`HOSTNAME:'. The hostname can be preceded by a username and an `@' to access the remote tape drive as that user, if you have permission
to do so (typically an entry in that user's `~/.rhosts' file).

--rsh-command=command
Notifies mt that it should use command to communicate with remote devices instead of /usr/bin/ssh or /usr/bin/rsh.

-V, --version
Print the version number of mt.

Köszi előre is a válaszokat!

Hozzászólások

nem volt még kezem alatt, ilyen eszköz, de ebbe nem csak be kell tolni a kazit?
Több kazettás egység nél még logikus, hogy ki add mt -f /dev/st0 load 7 0 azza a 7 slotba lévőt toolja be a driveba.
Hmm? Manual ?

Szia!

De, be kell tolni a kazettát alap esetben, ha melletted van a gép. De ha pár km és pár zárt ajtó választ el tőle, akkor nehéz távolról.
Közben megjött a levél a GNU-s emberkéktől, akiknek az e-mailje a csomag man-jában volt... Alap ubuntu csomagokat használtunk, de a srácok szerint a GNU-s mt parancs nem az, amit az ubuntu-s linken találtakban láttam... Jó, hogy az ubuntu ilyen csinosan dokumentálja a manualját. Vagy csak random más csomagokat pakol be telepítéshez :(

Megoldás: A program nem támogatja. tologassunk manuálisan. :( :(

http://h10032.www1.hp.com/ctg/Manual/c02063692.pdf

45. oldal

Loading a cartridge
1. Lift the cartridge door and insert the cartridge into the slot in the front of the drive with the white
arrow uppermost and facing the drive door.
2. Apply gentle pressure until the drive takes the cartridge and loads it. (See
“Inserting a cartridge” on page 45.)
3. The Ready light flashes green while the drive performs its load sequence. When the cartridge is
loaded, the Ready light shows steady green

A "load" az "mtx" parancshoz tartozik. Amennyiben neked nem tapelib-ed van, akkor nem kell használnod. Ha az, akkor az mt-st csomagot kell feltenned, megállapítani, mi a changer device és azzal fogod tudni betölteni a szalagot a drive-ba.