经过一系列这疼那和 PR ,目前 github 上的 LTFS 官方分支 Release/2.4.9.1-v2 已经修复了问题,又可以顺利支持 HP LTO-6 磁带机了。
git clone https://github.com/LinearTapeFileSystem/ltfs.git cd ltfs ./autogen.sh./configure --prefix=/opt/ltfs2491find src -name Makefile -exec sed -i -e 's/,-Wp,/,/g' {} \;find src -name Makefile -exec sed -i -e 's/-Werror=declaration-after-statement/ /g' {} \;makesudo rm -rf /opt/ltfs2491 /opt/ltfssudo make installsudo ln -sf /opt/ltfs2491 /opt/ltfstar Jcvf ltfs_2491_fedora45.tar.xz /opt/ltfs*a5641 LTFS14000I LTFS starting, LTFS version 2.4.9.1 (Prelim), log level 2.a5641 LTFS14058I LTFS Format Specification version 2.4.0.a5641 LTFS14104I Launched by "/opt/ltfs/bin/ltfs -o devname=HUJ5414UEJ -o eject /mnt/ltfs/".a5641 LTFS14105I This binary is built for Linux (x86_64).a5641 LTFS14106I GCC version is 16.2.1 20261029 (Red Hat 16.2.1-3).a5641 LTFS17087I Kernel version: Linux version 7.3.3-300.fc45.x86_64 (mockbuild@3e5a05bbfa064508b19e3589613d8ca7) (gcc (GCC) 16.2.1 20261029 (Red Hat 16.2.1-3), GNU ld version 2.47.20260726) #1 SMP PREEMPT_DYNAMIC Fri Nov 6 20:37:28 UTC 2026 i386.a5641 LTFS17089I Distribution: Fedora release 45 (Forty Five).a5641 LTFS17089I Distribution: NAME="Fedora Linux".a5641 LTFS17089I Distribution: Fedora release 45 (Forty Five).a5641 LTFS17089I Distribution: Fedora release 45 (Forty Five).a5641 LTFS14063I Sync type is "time", Sync time is 300 sec.a5641 LTFS17085I Plugin: Loading "sg" tape backend.a5641 LTFS17085I Plugin: Loading "unified" iosched backend.a5641 LTFS30209I Opening a device through sg-ibmtape driver (HUJ5414UEJ).a5641 LTFS30288I Opening a tape device for drive serial HUJ5414UEJ.a5641 LTFS30250I Opened the SCSI tape device 6.0.0.0 (/dev/sg5).a5641 LTFS30207I Vendor ID is HP .a5641 LTFS30208I Product ID is Ultrium 6-SCSI .a5641 LTFS30214I Firmware revision is 25MW.a5641 LTFS30215I Drive serial is HUJ5414UEJ.a5641 LTFS30205I TEST_UNIT_READY (0x00) returns 02/3a00 (-20209).a5641 LTFS30290I Changer /dev/sg5 isn't reserved from any nodes.a5641 LTFS30285I The reserved buffer size of HUJ5414UEJ is 1048576.a5641 LTFS30294I Setting up timeout values from RSOC.a5641 LTFS30205I TEST_UNIT_READY (0x00) returns 02/3a00 (-20209).a5641 LTFS17160I Maximum device block size is 1048576.a5641 LTFS11330I Loading cartridge.a5641 LTFS11332I Load successful.a5641 LTFS17157I Changing the drive setting to append-only mode.a5641 LTFS30205I MODESELECT (0x55) returns 05/2600 (-20500).a5641 LTFS30263I MODESELECT returns Invalid Field in Parameter List (-20500) /dev/sg5.a5641 LTFS17266I Skip setting the append only mode because the drive doesn't seem to support it.a5641 LTFS11005I Mounting the volume.a5641 LTFS30205I MODESENSE (0x5a) returns 05/2400 (-20501).a5641 LTFS30263I MODESENSE returns Invalid Field in CDB (-20501) /dev/sg5.a5641 LTFS17227I Tape attribute: Vendor = IBM .a5641 LTFS17227I Tape attribute: Application Name = LTFS .a5641 LTFS17227I Tape attribute: Application Version = 2.4.9.0 .a5641 LTFS17227I Tape attribute: Medium Label = DATA8T_4K_3.a5641 LTFS17228I Tape attribute: Text Localization ID = 0x81.a5641 LTFS17227I Tape attribute: Barcode = 000104 .a5641 LTFS17227I Tape attribute: Application Format Version = 2.4.0 .a5641 LTFS17228I Tape attribute: Volume Lock Status = 0x00.a5641 LTFS17227I Tape attribute: Media Pool name = .a5641 LTFS11031I Volume mounted successfully. 000104 : Gen = 85 / (a, 5) -> (b, 4660884) / HUJ5414UEJ.a5641 LTFS14111I Initial setup completed successfully.a5641 LTFS14112I Invoke 'mount' command to check the result of final setup.a5641 LTFS14113I Specified mount point is listed if succeeded.
⚠️内容来自互联网,如有侵权请点击反馈!侵权投诉