分类:
2010-09-16 01:58:00
System Files | AIX | FreeBSD | HP-UX | LINUX(RedHat) | Solaris | Tru64 |
NFS exported | /etc/exports | /etc/exports | /etc/exports | /etc/exports | /etc/dfs/dfstab /etc/dfs/sharetab |
/etc/exports |
NFS Client mounted directories | /etc/xtab | /etc/xtab | /var/lib/nfs/xtab | /etc/rmtab | /var/adm/mountdtab | |
Max File System | 128 GB | 128 GB | 2 TB | 1 TB 8000 TB {vxfs} |
128 GB {<= 3.2G} 512 GB {>= 4.0} 16 TB {advfs} | |
Max File Size | 64 GB | 128 GB | 2 GB {512B block size} 8192 GB {8KB block size} |
1 TB 2 GB {=<2.5.1} |
128 GB {<= 3.2G} 512 GB {>= 4.0} 16 TB {advfs} | |
Max # File Descriptors | 64 K | 60~ K | sysctl fs.file-max | 64 K | 64 K | |
DISK/LVM Commands | AIX | FreeBSD | LINUX(RedHat) | SOLARIS | Tru64 | |
Filesystem table | /etc/filesystems | /etc/fstab | /etc/fstab | /etc/fstab | /etc/vfstab | /etc/fstab |
Free disk blocks | df -k | df -k | bdf | df -k | df -k | df -k |
Device listing | lsdev -C | /sbin/ioscan | cat /proc/devices | sysdef | ||
Disk information | bootinfo -s hdisk# | fdisk -v ad0 | diskinfo /dev/rdsk/c#t#d# | cat /proc/scsi/scsi0/sda/model | format -d c#t#d# format>current format>inquiry |
file /dev/rrz0c |
Disk Label | lspv -l hdisk# | disklabel ad0 | pvdisplay -v /dev/dsk/C#t#d# | fdisk -l | prtvtoc | disklabel -p rz0 |
LVM Concepts | Partition | sub disk | logical extents | logical extents | sub disk | sub disk |
Volume | Volume | logical volume | logical volume | Volume | Volume | |
Plex | Plex | Plex | ||||
Volume group | volume group | volume group | disk group | disk group | ||
Journal Filesystem type | jfs | vxfs | ext3 reiserfs |
vxfs | advfs | |
Default volume group | /dev/rootvg | /dev/vg00 | /dev/vx/dsk/rootdg | /dev/vol/rootdg | ||
Display volume group | lsvg -l rootvg | vgdisplay -v vg00 | vgdisplay -v | vxprint -l -g rootdg | volprint -l -g rootdg | |
Modify physical volume | chpv | pvchange | pvchange | |||
Prepare physical disk | mkdev -c disk -l hdisk# | pvcreate | pvcreate | vxdiskadd | voldiskadd | |
List physical volume | lspv | vinum ld | pvdisplay | pvdisplay | vxprint -dl | volprint -dl |
Remove disk from volume group | reducevg | vgreduce | vgreduce | vxdg rmdisk | voldg rmdisk | |
Move logical volumes to another physical volumes | migratepv | vinum move -f drive object | pvmove | pvmove | vxassist move | volassist move |
Create volume group | mkvg | vgcreate | vgcreate | vxdg init | voldg init | |
Remove volume group | vgremove | vgremove | ||||
Volume group availability | chvg varyonvg varyoffvg |
vgchange | vgchange | |||
Restore volume group | vgcfgrestore | vgcfgrestore | ||||
Exports volume group | exportvg | vgexport | vgexport | vxdg deport | voldg deport | |
Imports volume group | importvg | vgimport | vgimport | vxdg import | voldg import | |
Volume group listing | lsvg | vgscan | vgscan | |||
Change logical volume characteristics | chlv | lvchange | lvchange | vxedit set | voledit set | |
List logical volume | lslv | vinum lv | lvdisplay | lvdisplay | vxprint -vl | volprint -vl |
Make logical volume | mklv | lvcreate | lvcreate | vxassist make | volassist make | |
Extend logical volume | extendlv | lvextend | lvextend | vxassist growto | volassist growto | |
Reduce logical volume | lvreduce | lvreduce | vxassist shrinkto | volassist shrinkto | ||
Remove logical volume | rmlv | vinum rm vol | lvremove | lvremove | vxedit rm | voledit -g rootdg -rf rm vol1 |
Prepare boot volumes | bootlist -m normal | lvlnboot | lilo | vxbootsetup | ||
Remove boot volumes | lvrmboot | |||||
Extend File system | chfs -a size=# /mt | extendfs /dev/vg00/lvol8 fsadm -F vxfs -b {LE * 1024} /mt |
resize2fs resize_reiserfs |
vxva mkfs -M |
||
Reduce/Split mirrors | rmlvcopy | lvsplit | lvsplit | |||
Merge mirrors | lvmerge | lvmerge | ||||
Create mirrors | mklv -c 2 | vinum mirror drive | lvcreate -m 1 | vxassist mirror | volassist make vol 100mb mirror=true | |
Add mirrors | mklvcopy lv 2 | lvextend -m 1 | ||||
Create striped volumes | mklv -u 3 -S 64K | vinum stripe drive | lvcreate -i 3 -I 64 | lvcreate -i 3 -I 64 | vxassist make vol 100mb layout=raid5 | volassist make vol 100mb layout=stripe |
System recovery tape | mksysb -i /dev/rmt0 | /opt/ignite/bin/make_recovery | /usr/sys/bin/btcreate | |||
Backup | savevg -i rootvg | vinum saveconfig | fbackup | tar cvf /dev/rst0 / | ufsdump | vdump |
Restore | restvg | frecover | tar xvf /dev/rst0 | ufsrestore | vrestore |
chinaunix网友2010-09-16 15:27:32
很好的, 收藏了 推荐一个博客,提供很多免费软件编程电子书下载: http://free-ebooks.appspot.com