Project

General

Profile

Actions

Bug #6546

open

"zpool get guid,freeing,leaked" shows "SOURCE" as "default"

Added by Hajo Möller about 8 years ago. Updated over 1 year ago.

Status:
Feedback
Priority:
Normal
Assignee:
Category:
zfs - Zettabyte File System
Start date:
2016-01-06
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:

Description

The source for guid, freeing and leaked is set to ZPROP_SRC_DEFAULT and prints "default", which indicates those values to be user-editable.
It should be ZPROP_SRC_NONE and print "-".

I have proposed a fix in https://github.com/zfsonlinux/zfs/pull/4170.

Actions #1

Updated by Yuri Pankov about 7 years ago

  • Status changed from New to In Progress
  • Assignee set to Yuri Pankov
  • % Done changed from 0 to 50
  • Tags deleted (needs-triage)

Take over.

Actions #2

Updated by Yuri Pankov over 6 years ago

  • Status changed from In Progress to Feedback
  • Assignee deleted (Yuri Pankov)
  • % Done changed from 50 to 0

back to the pool.

Actions #3

Updated by Carlos Neira over 1 year ago

  • Assignee set to Carlos Neira
Actions #4

Updated by Carlos Neira over 1 year ago

I tried this bug on omnios bloody

neirac@litre:~$ zpool get all  rpool
NAME   PROPERTY                       VALUE                               SOURCE
rpool  size                           1.81T                               -
rpool  capacity                       5%                                  -
rpool  altroot                        -                                   default
rpool  health                         ONLINE                              -
rpool  guid                           10871996688070572514                default
rpool  version                        -                                   default
rpool  bootfs                         rpool/ROOT/2022080102-onu-backup-1  local
rpool  delegation                     on                                  default
rpool  autoreplace                    off                                 default
rpool  cachefile                      -                                   default
rpool  failmode                       wait                                default
rpool  listsnapshots                  off                                 default
rpool  autoexpand                     off                                 default
rpool  dedupditto                     0                                   default
rpool  dedupratio                     1.00x                               -
rpool  free                           1.71T                               -
rpool  allocated                      106G                                -
rpool  readonly                       off                                 -
rpool  comment                        -                                   default
rpool  expandsize                     -                                   -
rpool  freeing                        0                                   default
rpool  fragmentation                  2%                                  -
rpool  leaked                         0                                   default
rpool  bootsize                       256M                                local
rpool  checkpoint                     -                                   -
rpool  multihost                      off                                 default
rpool  ashift                         12                                  local
rpool  autotrim                       off                                 default
rpool  feature@async_destroy          enabled                             local
rpool  feature@empty_bpobj            active                              local
rpool  feature@lz4_compress           active                              local
rpool  feature@multi_vdev_crash_dump  enabled                             local
rpool  feature@spacemap_histogram     active                              local
rpool  feature@enabled_txg            active                              local
rpool  feature@hole_birth             active                              local
rpool  feature@extensible_dataset     active                              local
rpool  feature@embedded_data          active                              local
rpool  feature@bookmarks              enabled                             local
rpool  feature@filesystem_limits      enabled                             local
rpool  feature@large_blocks           enabled                             local
rpool  feature@large_dnode            enabled                             local
rpool  feature@sha512                 enabled                             local
rpool  feature@skein                  enabled                             local
rpool  feature@edonr                  enabled                             local
rpool  feature@device_removal         enabled                             local
rpool  feature@obsolete_counts        enabled                             local
rpool  feature@zpool_checkpoint       enabled                             local
rpool  feature@spacemap_v2            active                              local
rpool  feature@allocation_classes     enabled                             local
rpool  feature@resilver_defer         enabled                             local
rpool  feature@encryption             enabled                             local
rpool  feature@bookmark_v2            enabled                             local
rpool  feature@userobj_accounting     active                              local
rpool  feature@project_quota          active                              local
rpool  feature@log_spacemap           active                              local

After the proposed fix, the result is:
neirac@omnios:~$ zfs get  all rpool
NAME   PROPERTY              VALUE                  SOURCE
rpool  type                  filesystem             -
rpool  creation              Mon Jul 11 16:24 2022  -
rpool  used                  22.7G                  -
rpool  available             54.3G                  -
rpool  referenced            132K                   -
rpool  compressratio         1.75x                  -
rpool  mounted               yes                    -
rpool  quota                 none                   default
rpool  reservation           none                   default
rpool  recordsize            128K                   default
rpool  mountpoint            /rpool                 default
rpool  sharenfs              off                    default
rpool  checksum              on                     default
rpool  compression           on                     local
rpool  atime                 on                     default
rpool  devices               on                     default
rpool  exec                  on                     default
rpool  setuid                on                     default
rpool  readonly              off                    default
rpool  zoned                 off                    default
rpool  snapdir               hidden                 default
rpool  aclmode               discard                default
rpool  aclinherit            restricted             default
rpool  createtxg             1                      -
rpool  canmount              on                     default
rpool  xattr                 on                     default
rpool  copies                1                      default
rpool  version               5                      -
rpool  utf8only              off                    -
rpool  normalization         none                   -
rpool  casesensitivity       sensitive              -
rpool  vscan                 off                    default
rpool  nbmand                off                    default
rpool  sharesmb              off                    default
rpool  refquota              none                   default
rpool  refreservation        none                   default
rpool  guid                  7974307791214867096    -
rpool  primarycache          all                    default
rpool  secondarycache        all                    default
rpool  usedbysnapshots       0                      -
rpool  usedbydataset         132K                   -
rpool  usedbychildren        22.7G                  -
rpool  usedbyrefreservation  0                      -
rpool  logbias               latency                default
rpool  dedup                 off                    default
rpool  mlslabel              none                   default
rpool  sync                  standard               default
rpool  dnodesize             legacy                 default
rpool  refcompressratio      1.00x                  -
rpool  written               132K                   -
rpool  logicalused           24.5G                  -
rpool  logicalreferenced     48.5K                  -
rpool  filesystem_limit      none                   default
rpool  snapshot_limit        none                   default
rpool  filesystem_count      none                   default
rpool  snapshot_count        none                   default
rpool  redundant_metadata    all                    default
rpool  special_small_blocks  0                      default
rpool  encryption            off                    default
rpool  keylocation           none                   default
rpool  keyformat             none                   default
rpool  pbkdf2iters           0                      default
neirac@omnios:~$

Actions #5

Updated by Electric Monk over 1 year ago

  • Gerrit CR set to 2298
Actions #6

Updated by Carlos Neira over 1 year ago

  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF