症状:

当NFS SERVER服务停止或者是NFS SERVER宕机,NFS Client 中一些涉及到挂载目录的命令可能会被挂起,如df、ls等。

解决办法:

可以使用mount -l列出挂载的目录,卸载掉已经停止NFS服务的目录

[root@test01 ~]# mount -l
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda1 on /boot type ext3 (rw) [/boot]
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
192.168.146.250:/home/share on /mnt type nfs (rw,addr=192.168.146.250)

[root@test01 ~]# umount -l /mnt/ #卸载
[root@test01 ~]# mount -l      
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda1 on /boot type ext3 (rw) [/boot]
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)

本日志由 flyinweb 于 2011-12-08 10:00:55 发表到 Linux 中,目前已经被浏览 757 次,评论 0 次;

作者添加了以下标签: NFSNFS Client hangs

一、什么是CC攻击:利用大量代理服务器对目标计算机发起大量连接,导致目标服务器资源枯竭造成拒绝服务。

    1、攻击原理

    CC主要是用来攻击页面的。大家都有这样的经历,就是在访问论坛时,如果这个论坛比较大,访问的人比较多,打开页面的速度会比较慢,对不?!一般来说,访问的人越多,论坛的页面越多,数据库就越大,被访问的频率也越高,占用的系统资源也就相当可观,现在知道为什么很多空间服务商都说大家不要上传论坛,聊天室等东西了吧。
一个静态页面不需要服务器多少资源,甚至可以说直接从内存中读出来发给你就可以了,但是论坛就不一样了,我看一个帖子,系统需要到数据库中判断我是否有读读帖子的权限,如果有,就读出帖子里面的内容,显示出来——这里至少访问了2次数据库,如果数据库的体积有200MB大小,系统很可能就要在这200MB大小的数据空间搜索一遍,这需要多少的CPU资源和时间?如果我是查找一个关键字,那么时间更加可观,因为前面的搜索可以限定在一个很小的范围内,比如用户权限只查用户表,帖子内容只查帖子表,而且查到就可以马上停止查询,而搜索肯定会对所有的数据进行一次判断,消耗的时间是相当的大。

本日志由 flyinweb 于 2011-12-07 17:05:35 发表到 技术文摘 中,目前已经被浏览 397 次,评论 0 次;

作者添加了以下标签: CC Attack

首页只显示了部分日志内容,要查看日志的全部内容请阅读全文

一、串行式SCSI(SAS:Serial Attached SCSI)

1、串行式SCSI(SAS:Serial Attached SCSI)是一种电脑集线的技术,其功能主要是作为周边零件的数据传输,例如:硬盘CD-ROM等设备而设计的界面。串行式SCSI 由并行SCSI物理存储接口演化而来,是由ANSI INCITS T10技术委员会T10 committee)开发及维护的新的存储接口标准。与并行方式相比,串行方式能提供更快速的通信传输速度以及更简易的配置。此外SAS并支持与串行式ATA(SATA)设备兼容,且两者可以使用相类似的电缆。

SAS是点对点(point-to-point)连接,并允许多个端口集中于单个控制器上,其可以自带于主板(mother board)当中;也可另外添加。该技术创建在强大的并行SCSI通信技术基础上。SAS是采用SATA兼容的电缆线采取点对点连接方式,从而在计算机系统中不需要创建雏菊链接(daisy-chaining)方式便可简单地实现线缆安装。

  • 第一代SAS为数组中的每个驱动器提供 1.5 Gbps(150 MBps)的传输速率。
  • 第二代SAS为数组中的每个驱动器提供 3.0 Gbps(300 MBps)的传输速率。
  • 第三代SAS为数组中的每个驱动器提供 6.0 Gbps(600 MBps)的传输速率。

本日志由 flyinweb 于 2011-12-06 14:06:46 发表到 硬件技术资源 中,目前已经被浏览 412 次,评论 0 次;

作者添加了以下标签: SASSerial Attached SCSISATASerial Advanced Technology Attachment

首页只显示了部分日志内容,要查看日志的全部内容请阅读全文

IOmeter简介

IOMeter是一款功能非常强大的IO测试软件,它除了可以在本机运行测试本机的IO(磁盘)性能之外,还提供了模拟网络应用的能力。为了全面测试被测服务器的IO性能,可以分别选择不同类型的测试脚本。

Max_throughput:文件尺寸为64KB,100%读取操作,随机率为0%,用于检测磁盘系统的最大吞吐量
Max_IO:文件尺寸为512B,100%读取操作,随机率为0%,用于检测磁盘系统的最大IO能力
Fielserver:文件尺寸从0.5KB到64KB不等,80%读取操作,随机率为100%,用于模拟文件服务器的性能
WebServer:文件尺寸从0.5KB到512KB不等,100%读取操作,随机率为100%,用于模拟Web服务器的性能

本日志由 flyinweb 于 2011-12-06 09:44:32 发表到 硬件技术资源 中,目前已经被浏览 499 次,评论 0 次;

作者添加了以下标签: IOmeterIO性能测试

首页只显示了部分日志内容,要查看日志的全部内容请阅读全文

由于Bonnie存在一些众所周知的问题,比如>2G的文件支持.
Russell Coker (russell@coker.com.au) 开发了一套新的代码,用以支持>2G的文件等.
得到Tim Bray (tbray@textuality.com)的许可之后,Russell把他的软件命名为bonnie++,在网上发布,并开始流行起来.

目前的版本已经更新到了1.03a,你可以到以下地址下载:
http://www.coker.com.au/bonnie++/
你也可以点击这里下载,这个版本需要编译,如果你没有编译环境,可以点击这里下载我编译好的,适用于SUN Solaris环境(Solaris8测试通过)

本日志由 flyinweb 于 2011-12-06 09:09:39 发表到 硬件技术资源 中,目前已经被浏览 239 次,评论 0 次;

作者添加了以下标签: Bonnie++IO性能测试

首页只显示了部分日志内容,要查看日志的全部内容请阅读全文

Quick Solution: Check the permissions on the root of C: and ensure that BUILTIN\Users have Read access.

Long Story:

8000FFFF == E_UNEXPECTED, not very helpful…

Had a client where windows update was continually failing with the error code 8000FFFF. When looking in the Windows Update log we’d see errors like this:

WARNING: PTError: 0x80248014
Handler FATAL: CBS called Error with 0x8000ffff, <— Checked the CBS.log file but that didn’t give any clues.
Handler FATAL: Error source is 106.
DnldMgr Error 0x8000ffff occurred while downloading update; notifying dependent calls.
AU # WARNING: Download failed, error = 0x8000FFFF
AU # WARNING: Download failed, error = 0x8000FFFF
AU WARNING: BeginInteractiveInstall failed, error = 0x8024000C
CltUI WARNING: AU directive Interactive Progress is exiting due to error 8024000C

本日志由 flyinweb 于 2011-12-02 16:41:59 发表到 Windows 中,目前已经被浏览 358 次,评论 0 次;

作者添加了以下标签: 8000ffff

首页只显示了部分日志内容,要查看日志的全部内容请阅读全文

Of the various applications for creating bootable Windows or Linux drives, RMPrepUSB offers some unique features which may be appealing to many users. Advanced users can set specific parameters for the drive if necessary. New and inexperienced users can easily use this application as well. Unlike other similar applications RMPrepUSB has additional features that stand out. There are options for USB formatting in several file systems such as FAT16, FAT32 and NTFS formats. You are able to run a USB speed test, size/speed test, install Grub4dos, SYSLINUX, and even create AXT2 FS on any USB drive. This is much more convenient than creating bootable disks on CD or DVD, as pen drives are much easier to keep track of and less prone to damage.

This application is completely free with no catch and you don’t end up with a dozen different toolbars in your browsers or applications that you don’t want. The download is free of advertizing and so is the installation. You get a quick download in a .zip file and then simply double-click the .exe file to start the installation. This application does not open automatically after installation, but does offer a desktop icon for easy access. You can download RMPrepUSB from this link: http://www.rmprepusb.tk/

本日志由 flyinweb 于 2011-11-30 09:56:25 发表到 技术文摘 中,目前已经被浏览 447 次,评论 0 次;

作者添加了以下标签: bootable USB devicebootable USB flash driveRMPrepUSB

首页只显示了部分日志内容,要查看日志的全部内容请阅读全文

WinToFlash is an easy-to-use tool which will quickly create a bootable USB flash drive version of your Windows CD or DVD (Windows XP, 2003, Vista, 7 and 8 are supported).

本日志由 flyinweb 于 2011-11-22 09:03:50 发表到 Windows 中,目前已经被浏览 761 次,评论 0 次;

作者添加了以下标签: WinToFlashbootable USB flash drivebootable USB device

首页只显示了部分日志内容,要查看日志的全部内容请阅读全文

7658/96