This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ MICROCODE_SIGNATURES='-S -s 0x000906eb' USE='split-ucode monolithic initramfs' ebuild intel-microcode-20180108-r1.ebuild clean install | |
| !!! Section 'go-overlay' in repos.conf has location attribute set to nonexistent directory: '/code/layman/go-overlay' | |
| * microcode-20180108.tgz BLAKE2B SHA512 size ;-) ... [ ok ] | |
| * MICROCODE_SIGNATURES is set! | |
| * The user has decided to install only a SUBSET of microcode. | |
| >>> Unpacking source... | |
| >>> Unpacking microcode-20180108.tgz to /dev/shm/portage/sys-firmware/intel-microcode-20180108-r1/work | |
| >>> Source unpacked in /dev/shm/portage/sys-firmware/intel-microcode-20180108-r1/work | |
| >>> Preparing source in /dev/shm/portage/sys-firmware/intel-microcode-20180108-r1/work ... | |
| >>> Source prepared. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/sys-firmware/intel-microcode/intel-microcode-20180108-r1.ebuild b/sys-firmware/intel-microcode/intel-microcode-20180108-r1.ebuild | |
| index 60ae099579f5..fc785810409a 100644 | |
| --- a/sys-firmware/intel-microcode/intel-microcode-20180108-r1.ebuild | |
| +++ b/sys-firmware/intel-microcode/intel-microcode-20180108-r1.ebuild | |
| @@ -33,7 +33,7 @@ DEFAULT_MICROCODE_SIGNATURES="" | |
| # only current CPU: MICROCODE_SIGNATURES="-S" | |
| # only specific CPU: MICROCODE_SIGNATURES="-s 0x00000f4a -s 0x00010676" | |
| # exclude specific CPU: MICROCODE_SIGNATURES="-s !0x00000686" | |
| -MICROCODE_SIGNATURES="${MICROCODE_SIGNATURES:=${DEFAULT_MICROCODE_SIGNATURES}}" | |
| +: ${MICROCODE_SIGNATURES:=${DEFAULT_MICROCODE_SIGNATURES}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ sudo radosgw-admin metadata get bucket:object | |
| { | |
| "key": "bucket:object", | |
| "ver": { | |
| "tag": "", | |
| "ver": 0 | |
| }, | |
| "mtime": "2013-02-07 22:05:51.333391Z", | |
| "data": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Scan Time: 2018-01-21 15:24:04 | |
| Target File: /tmp/microcode/ucode.cpio | |
| MD5 Checksum: fb4166273d7604d4590a62438cbacf27 | |
| Signatures: 344 | |
| DECIMAL HEXADECIMAL DESCRIPTION | |
| -------------------------------------------------------------------------------- | |
| 0 0x0 ASCII cpio archive (SVR4 with no CRC), file name: ".", file name length: "0x00000002", file size: "0x00000000" | |
| 112 0x70 ASCII cpio archive (SVR4 with no CRC), file name: "kernel", file name length: "0x00000007", file size: "0x00000000" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 2018-02-06 23:41:38.298212 7fd53082c700 20 osd.767 op_wq(1) _process empty q, waiting | |
| 2018-02-06 23:41:40.298325 7fd53082c700 20 osd.767 op_wq(1) _process empty q, waiting | |
| 2018-02-06 23:41:42.298401 7fd53082c700 20 osd.767 op_wq(1) _process empty q, waiting | |
| 2018-02-06 23:41:44.298531 7fd53082c700 20 osd.767 op_wq(1) _process empty q, waiting | |
| 2018-02-06 23:41:46.298670 7fd53082c700 20 osd.767 op_wq(1) _process empty q, waiting | |
| 2018-02-06 23:41:48.298812 7fd53082c700 20 osd.767 op_wq(1) _process empty q, waiting | |
| 2018-02-06 23:41:50.298897 7fd53082c700 20 osd.767 op_wq(1) _process empty q, waiting | |
| 2018-02-06 23:41:52.298983 7fd53082c700 20 osd.767 op_wq(1) _process empty q, waiting | |
| 2018-02-06 23:41:54.299063 7fd53082c700 20 osd.767 op_wq(1) _process empty q, waiting | |
| 2018-02-06 23:41:56.299197 7fd53082c700 20 osd.767 op_wq(1) _process empty q, waiting |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # XFS defrag helper script | |
| # Copyright 2010-2018 Robin H. Johnson <robbat2@gentoo.org> | |
| # Originally written for IsoHunt, later improved for BC Libraries Cooperative & Dreamhost | |
| # | |
| # For each filesystem | |
| # 1. get complete output of inode/fragments | |
| # 2. select all inodes w/ more than 10 excess fragments (actual-ideal) | |
| # 3. just the inode lines, not directories or other stats | |
| # 4. sort inodes by number of fragments, descending |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This is old metadata discovered while working on http://tracker.ceph.com/issues/22985 | |
| # wherein some buckets have vanished from the user's list of buckets. | |
| $ sudo radosgw-admin metadata get bucket:743681.404796 | |
| { | |
| "key": "bucket:743681.404796", | |
| "ver": { | |
| "tag": "", | |
| "ver": 0 | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ "radosgw-admin usage show" issue 22963. | |
| $ git log \ | |
| -L '^:RGWUsage..show:src/rgw/rgw_usage.cc' \ | |
| -L '^:RGWRados..read_usage:src/rgw/rgw_rados.cc' \ | |
| -L '^:RGWRados..cls_obj_usage_log_read:src/rgw/rgw_rados.cc' \ | |
| -L '^:cls_rgw_usage_log_read:src/cls/rgw/cls_rgw_client.cc' \ | |
| -L '^:rgw_user_usage_log_read:src/cls/rgw/cls_rgw.cc' \ | |
| -L '^:usage_iterate_range:src/cls/rgw/cls_rgw.cc' \ | |
| v10.2.10..ceph/luminous | |
| -- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 2018-02-15 19:03:28.481588 7f3ba1219b80 1 -- [XXXX::5752]:0/598436282 --> [XXXX::8855]:6813/783325 -- osd_op(unknown.0.0:1 15.2 15:49953fa1:::default.realm:head [getxattrs,stat] snapc 0=[] ondisk+read+known_if_redirected e1292041) v8 -- 0x5618933fb700 con 0 | |
| 2018-02-15 19:03:28.482949 7f3b8f9a6700 1 -- [XXXX::5752]:0/598436282 <== osd.1111 [XXXX::8855]:6813/783325 1 ==== osd_op_reply(1 default.realm [getxattrs,stat] v0'0 uv166 ondisk = 0) v8 ==== 199+0+20 (2222386097 0 3307823624) 0x7f3b88001fb0 con 0x5618933f6ff0 | |
| 2018-02-15 19:03:28.483179 7f3ba1219b80 1 -- [XXXX::5752]:0/598436282 --> [XXXX::8855]:6813/783325 -- osd_op(unknown.0.0:2 15.2 15:49953fa1:::default.realm:head [read 0~524288] snapc 0=[] ondisk+read+known_if_redirected e1292041) v8 -- 0x5618933fb700 con 0 | |
| 2018-02-15 19:03:28.483685 7f3b8f9a6700 1 -- [XXXX::5752]:0/598436282 <== osd.1111 [XXXX::8855]:6813/783325 2 ==== osd_op_reply(2 default.realm [read 0~46] v0'0 uv166 ondisk = 0) v8 ==== 157+0+46 (1166257037 0 3818701991) 0x7f3b880021c0 con 0x5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/sbin/openrc-run | |
| # Copyright 1999-2018 Gentoo Foundation | |
| # Distributed under the terms of the GNU General Public License v2 | |
| # $Id$ | |
| image="docker.elastic.co/elasticsearch/elasticsearch" | |
| image_tag="6.0.1" | |
| volume="/var/lib/elasticsearch/data/:/usr/share/elasticsearch/data/" | |
| publish="127.0.0.1:9200:9200" | |
| env="discovery.type=single-node" |