linux挂载新硬盘
fdisk -l 命令看当前磁盘信息
[root@roswell root]# fdisk /dev/sdb
Command (m for help): m --打印该命令的参数功能列表
Command action
a toggle a bootable flag
b edit bsd disklabel
c toggle the dos compatibility flag
d delete a partition
l list known partition types
m print this menu
n add a new partition
o create a new empty DOS partition table
p print the partition table
q quit without saving changes
s create a new empty Sun disklabel
t change a partition's system id
u change display/entry units
v verify the partition table
w write table to disk and exit
x extra functionality (experts only)
Command (m for help):
Command (m for help): p --打印待分区的磁盘信息
Disk /dev/sdb: 50.0 GB, 50019202560 bytes
255 heads, 63 sectors/track, 6081 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
Command (m for help):
Command (m for help): n --进行磁盘分区
Command action
e extended
p primary partition (1-4)
p --e:逻辑分区 p:主分区,4个主分区
Partition number (1-4): 1 --划分为第一个主分区
First cylinder (1-6081, default 1): 1 --起始磁盘数,不填默认为1
Last cylinder or +size or +sizeM or +sizeK (1-6081, default 6081): 6081 --定义该分区大小,不填默认为全部可用存储额
Command (m for help):
Command (m for help): p --打印待分区的磁盘信息
Disk /dev/sdb: 50.0 GB, 50019202560 bytes
255 heads, 63 sectors/trac
相关文档:
Linux文件系统之文件、分区大小限制
以下为红帽ext3文件系统所支持的max file size和max filesystem size:
对文件系统
的限制如下:
ext3 文件系统,红帽企业版 Linux 3 的文件系统最大是 2TB(已验证),红帽企业版 Linux 4 和 5 提高到了
8TB(已验证),红帽企业版 Linux 5 支持文件系统的理论值是 16TB。
GFS ......
Linux下可以用ls –l 命令来判断文件类型,如上 图所示。可以依据第一列中的10个字符来判断。
• -rw-r—r—指明了1.txt文件是一个普通文件,1.txt和myprog04文件都是普通文件。以”-“开头的都是普通文件,而以”d”开头的是目录文件。
• brw-rw---- 指明了/dev/sd ......
概述
1. “/etc/profile”文件
2. “bdflush”参数
3. “ip_local_port_range”参数
4. “/etc/nsswitch.conf”文件
5. “/proc”文件系统
6. “ulimit”参数
7. 增加系统打开的文件数目
8. 文件“atime”属性
9. 文件的“noatime&rd ......
在本文的第一篇中,我主要对bootsect.s进行了讲述. 在第二部分中,我将对setup.s进行描述,我将其视为是Linux启动的第二步骤.
操作系统的启动过程是一个漫长而有序的过程,各个阶段都有其不同的作用. boot;setup;init虽然看似很接近,但是却是完全不同的过程.他们各司其职,按部就班.boot比较准确的翻译应该是引导,而setup的翻译 ......
1. linux下启动oracle
su - oracle
sqlplus /nolog
conn /as sysdba
startup
exit
lsnrctl start
exit
2. linux下关闭oracle
su - oracle
sqlplus /nolog
conn /as sysdba
shutdown immediate
exit
lsnrctl stop
exit
3、启动监听器
oracle@suse92:~> lsnrctl start
4、停止监听器
oracle@suse92:~ ......