Skip to content

mkltfs failed #631

Description

@YaoFei509

read driver error:

sudo /opt/ltfs_git/bin/mkltfs -d /dev/sg5 -f -s 100001 -n TEST_LTFS -t
LTFS15000I Starting mkltfs, LTFS version 2.4.8.4 (Prelim), log level 3.
LTFS15041I Launched by "/opt/ltfs_git/bin/mkltfs -d /dev/sg5 -f -s 100001 -n TEST_LTFS -t".
LTFS15042I This binary is built for Linux (x86_64).
LTFS15043I GCC version is 16.1.1 20260515 (Red Hat 16.1.1-2).
LTFS17087I Kernel version: Linux version 7.1.8-200.fc44.x86_64 (mockbuild@79d5d8bc7b174d9c91204c7736be3f39) (gcc (GCC) 16.1.1 20260515 (Red Hat 16.1.1-2), GNU ld version 2.46.1-1.fc44) #1 SMP PREEMPT_DYNAMIC Mon Aug 10 03:35:23 UTC 2026 i386.
LTFS17089I Distribution: Fedora release 44 (Forty Four).
LTFS17089I Distribution: NAME="Fedora Linux".
LTFS17089I Distribution: Fedora release 44 (Forty Four).
LTFS17089I Distribution: Fedora release 44 (Forty Four).
LTFS15025D Validating command line options.
LTFS15037D Command line options are valid.
LTFS15003I Formatting device '/dev/sg5'.
LTFS15004I LTFS volume blocksize: 524288.
LTFS15005I Index partition placement policy: None.

LTFS11337I Update index-dirty flag (1) - 100001 (0x0x55794c670b50).
LTFS15006D Opening the device.
LTFS17085I Plugin: Loading "sg" tape backend.
LTFS30209I Opening a device through sg-ibmtape driver (/dev/sg5).
LTFS30250I Opened the SCSI tape device 6.0.0.0 (/dev/sg5).
LTFS30207I Vendor ID is HP      .
LTFS30208I Product ID is Ultrium 6-SCSI  .
LTFS30214I Firmware revision is 25GW.
LTFS30215I Drive serial is HUJ5414UEJ.
LTFS30285I The reserved buffer size of /dev/sg5 is 1048576.
LTFS30294I Setting up timeout values from RSOC.
LTFS12023D Reserving device.
LTFS30392D Backend reserve (PRO) HUJ5414UEJ.
LTFS12028D Unlocking medium.
LTFS30392D Backend allow medium removal HUJ5414UEJ.
LTFS30392D Backend read block limits HUJ5414UEJ.
LTFS17160I Maximum device block size is 1048576.
LTFS11330I Loading cartridge.
LTFS30392D Backend load HUJ5414UEJ.
LTFS30398D Backend readpos: (0, 0) FM = 0 HUJ5414UEJ.
LTFS12026D Locking medium in the drive.
LTFS30392D Backend prevent medium removal HUJ5414UEJ.
LTFS30398D Backend readpos: (0, 0) FM = 0 HUJ5414UEJ.
LTFS30232I Cannot get remaining capacity: failed to parse the log page.
LTFS12030E Cannot get capacity data: backend call failed (-21700).
LTFS11999E Cannot load the medium: failed to get capacity data (-21700).
LTFS11331E Failed to load the cartridge (ltfs_load_tape).
LTFS30232I Cannot get remaining capacity: failed to parse the log page.
LTFS12030E Cannot get capacity data: backend call failed (-21700).
LTFS11999E Cannot load the medium: failed to get capacity data (-21700).
LTFS15044E Cannot set up tape device.
LTFS12028D Unlocking medium.
LTFS30392D Backend allow medium removal HUJ5414UEJ.
LTFS12025D Releasing device.
LTFS30392D Backend release (PRO) HUJ5414UEJ.
LTFS30393D Backend LBP Enable: 0 .
LTFS30393D Backend LBP Method: 1 .
LTFS30201D CDB check condition: sense = 052600, Invalid Field in Parameter List.
LTFS30205I MODESELECT (0x55) returns -20500.
LTFS30263I MODESELECT returns Invalid Field in Parameter List (-20500) /dev/sg5.
LTFS15023I Formatting failed.

user old version works well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions