Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hpe-ltfs: init at 3.4.2_Z7550-02501 #74814

Merged
merged 1 commit into from Dec 4, 2019
Merged

hpe-ltfs: init at 3.4.2_Z7550-02501 #74814

merged 1 commit into from Dec 4, 2019

Conversation

@redvers
Copy link
Contributor

redvers commented Dec 2, 2019

Motivation for this change

Adding ltfs, Linear Tape File System FUSE drivers and userspace tools to NixOS.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.
Notify maintainers

cc @redvers

@redvers redvers force-pushed the redvers:add-hpe-ltfs branch from f464a9f to dd32ddd Dec 3, 2019
@redvers redvers force-pushed the redvers:add-hpe-ltfs branch 2 times, most recently from c7aab17 to 3b07487 Dec 3, 2019
@redvers redvers force-pushed the redvers:add-hpe-ltfs branch from 3b07487 to ff3cb95 Dec 3, 2019
@redvers

This comment has been minimized.

Copy link
Contributor Author

redvers commented Dec 3, 2019

... because I must ...

[nix-shell:~]# mkltfs -d /dev/st0 -s LTFS01 -n RED001L6-ltfs
LTFS15000I Starting mkltfs, HPE StoreOpen Software version 3.4.2, log level 2
LTFS15041I Launched by "mkltfs -d /dev/st0 -s LTFS01 -n RED001L6-ltfs"
LTFS15042I This binary is built for Linux (x86_64)
LTFS15043I GCC version is 8.3.0
LTFS17087I Kernel version: Linux version 4.19.87 (nixbld@localhost) (gcc version 8.3.0 (GCC)) #1-NixOS SMP Sun Dec 1 08:17:47 UTC 2019 i386
LTFS17089I Distribution: NAME=NixOS
LTFS15003I Formatting device '/dev/st0'
LTFS15004I LTFS volume blocksize: 524288
LTFS15005I Index partition placement policy: None

LTFS17085I Plugin: Loading "ltotape" driver
LTFS20013I Drive type is HP LTO6, serial number is HUJ5394MU0
LTFS17160I Maximum device block size is 524288
LTFS17157I Changing the drive setting to write-anywhere mode
LTFS17302W Cannot retrieve attribute (volumelockstate=0x1623)
LTFS17302W Cannot retrieve attribute (Application Vendor=0x800)
LTFS15049I Checking the medium (mount)
LTFS15010I Creating data partition b on SCSI partition 1
LTFS15011I Creating index partition a on SCSI partition 0
LTFS17165I Resetting the medium's capacity proportion
LTFS11097I Partitioning the medium
LTFS20107I Replacing existing MAM barcode RED001L6                         with user-specified LTFS01
LTFS11100I Writing label to partition b
LTFS11278I Writing index to partition b
LTFS11100I Writing label to partition a
LTFS11278I Writing index to partition a
LTFS15013I Volume UUID is: 94075569-23e4-4637-b432-9d33439bd3ec

LTFS15019I Volume capacity is 2350 GB
LTFS20076I Triggering drive diagnostic dump
LTFS20096I Diagnostic dump complete
LTFS15024I Medium formatted successfully

[nix-shell:~]# ltfs /ltfs
6bdf LTFS14000I LTFS starting, HPE StoreOpen Software version 3.4.2, log level 2
6bdf LTFS14058I LTFS Format Specification version 2.4.0
6bdf LTFS14104I Launched by "ltfs /ltfs"
6bdf LTFS14105I This binary is built for Linux (x86_64)
6bdf LTFS14106I GCC version is 8.3.0
6bdf LTFS17087I Kernel version: Linux version 4.19.87 (nixbld@localhost) (gcc version 8.3.0 (GCC)) #1-NixOS SMP Sun Dec 1 08:17:47 UTC 2019 i386
6bdf LTFS17089I Distribution: NAME=NixOS
6bdf LTFS14063I Sync type is "time", Sync time is 300 sec
6bdf LTFS17085I Plugin: Loading "ltotape" driver
6bdf LTFS17085I Plugin: Loading "unified" iosched
6bdf LTFS20013I Drive type is HP LTO6, serial number is HUJ5394MU0
6bdf LTFS17160I Maximum device block size is 524288
6bdf LTFS17157I Changing the drive setting to write-anywhere mode
6bdf LTFS11005I Mounting the volume
6bdf LTFS14111I Initial setup completed successfully
6bdf LTFS14112I Invoke 'mount' command to check the result of final setup
6bdf LTFS14113I Specified mount point is listed if succeeded

[nix-shell:~]# df -h /ltfs
Filesystem      Size  Used Avail Use% Mounted on
ltfs:/dev/nst0  2.3T     0  2.3T   0% /ltfs
@zimbatm zimbatm merged commit 7618bd8 into NixOS:master Dec 4, 2019
15 checks passed
15 checks passed
Evaluation Performance Report Evaluator Performance Report
Details
grahamcofborg-eval ^.^!
Details
grahamcofborg-eval-check-maintainers matching changed paths to changed attrs...
Details
grahamcofborg-eval-check-meta config.nix: checkMeta = true
Details
grahamcofborg-eval-darwin nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="ofborg"; } ./pkgs/top-level/release.nix -A darwin-tested
Details
grahamcofborg-eval-nixos nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="ofborg"; } ./nixos/release-combined.nix -A tested
Details
grahamcofborg-eval-nixos-manual nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="ofborg"; } ./nixos/release.nix -A manual
Details
grahamcofborg-eval-nixos-options nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="ofborg"; } ./nixos/release.nix -A options
Details
grahamcofborg-eval-nixpkgs-manual nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="ofborg"; } ./pkgs/top-level/release.nix -A manual
Details
grahamcofborg-eval-nixpkgs-tarball nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="ofborg"; } ./pkgs/top-level/release.nix -A tarball
Details
grahamcofborg-eval-nixpkgs-unstable-jobset nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="ofborg"; } ./pkgs/top-level/release.nix -A unstable
Details
grahamcofborg-eval-package-list nix-env -qa --json --file .
Details
grahamcofborg-eval-package-list-no-aliases nix-env -qa --json --file . --arg config { allowAliases = false; }
Details
hpe-ltfs on aarch64-linux Success
Details
hpe-ltfs on x86_64-linux Success
Details
@zimbatm

This comment has been minimized.

Copy link
Member

zimbatm commented Dec 4, 2019

thanks @redvers !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.