Skip to content
This repository was archived by the owner on Apr 4, 2018. It is now read-only.

Error integer expression expected #1

@rocketraman

Description

@rocketraman
./lvmcache-statistics.sh: line 96: [: -: integer expression expected

The relevant portion of the script with bash -x:

+ NrPolicyArgs=-
+ PolicyArgs=
+ '[' - -ne 0 ']'
./lvmcache-statistics.sh: line 96: [: -: integer expression expected

Output of dmsetup status:

0 1024000000 cache 8 2147/147456 128 102306/716800 146959 30514 1024857 29200 0 95321 0 1 writethrough 2 migration_threshold 2048 smq 0 rw - 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions