Chinaunix首页 | 论坛 | 博客
  • 博客访问: 5666827
  • 博文数量: 745
  • 博客积分: 10075
  • 博客等级: 上将
  • 技术积分: 7716
  • 用 户 组: 普通用户
  • 注册时间: 2005-04-29 12:09
文章分类

全部博文(745)

文章存档

2019年(1)

2016年(1)

2010年(31)

2009年(88)

2008年(129)

2007年(155)

2006年(197)

2005年(143)

分类:

2006-09-04 15:39:15

Upon completion of this module, you should be able to :
Create simple, striped, and RAID-5 volumes
Remove a volume
Add a mirror to a volume
Remove a mirror from a volume
Resize a volume(make it larger)
Display properties of a volume
Display volume mapping
Add a file system to a volume
Add a dirty region log to a mirrored volume
Add a log to a volume
 
Disk Group Review
When designing and administering disk groups, you should be familiar with the following:
Disk groups have two primary functions
The rootdg disk group should be small
Disk groups should have unique names
A disk group should have at least two disks
Moving populated disks requires care
 
Disk Group Requirements
1,All disk groups across all systems should have unique names
2,All disk groups which reside on one host must have unique names
3,Each system must have a disk group named rootdg
4,In general, the rootdg disk group should be kept small
5,All disk groups must contain at least one disk
 
Researched Space Allocation
It is frequently better to spend some time analyzing free disk space before creating a volume. Look for patterns of free space that fit your needs. Examples of some commands that can be used to research free space in a disk group are:
# vxdg free
# vxassist maxsize
 
The simplest form of the command used to create a volume is:
# vxassist make vol02 50m
 
File system cluster size
You can set the maxconfig parameter for a file system to control the file system I/O cluster size. This parameter specifies the number of 8K blocks that will be culstered together on a write to the disk. The default is 7, which equals 56Kbytes.
To optimize for sequential performance, set maxconfig to(number of spindles in the stripe*the stripe unit size) / the file system block size(8Kbytes). If you are optimizing for random performance, set it to 1.
For best sequential access, the file system cluster size should match some integer multiple of the stripe width as follows:
Four disks in stripe and stripe unit size = 32 Kbytes
maxconfig = 16
 
Dirty Region Logging
A Dirty Region Log(DRL) keeps a map of data regions that have been modified in mirrored volumes and provides the following advantages:
Highly accelerated mirror resynchronization after a crash
Protection against a second crash during mirror resynchronization
 
Log Placement
If not properly placed, log volumes can create performance problems. The most important rule about log volumes is:
Log volumes should not reside on the same disk as the volumes they manage
 
阅读(2332) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~