solaris10系统管理命令和系统备份方法

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

solaris 10 一些系统管理命令和系统备份方法

1.查看系统版本和系统型号

uname -a

unmae -X

Cat /etc/release

showrev

SunOS5.10其实和Solaris 10是一个东西,名称不同,与Solaris系统的起源相关。下面是两者的关系介绍:

History

In 1987, AT&T and Sun announced that they were collaborating on a project to merge the most popular Unix variants on the market at that time: BSD, System V, and Xenix. This would become Unix System V Release 4 (SVR4).[3]

On September 4, 1991, Sun announced that it would replace its existing

BSD-derived Unix, SunOS 4, with one based on SVR4. This was identified internally as SunOS 5, but a new marketing name was introduced at the same time: Solaris 2.[4] While SunOS 4.1.x micro releases were retroactively named Solaris 1 by Sun, the Solaris name is almost exclusively used to refer to the SVR4-derived SunOS 5.0 and later.[5]

The justification for this new "overbrand" was that it encompassed not only SunOS, but also the OpenWindows graphical user interface and Open Network Computing (ONC) functionality. The SunOS minor version is included in the Solaris release number; for example, Solaris 2.4 incorporated SunOS 5.4. After Solaris 2.6, Sun dropped the "2." from the number, so Solaris 7 incorporates SunOS 5.7, and the latest release SunOS 5.10 forms the core of Solaris 10.

2.显示系统中磁盘的数量

format

root@IEDB # format

Searching for disks...done

AVAILABLE DISK SELECTIONS:

0. c1t0d0

/pci@1f,700000/scsi@2/sd@0,0

1. c1t2d0

/pci@1f,700000/scsi@2/sd@2,0

2. c1t3d0

/pci@1f,700000/scsi@2/sd@3,0

但是,如果系统中存在硬件raid,format显示的有可能是做过raid的之后的逻辑盘。上例中,c1t0d0就是一个逻辑盘,从下边的命令中可以看出。

3.显示系统中软件raid的配置

metastat

4.硬件raid系统配置工具

raidctl

该命令可以显示和配置raid。如显示逻辑硬盘和实际的物理盘

root@IEDB # raidctl

Controller: 1

Volume:c1t0d0

Disk: 0.0.0

Disk: 0.1.0

Disk: 0.2.0

Disk: 0.3.0

则Volume:c1t0d0就是做过raid的逻辑盘,下面则表示系统中有4个物理盘。

可以显示控制器的信息:

root@IEDB # raidctl -l 1

Controller Type Version

----------------------------------------------------------------

c1 LSI_1030 1.03.39.00

显示逻辑盘的信息:

root@IEDB # raidctl -l c1t0d0

Volume Size Stripe Status Cache RAID

Sub Size Level

Disk

----------------------------------------------------------------

c1t0d0 136.7G N/A OPTIMAL N/A RAID1

0.0.0 136.7G GOOD

0.1.0 136.7G GOOD

显示物理磁盘的信息:

root@IEDB # raidctl -l -g 0.3.0 1

Disk Vendor Product Capacity Status HSP

----------------------------------------------------------------

0.3.0 FUJITSU MAW3147NCSUN146 136.7G GOOD N/A

5.cfgadm

这是一个配置管理程序,主要用于管理动态可配置的设备,也可以用它来显示系统中已连接的设备:

cfgadm -al

相关文档
最新文档