- 博客(26)
- 收藏
- 关注
转载 git send-email
send multiple patches:https://stackoverflow.com/questions/14075445/how-to-generate-separate-patch-files-for-many-local-commits-and-send-them-withsend kernel patch:https://www.cnblogs.com/gmpy/p/12200609.html
2020-05-29 09:12:21 953
转载 LVM 相关链接
Code:https://sourceware.org/git/?p=lvm2.git;a=summaryhttps://sourceware.org/lvm2/problem solutions:https://www.thegeekdiary.com/corruption-or-accidental-deletion-in-lvm-how-to-rebuild-lvm-from-archive-metadata-backups-in-rhel-centos/
2020-05-28 21:07:31 150
转载 mounting /dev/sda1 to /etc/hosts in Docker container
https://stackoverflow.com/questions/56578998/what-is-the-meaning-of-mounting-dev-sda1-to-etc-hosts-in-docker-container
2020-05-27 22:44:59 285
原创 lvcreate code snippet
lv_create: update pe map, assgin pes to lv.lv_activate: call dm APIs create dm dev, and udev create devices under /dev
2020-05-24 19:09:35 161
原创 lvremove code snippet
lv_deactivate: call dm APIs.lv_remove: release pe of pv according to lv's segs.
2020-05-24 19:05:34 224
原创 JVM doc links
Getting Started with the G1 Garbage Collectorhttp://www.oracle.com/technetwork/tutorials/tutorials-1876574.html
2017-08-22 14:46:10 290
原创 solution for "log4j:WARN No appenders could be found for logger"
I got this warning when I integrated spring with hibernate.The solution is:create a log4j.propertis file under your src directory and add following content:#beginlog4j.rootLogger=D
2015-09-13 11:59:33 2324
原创 Jsoup 学习笔记
直接使用vjsoup提供的例子:package cn.mliao.myjsoup;import org.jsoup.Jsoup;import org.jsoup.helper.Validate;import org.jsoup.nodes.Document;import org.jsoup.nodes.Element;import org.jsoup.select.Element
2015-09-06 16:04:58 660
原创 动态代理遇到:All compilation units must be of SOURCE kind
。。。。。。 JavaCompiler comp = ToolProvider.getSystemJavaCompiler(); StandardJavaFileManager fileMgr = comp.getStandardFileManager(null, null, null); Iterable it = fileMgr.getJavaFileO
2015-08-09 17:37:56 2418
原创 what is the difference between MirrorView, SanCopy, SanpSure and SnapView
mirror view:It has a primary site and 1 or 2 secondaries. For synchronous mode, when a write coming, the second write mirrors to the secondary site. But for asynchronous mode, serveral writes in a i
2011-08-17 21:25:57 626
原创 ctags+taglist+cscope+VIM for C development
1. download latest ctags, cscope, taglistcscope:http://sourceforge.net/projects/cscope/files/cscope/15.7a/cscope-15.7a.tar.bz2/downloa
2011-08-09 10:42:42 898
转载 windows7 中文乱码解决方法
转自http://blog.sina.com.cn/s/blog_572e8c450100vg2t.htmlwindows7 中文乱码解决方法有下面这么一种情况:以前在windows XP 上的文本文件,复制到windows7时,其中的中文变成乱码了,而英文能正常显示.而且无论怎么另存为和重新编码都无法正常显示.其原因是这样的:在XP系统中,ANSI编码是可以保存中文的
2011-08-07 11:09:46 7668
转载 eclipse 开发和调试 perl
1 Installation EPIC(Eclipse Perl Integration)是一个基于Eclipse平台的开源Perl集成开发环境。其支持的功能有语法高亮、语法检查、代码提示、Perldoc支持、模版、Perl调试器和正则表达式插件等。 在安装E
2011-08-06 14:27:55 1165
原创 launch putty from browser with telnet protocol
What do we need to do?1.Register a new protocol (in our case, let’s call it “telnet”) to Windows’s registry.2.Create a batch file that c
2011-08-03 14:49:23 590
转载 为什么你逃不脱打工被老板压榨的命运?
之前在 iPc.me 发布过一篇《为什么毕业后5年同学间的差距会拉得如此巨大?》引起大家不少的共鸣,今天继续发布一篇励志的文章,首先声明:如果你是“愤青”或“类愤青”,对不起,请你离开,我怕我的观点再次伤害你那“纯洁”得几乎不识人间烟火的心灵!如果你想从此改变自己,那么,就花上十几分钟的时间,仔仔细细把这篇文章看完。如果你想改变自己的命运,那么,从现在就开始行动。有时候我们之所以失败,99%的
2011-06-16 13:17:00 858 1
原创 Lustre 2.0 Installation notes
配置: 1 mds: 192.168.35.1292 ost1 client OS:redhat 5.4 x64_641. install mds [root@mds ~]# cd Lustre-2.0.0.1-el5/[root@mds Lustre-2.0.0.1-el5]# lse2fsprogs-1.41.10.sun2-0redhat.rhel5.
2011-06-08 10:28:00 1539 1
转载 List of Filesystems
List of FilesystemsRedHat GFS - http://www.redhat.com/gfs/ Oracle OCFS2 - http://oss.oracle.com/projects/ocfs2/ IBM GPFS - http://www-03.ibm.com/systems/clusters/software/gpfs/index.html Sun
2011-06-03 16:53:00 370
原创 常用存储接口
•IDE(Integrated Drive Electronics,电子集成驱动器)它的本意是指把“硬盘控制器”与“盘体”集成在一起的硬盘驱动器。IDE仅代表第一代的IDE标准,随着其接口技术的飞速发展,引入了许多新技术使这一IDE接口标准得到了质的飞跃,并且引入了新的名称,如ATA(Advanced Technology Attachment,高级技术附加装置) • lSATA(Serial ATA ,串行ATA)采用连续串行的方式传输数据。在同一时间点内只会有1位数据传输。 • lFC(Fiber
2011-05-20 20:36:00 625
原创 books for SCSI
"Basics of SCSI", a SCSI tutorial written by Ancot Corporation Contact Ancot for availability information at:http://www.ancot.com/ Phone: (650) 322-5322 Fax: (650) 322-0455 "SCSI Interconnection Guide Book", an AMP publication (dated 4/93, Catalog 65237) t
2011-05-20 14:13:00 557
原创 scsi与ethernet
scsi是服务器和存储设备之间通讯使用的协议,基于block,使用在san存储应用中。通过光纤线传输(fc frame),服务器和存储设备上的硬件是HBA卡。ethernet是2个对等服务器之间的通讯协议。通过网线传输(fe header+ip header+tcp/udp header+app data),服务器上使用硬件是网卡。
2011-05-20 00:42:00 401
原创 pNFS
<br /> <br />pNFS:<br /> <br />pNFS服务器包括元数据和数据服务器。元数据服务器负责名字空间解析和管理。当客户端与元数据服务器交互完毕以后,它直接与数据服务器交互数据。多台数据服务器可以并行服务多个客户端。<br /> <br /><br /> <br />NFSv4.1 adds the Parallel NFS pNFS capability, which enables data access parallelism. The NFSv4.1 protocol defi
2011-05-19 01:36:00 766
转载 Redhat的GFS(Global File System)学习资料汇总
GFS = RedHat Global File SystemGFS 的入门必读以下为入门必看- GFS 的介绍 http://www.redhat.com/solutions/gfs/- RedHat杂志关于GFS的最佳实践 http://www.redhat.com/magazine/009jul05/features/gfs_practices/- RedHat杂志关于GFS和以太网和SAN光纤存储网的介绍 http://www.redhat.com/magazine/008jun05/feature
2011-05-18 16:01:00 1217
原创 fast DFS 单机使用实例
我在一台服务器上简单测试了fastdfs。client, tracker, storage server都是同一个物理服务器。1. 编译fastdfs:sles207:/opt/mars/FastDFS # ./make.shstorage_service.o: In function `storage_service_init':/opt/mars/FastDFS/storage/storage_service.c:1100: undefined reference to `event_base_ne
2011-04-26 17:47:00 6547
原创 taobao fs 学习心得
<br />架构:客户端-主从name server-data servers.<br /> <br />name server解析文件名,找到文件的具体存放在哪个data server上面。<br /> <br />data server上面有很多block。每个block里面有很多小文件。<br /> <br />大量小文件存放在一个固定大小(64M)(可通过参数block_max_size配置)的block文件里面, 对于每个block的索引存放在nameserver的内存中,tfs系统启动的时候,会
2011-04-26 17:15:00 1342
原创 各大厂商NAS产品研究
各大厂商NAS产品研究(研究中。。。)HuaSai N8000NetApp OntapEMC celerraCA.....
2011-04-20 11:25:00 579
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人