请不要把任何和邀请码有关的内容发到 NAS 节点。

邀请码相关的内容请使用 /go/in 节点。

如果没有发送到 /go/in,那么会被移动到 /go/pointless 同时账号会被降权。如果持续触发这样的移动,会导致账号被禁用。
laoluohenmang
V2EX  ›  NAS

在 Fedora 45 下编译安装 LTFS 2.4.9.1

  •  
  •   laoluohenmang · 9h 54m ago · 429 views

    经过一系列这疼那和 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/ltfs2491
    find src  -name Makefile -exec sed -i -e 's/,-Wp,/,/g' {} \;
    find src  -name Makefile -exec sed -i -e 's/-Werror=declaration-after-statement/ /g' {} \;
    make
    sudo rm -rf /opt/ltfs2491 /opt/ltfs
    sudo make install
    sudo ln -sf /opt/ltfs2491 /opt/ltfs
    tar 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.
    
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2384 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 12:58 · PVG 20:58 · LAX 04:58 · JFK 07:58
    ♥ Do have faith in what you're doing.