<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[helloanthea的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/helloanthea</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; helloanthea]]></copyright><item><title><![CDATA[cmake实用教程]]></title><link>https://blog.youkuaiyun.com/helloanthea/article/details/104052775</link><guid>https://blog.youkuaiyun.com/helloanthea/article/details/104052775</guid><author>helloanthea</author><pubDate>Mon, 20 Jan 2020 15:51:18 +0800</pubDate><description><![CDATA[CMake入门实践

深入浅出CMake(一)：基础篇

深入浅出CMake(二):基础语法及实现九九乘法表

深入浅出CMake(三):find_package 添加依赖库

深入浅出CMake(四):配置多线程

CMake Tutorial
...]]></description><category></category></item><item><title><![CDATA[CentOS 7.6 源码编译安装Ceph]]></title><link>https://blog.youkuaiyun.com/helloanthea/article/details/103728684</link><guid>https://blog.youkuaiyun.com/helloanthea/article/details/103728684</guid><author>helloanthea</author><pubDate>Fri, 27 Dec 2019 11:06:12 +0800</pubDate><description><![CDATA[1. 从github下载ceph项目及其子项目源码


git clone https://github.com/ceph/ceph.git
git submodule update --init --recursive

2.配置好国内yum源


mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bac...]]></description><category></category></item><item><title><![CDATA[ALUA]]></title><link>https://blog.youkuaiyun.com/helloanthea/article/details/80588132</link><guid>https://blog.youkuaiyun.com/helloanthea/article/details/80588132</guid><author>helloanthea</author><pubDate>Tue, 05 Jun 2018 22:13:18 +0800</pubDate><description><![CDATA[原文链接：http://www.pearsonitcertification.com/articles/article.aspx?p=2819032本文节选自《Storage Design and Implementation in vSphere 6: A TechnologyDeep Dive, 2nd Edition 》一书，帮助大家了解如何区分各种ALUA（Asymmetric Logic...]]></description><category></category></item><item><title><![CDATA[ErrorRecovery 之任务重置]]></title><link>https://blog.youkuaiyun.com/helloanthea/article/details/79564085</link><guid>https://blog.youkuaiyun.com/helloanthea/article/details/79564085</guid><author>helloanthea</author><pubDate>Thu, 15 Mar 2018 10:18:35 +0800</pubDate><description><![CDATA[	在 Initiator 处理一个任务时，任务未完成，但中间数据有误了(如 CRC 失败)，可以通过任务重置来本 connection 上的该任务分配置到一个新的 connection 中，然后继续完成乘下的数据，免得整个任务重新执行。任务重置属于commond recovery，涉及到多 connection。    将一个 command 重新分配到一个 connection 上时，targe...]]></description><category></category></item><item><title><![CDATA[iSCSI 中 SCSI 读写请求处理分析]]></title><link>https://blog.youkuaiyun.com/helloanthea/article/details/79563687</link><guid>https://blog.youkuaiyun.com/helloanthea/article/details/79563687</guid><author>helloanthea</author><pubDate>Thu, 15 Mar 2018 10:04:11 +0800</pubDate><description><![CDATA[ iSCSI Initiator 是通过 SCSI Command PDU 向 Target 发出 SCSI 请求，Target 接收请求，执行 SCSI 命令，然后返回数据以及 SCSI 状态。在 SCSI 任务执行时，Initiator/Target 之间会涉及大量数据 I/O。RFC3720 中对这些 I/O 的组织有特别的规定，以下结合 RFC3720, 分析一下 iSCSI 中对 SCS...]]></description><category></category></item><item><title><![CDATA[iSCSI 几个关键字的协商与实现]]></title><link>https://blog.youkuaiyun.com/helloanthea/article/details/79563339</link><guid>https://blog.youkuaiyun.com/helloanthea/article/details/79563339</guid><author>helloanthea</author><pubDate>Thu, 15 Mar 2018 09:46:40 +0800</pubDate><description><![CDATA[ErrorRecoveryLevel错误恢复级别, 目前好像只有微软 Initiator/Target 能支持 ERL=2 级，其它的都是 0，至少我没遇到过。MaxConnections准确来说应该时单个 Session 内最大连接数, 也就是允许单个Session内部最大能建几个Connection(MC/s)。InitialR2T  是否允许非请求类数据(unsolicited)。No 表求...]]></description><category></category></item><item><title><![CDATA[iSCSI session和connection的状态划分及登陆登出]]></title><link>https://blog.youkuaiyun.com/helloanthea/article/details/79543548</link><guid>https://blog.youkuaiyun.com/helloanthea/article/details/79543548</guid><author>helloanthea</author><pubDate>Tue, 13 Mar 2018 17:37:33 +0800</pubDate><description><![CDATA[iSCSI 连接（Connection）状态对于connection，有两种状态：login phase（登陆状态）：登陆状态即 iSCSI initiator 与 iSCSI target 正处于登陆协商过程；full function phase（全功能状态）：全功能状态即登陆过程已经完成，该 connection 已经能为上层 SCSI 提供服务。iSCSI 会话（Session）状态Ses...]]></description><category></category></item><item><title><![CDATA[什么是 iSCSI 连接(Connection)和会话（Session）]]></title><link>https://blog.youkuaiyun.com/helloanthea/article/details/79541463</link><guid>https://blog.youkuaiyun.com/helloanthea/article/details/79541463</guid><author>helloanthea</author><pubDate>Tue, 13 Mar 2018 15:51:04 +0800</pubDate><description><![CDATA[Network Portal: 网络端口。网络实体的一个组成部分，它有一个 TCP/IP 地址。 网络端口在 initiator 用 IP 地址标识， 在 target 用 IP 地址＋侦听的 TCP 端口标识。Session: 连接 initiator 和 target 的一组 TCP 连接构成一个 session(可以简单理解为 I_T nexus)。可以向 session 添加 TCP 连接...]]></description><category></category></item><item><title><![CDATA[iSCSI协议中的流量控制和命令的可靠性的机制]]></title><link>https://blog.youkuaiyun.com/helloanthea/article/details/79471506</link><guid>https://blog.youkuaiyun.com/helloanthea/article/details/79471506</guid><author>helloanthea</author><pubDate>Wed, 07 Mar 2018 15:10:07 +0800</pubDate><description><![CDATA[iSCSI 设备是支持使用者同时向 iSCSI 设备发送多个请求，如同时发送多个读请求，也就是，当第一个读请求还没有返回时，可以同时发送第二个读请求。 由于可以同时发送多个请求，而请求包中包装的 SCSI 命令，而 SCSI 命令是有顺序的，所以需要有一个序号来表示这个顺序。同时一下子发送太多的请求，也有可能把 iSCSI Target 端压跨。所以 iSCSI 协议设计了使用序号来控制命令的顺序...]]></description><category></category></item><item><title><![CDATA[centos 7.3中使能blk-mq]]></title><link>https://blog.youkuaiyun.com/helloanthea/article/details/76886970</link><guid>https://blog.youkuaiyun.com/helloanthea/article/details/76886970</guid><author>helloanthea</author><pubDate>Tue, 08 Aug 2017 10:46:31 +0800</pubDate><description><![CDATA[scsi-mq

RHEL7.2
 release note

使能scsi-mq

添加scsi_mod.use_blk_mq=y到内核命令行：（也可以添加dm_mod.use_blk_mq=y来使能blk-mq）




1
2
3
4
5
6
7
8
9
10
11



$ cat /etc/default/grub 
GRUB_TIMEOUT=5
GRUB_]]></description><category></category></item><item><title><![CDATA[IDE/SCSI/VIRTIO区别]]></title><link>https://blog.youkuaiyun.com/helloanthea/article/details/73224623</link><guid>https://blog.youkuaiyun.com/helloanthea/article/details/73224623</guid><author>helloanthea</author><pubDate>Wed, 14 Jun 2017 14:16:03 +0800</pubDate><description><![CDATA[IDE - Slow Write in the Guest System 
SCSI - Faster Write(as IDE) in Guest System  
VIRTIO - Fastest Write (more that SCSI and IDE) in the Guest System, but only with extra Drivers (In Guest)]]></description><category></category></item><item><title><![CDATA[Libvirt之event loop(一)]]></title><link>https://blog.youkuaiyun.com/helloanthea/article/details/73163380</link><guid>https://blog.youkuaiyun.com/helloanthea/article/details/73163380</guid><author>helloanthea</author><pubDate>Tue, 13 Jun 2017 10:54:10 +0800</pubDate><description><![CDATA[Libvirt之event loop
Event driven programming
The event loop API
Worker pool
本文主要讲述 libvirt 所使用的 event loop 方法，以及 server 端和 client 端如何通过 event loop 交互。event驱动的程序一般，一个程序只 run 一次并终止，这种类型的程序很常见，尤其是在小型程序中，但是]]></description><category></category></item><item><title><![CDATA[nova热快照关键流程解析]]></title><link>https://blog.youkuaiyun.com/helloanthea/article/details/52798062</link><guid>https://blog.youkuaiyun.com/helloanthea/article/details/52798062</guid><author>helloanthea</author><pubDate>Wed, 12 Oct 2016 16:16:07 +0800</pubDate><description><![CDATA[Nova snapshot 目前只提供一种创造系统盘镜像的方法，不支持内存快照，不支持回滚至快照点，只能采用该快照镜像创建一个新的虚拟机。
也就是对当前的系统盘做一个快照生成 qcow2 格式的文件，然后上传到 glance 里面，其作用也往往是方便使用快照生成的镜像来部署新的虚机。
而Live Snapshot 则允许用户在虚机处于运行状态时不停机做快照。


下面我们通过pdb调试工]]></description><category></category></item><item><title><![CDATA[XFS根分区无法挂载的解决办法]]></title><link>https://blog.youkuaiyun.com/helloanthea/article/details/51728128</link><guid>https://blog.youkuaiyun.com/helloanthea/article/details/51728128</guid><author>helloanthea</author><pubDate>Tue, 21 Jun 2016 16:09:46 +0800</pubDate><description><![CDATA[最近线上碰到的一个XFS根分区无法挂载导致无法开机的问题 
因为系统无法开机，首先想到的是先把系统启起来，所以打算从管理口挂载光盘，从光盘启动： 
启动后选择“1”，将文件系统挂载到/mnt/sysimage 
 
执行# chroot /mnt/sysimage
根分区一直处于挂载中，但始终挂载不上去，挂载进程处于D僵死状态，无法杀死，看了一下进程的调用栈，一直处于xfs_buf_iowait()]]></description><category></category></item><item><title><![CDATA[自动精简配置（Thin provisioning ）介绍]]></title><link>https://blog.youkuaiyun.com/helloanthea/article/details/51701771</link><guid>https://blog.youkuaiyun.com/helloanthea/article/details/51701771</guid><author>helloanthea</author><pubDate>Fri, 17 Jun 2016 17:53:54 +0800</pubDate><description><![CDATA[自动精简配置（Thin provisioning ）介绍自动精简配置，有时也被称为”超额申请“，是一中重要的新兴存储技术。本文定义了自动精简配置，并介绍它的工作原理、使用局限和一些使用建议。如果应用程序所使用的存储空间已满，就会崩溃。因此，存储管理员通常分配比应用程序实际需要的存储空间更大的存储容量，以避免任何潜在的应用程序故障。这种做法为未来的增长提供了“headroom”（净空），并减少了应用程]]></description><category></category></item><item><title><![CDATA[技术预览：CentOS 7中利用Snapper GUI管理系统快照]]></title><link>https://blog.youkuaiyun.com/helloanthea/article/details/51692613</link><guid>https://blog.youkuaiyun.com/helloanthea/article/details/51692613</guid><author>helloanthea</author><pubDate>Thu, 16 Jun 2016 16:08:36 +0800</pubDate><description><![CDATA[技术预览：BCLinux7中利用Snapper GUI管理系统快照Snapper-gui是snapper的界面化管理工具，支持btrfs, ext4和精简LVM，因其目前尚在开发阶段，很多功能尚不完善，这里仅作为技术预览做简单介绍。]]></description><category></category></item><item><title><![CDATA[CentOS 7中利用Snapper快照进行系统备份与恢复]]></title><link>https://blog.youkuaiyun.com/helloanthea/article/details/51692532</link><guid>https://blog.youkuaiyun.com/helloanthea/article/details/51692532</guid><author>helloanthea</author><pubDate>Thu, 16 Jun 2016 16:01:23 +0800</pubDate><description><![CDATA[为什么要使用Snapper快照？我们可以想像以下场景： 
1. 场景一：系统发生意外宕机，工程师无法快速定位问题，业务受到中断，客户十分不满意。 
2. 场景二：项目会议上，就是否升级某软件到最新版本，A和B争执不断，A认为为了保持与其他软件的兼容性不能轻易升级，B认为升级能充分利用软件包的最新功能以及享受到新版本性能的提升 
3. 场景三：数据库突然无法访问了，导致业务中断，工程师A和B因为追究责]]></description><category></category></item><item><title><![CDATA[XFS参数优化及测试]]></title><link>https://blog.youkuaiyun.com/helloanthea/article/details/50464800</link><guid>https://blog.youkuaiyun.com/helloanthea/article/details/50464800</guid><author>helloanthea</author><pubDate>Tue, 05 Jan 2016 19:46:10 +0800</pubDate><description><![CDATA[（一）测试环境
硬件环境Inspur NF5270M3, CPU E5-2650 v2@2.60GHz（2Sockect * 8Core * 2HT） 
8 * 16GB of DDR3@1.33G RAM (NUMA) 
ASPEED Graphics Family (rev 21)(used in text-only mode) 
HGST HUS724030ALA640 7200 RPM 2.]]></description><category></category></item><item><title><![CDATA[EXT4参数优化及测试]]></title><link>https://blog.youkuaiyun.com/helloanthea/article/details/50464774</link><guid>https://blog.youkuaiyun.com/helloanthea/article/details/50464774</guid><author>helloanthea</author><pubDate>Tue, 05 Jan 2016 19:40:57 +0800</pubDate><description><![CDATA[（一）测试环境
硬件环境Inspur NF5270M3, CPU E5-2650 v2@2.60GHz（2Sockect * 8Core * 2HT） 
8 * 16GB of DDR3@1.33G RAM (NUMA) 
ASPEED Graphics Family (rev 21)(used in text-only mode) 
HGST HUS724030ALA640 7200 RPM 2.]]></description><category></category></item><item><title><![CDATA[XFS导致进程内核栈溢出的解决办法]]></title><link>https://blog.youkuaiyun.com/helloanthea/article/details/50464618</link><guid>https://blog.youkuaiyun.com/helloanthea/article/details/50464618</guid><author>helloanthea</author><pubDate>Tue, 05 Jan 2016 19:09:40 +0800</pubDate><description><![CDATA[XFS导致进程内核栈溢出的解决办法系统环境
系统版本： CentOS release 6.5
kenel版本：2.6.32-431.20.3.el6.x86_64
文件系统： XFS
问题描述系统panic，并打印以下calltrace信息： 
 
错误跟踪unable to handle kernel paging request at 00000000dd7ed3a0 
00000000dd7e]]></description><category></category></item></channel></rss>