salt-run state.orch ceph.stage.0 错误

admin:~ # salt-run state.orch ceph.stage.0
[ERROR   ] Exception caught loading ext_pillar 'stack':
  File "/usr/lib/python3.6/site-packages/salt/pillar/__init__.py", line 982, in ext_pillar
    key)
  File "/usr/lib/python3.6/site-packages/salt/pillar/__init__.py", line 910, in _external_pillar_data
    *val)
  File "/srv/modules/pillar/stack.py", line 384, in ext_pillar
    'pillar': partial(salt.utils.traverse_dict_and_list, pillar),

标签

vCenter 和vSphere 复制虚拟机的不同

vCenter 速度更快,空虚拟机就是 0字节

而vSphere 复制虚拟机按照硬盘实际大小,相当于后置备

标签

Linux 查看固态硬盘类型MLC 还是SLC

/sys/class/block/sd<x>/device/model)   SLC or MLC

 

 

写入屏障

"XFS文件系统默认在挂载时启用“写入屏障”的支持。该特性会一个合适的时间冲刷下级存储设备的写回缓存,特别是在XFS做日志写入操作的时候。这个特性的初衷是保证文件系统的一致性,具体实现却因设备而异——不是所有的下级硬件都支持缓存冲刷请求。在带有电池供电缓存的硬件RAID控制器提供的逻辑设备上部署XFS文件系统时,这项特性可能导致明显的性能退化,因为文件系统的代码无法得知这种缓存是非易失性的。如果该控制器又实现了冲刷请求,数据将被不必要地频繁写入物理磁盘。为了防止这种问题,对于能够在断电或发生其它主机故障时保护缓存中数据的设备,应该以 nobarrier 选项挂载XFS文件系统。"

 

标签

Workspace ONE Access Linux

 SUSE Linux Enterprise Server 11 SP4  (x86_64)

awk cut grep sed

awk -F : '{print $3}'  以:为分隔符号,显示第3段。

cut -c 25-28 显示第25到第 28个字符

我们要删除每行最后的两个字符:

点号表示一个单个字符, 两个点号就表示两个单个字符  sed 's/..$//' test

删除每行前2个字符 sed 's/..//' test

替换原有的字符 sed -i 这样会写入文件,没有-i 不保存的原有文件

sed -i 's/0:9877",/0:9999",/' /usr/lib/Acronis/ApiGateway/api_gateway.json

变量需要用“ ,必须用” 要不然 不生效

sed -i "s/0:$PORT/0:$NEWPORT/" /usr/lib/Acronis/ApiGateway/api_gateway.json

标签

使用nmcli 设置IP Centos7

[root@localhost home]# nmcli conn
NAME           UUID                                  TYPE      DEVICE
enp6s0         f674c024-fe70-45ce-8dd9-8bf690bfd50d  ethernet  enp6s0
enp0s29u1u1u5  87c4add0-d9b3-49a8-9cc4-39a7d65dc88a  ethernet  enp0s29u1u1u5
enp11s0        e2219acb-6776-48cf-817d-e0a6b54ba7e1  ethernet  --
 

标签

20 JL  lot 1939

20 JL  lot 1939
fat
cholesterol
sodium
calcium
iron
fer
puff pastry with raspberry filiing
ingredients: enriched wheat flour 
respherry filling .sugar. butter. palm and sunflower oil margaine. salt.flavourings.

***************

20 JL批次1939
脂肪
胆固醇



FER
覆盆子馅的油酥
成分:浓缩小麦粉
灌装糖。 牛油。 棕榈和葵花籽油的人造黄油。 盐调味料。

Compatibility of Kaspersky Lab solutions for business with Windows XP SP3

Compatibility of Kaspersky Lab solutions for business with Windows XP SP3

Back to "Software compatibility"

Latest update: January 29, 2020 ID: 10929

 

 

Microsoft ended support for Windows XP on April 8, 2014.

The following Kaspersky solutions will be compatible with Windows XP SP3 according to the scheduled product lifecycles:

标签

阿里云磁盘IO 测试情况

使用hdparm命令
这是一个是用来获取ATA/IDE硬盘的参数的命令,是由早期Linux IDE驱动的开发和维护人员 Mark Lord开发编写的( hdparm has been written by Mark Lord <mlord@pobox.com>, the primary developer and maintainer of the (E)IDE driver for Linux, with suggestions from many netfolk).该命令应该也是仅用于Linux系统,对于UNIX系统,ATA/IDE硬盘用的可能比较少,一般大型的系统都是使用磁盘阵列的.
使用方法很简单

[root@mail ~]# hdparm -Tt /dev/vda1

/dev/vda1:
 Timing cached reads:   14706 MB in  1.99 seconds = 7373.88 MB/sec
 Timing buffered disk reads: 272 MB in  3.01 seconds =  90.33 MB/sec

 

标签

磁盘IO性能

windows下如何查看磁盘IO性能

通常,我们很容易观察到数据库服务器的内存和CPU压力。但是对I/O压力没有直观的判断方法。

磁盘有两个重要的参数:Seek time、Rotational  latency

正常的I/O计数为:①1000/(Seek time+Rotational latency)*0.75,在此范围内属正常。当达到85%的I/O计数以上时则基本认为已经存在I/O瓶颈。理论情况下,磁盘的随机读计数为125、 顺序读计数为225。对于数据文件而言是随机读写,日志文件是顺序读写。因此,数据文件建议存放于RAID5上,而日志文件存放于RAID10或 RAID1中。  

 

下面假设在有4块硬盘的RAID5中观察到的Physical Disk性能对象的部分值:  

 

Avg. DiskQueue Length 12  队列长度

Avg. DiskSec/Read .035    读数据所用时间ms

标签
订阅