linux在线扩展文件系统空间
author:skate
time:2009/12/04
linux在线扩展文件系统空间
ext2resize是一款可以增大/减小ext2/ext3文件系统的工具,安装后有2个命令ext2resize和ext2online,ext2resize命令
必须要在卸载文件系统的情况下才能使用,ext2online可以实现在线重设文件系统大小。
下面就演示具体的操作,这是我们研发用的测试服务器,由于空间不够,现在要在线扩展空间
1.首先下载软件ext2resize
[root@svr-db-test ~]# wget ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home:/janptitan/SLE_10/x86_64/ext2resize-1.1.19-3.1.x86_64.rpm
2.安装ext2resize软件
[root@svr-db-test ~]# rpm -ivh ext2resize-1.1.19-3.1.x86_64.rpm
3. 创建物理卷PV
[root@svr-db-test ~]# pvcreate /dev/sdb1
4.把心添加的pv添加到要扩展的卷组里(VolGroup_ID_20886)
[root@svr-db-test ~]# vgextend VolGroup_ID_20886 /dev/sdb1
5. 查看现有系统的空间使用情况
[root@svr-db-test ~]# df -h
文件系统 容量 已用 可用 已用% 挂载点
/dev/mapper/VolGroup_ID_20886-LogVol1
3.9G 2.2G 1.6G 60% /
/dev/sda3 190M 26M 156M 14% /boot
tmpfs 3.9G 0 3.9G 0% /dev/shm
/dev/mapper/VolGroup_ID_20886-LogVol2
3.9G 137M 3.6G 4% /tmp
/dev/mapper/VolGroup_ID_20886-LogVol5
24G 3.4G 19G 16% /usr
/dev/mapper/VolGroup_ID_20886-LogVol4
&nbs
相关文档:
1. HCI层协议概述:
HCI提供一套统一的方法来访问Bluetooth底层。如图所示:
从图上可以看出,Host Controller Interface(HCI) 就是用来沟通Host和Module。Host通常就是PC, Module则是以各种物理连接形式(USB,serial,pc-card等)连接到PC上的bluetooth Dongle。
在Host这一端:application,SDP,L2cap等协议 ......
When Linux Runs Out of Memory
http://linuxdevcenter.com/pub/a/linux/2006/11/30/linux-out-of-memory.html?page=1
Perhaps you rarely face it, but once you do, you surely know what's
wrong: lack of free memory, or Out of Memory (OOM). The results are
typical: you can no longer allocate more memory ......
1. 查看内核版本命令:
1) [root@q1test01 ~]# cat /proc/version
Linux version 2.6.9-22.ELsmp (bhcompile@crowe.devel.redhat.com) (gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)) #1 SMP Mon Sep 19 18:00:54 EDT 2005
2) [root@q1test01 ~]# uname -a
Linux q1test0 ......
转自: http://www.diybl.com/course/6_system/linux/Linuxxl/20081124/152557.html
好好学习,天天向上
引言
线程(thread)技术早在60年代就被提出,但真正应用多线程到操作系统中去,是在80年代中期, solaris是这方面的佼佼者。传统的Unix也支持线程的概念,但是在一个进程(process)中只允许有一个线程,这样 ......