solaris10 unassigned 分区

合集下载

Solaris 10 操作系统说明书

Solaris 10 操作系统说明书

Enterprises are under tremendous pressure to do more with less, roll out new businessservices faster, fit more servers into the same space, and comply with new regulations, all while their budgets are shrinking and headcount is frozen. Can an operating system really help you address these issues and turn IT into a business advantage? The answer is yes, with the Solaris™ Operating System.The Solaris OS is the strategic platform for today’s demanding enterprise. It’s the only open operating system that has delivered proven results, running everything from mission-critical enterprise databases to high performance Web farms, from large-scale SMP systems to industry-standard x86 systems from HP, IBM, Dell, and Sun.For customers facing challenging business and technical requirements — such as lowering costs, simplifying system administration, and maintaining high service levels — the Solaris 10 OS is the ideal cross-platform choice. Its innovative, built-in features deliver break-through virtualization and utilization, high availability, advanced security, and industry leading performance to meet these stringent requirements — all at a great price.Ten things to know about the Solaris OS1. Great productThe constant demonstrated innovation within the Solaris OS pays off by delivering benefits that can save companies time, hardware costs, power and cooling, while preserving investments in software and training. In short: innovation matters, because it saves you money.2. Great priceSolaris 10 support pricing is 20% to 50% lower than equivalent support from other open OS vendors. No-cost end user licensing lowers barriers to entry, while overall efficiency lowers costs of operation.3. Open sourceThe Solaris OS code base is the foundation of the OpenSolaris™ open source community (visit ). In addition, the Solaris OS includes the leading Web 2.0 open source packages, ready to run and optimized for the over 1,000 x64 and SPARC system platforms supported by Solaris 10.4. Application compatibility — guaranteed The Solaris OS delivers binary compatibility from release to release and source compati-bility between SPARC® and x86 processors; with the Solaris Application Guarantee backing it, it’s something you can count on. And for the ultimate in conversion ease, use Solaris 8 and Solaris 9 Containers on Solaris 10, a “Physical to Virtual”way to quickly and easily run your existing application environ-ments on the latest SPARC systems.5. One Solaris — same features on hundreds of systemsWith a single source code base, the Solaris OS runs on x86 and SPARC and processor-based systems — and delivers the same features on all platforms. You can develop and optimize applications on the Solaris OS for use on over 1000 system models from leading vendors such as Sun, HP, IBM, and Dell.<HighlightsThe Solaris™ Operating Systemmeets and exceeds expectations for:•Virtualization: Optimize resourceutilization to deliver predictableservice levels with SolarisContainers•Networking: Attain near-wirespeedthroughput with the open, program-mable Solaris networking stack•Security: Implement a securefoundation for deploying serviceswith Solaris leading-edge securityfeatures•Availability: Increase uptime withPredictive Self Healing6. Designed to run securely all the timeThe leading-edge security features in the Solaris 10 OS help you reduce the risk of intrusions, secure your applications and data, assign the minimum set of privileges and roles needed by users and applications, and control access to data based on its sensitivity label. Solaris 10 has been inde-pendently evaluated at EAL4+ at three Protection Profiles, one of the highest levels of Common Criteria certifications.7. Designed for observabilitySolaris Dynamic Tracing (DTrace) technology makes it fast and easy to identify perform-ance bottlenecks, especially on production systems. System administrators can use this to troubleshoot even the most difficult problems in minutes instead of days; devel-opers can use it to optimize applications, with significant performance gains possible — real-world use has yielded increases up to 50 times previous performance.8. Designed for virtualizationSolaris 10 has powerful virtualization features built in at no additional charge. With Solaris Containers, you can maintain a one application per virtual server deploy-ment model while consolidating dozens or even hundreds of applications onto one server and OS instance. Share hardware resources while maintaining predictable service levels; increase utilization rates, cut system and licensing costs while gaining the ability to quickly provision and move workloads from system to system. Logical Domains and Xen-based paravirtualization support add even more virtualization flexibility.9.Designed for high availabilityPredictive Self Healing is a key feature in the Solaris 10 OS that helps you increase system and service availability. It automati-cally detects, diagnoses, and isolates system and software faults before they cause downtime. And it spans the full range from diagnosis to recovery on SPARC, AMD Opteron™ and Athlon, and Intel® Xeon®and Core Duo processor-based systems.10.Designed for performanceThe Solaris 10 OS has set over 244 priceperformance records since its release,unleashing even more power from existingapplications. Download the latest Sun™Studio compilers and developer tools tobring even greater performance to yourapplications.For business, industry, and developersThe Solaris 10 OS offers the technology, flexi-bility, and versatility you need to get down tobusiness immediately, whether you’re a smalldeveloper, a large enterprise, or anything inbetween.OpenSolaris participation and OS releaseMore than an open source project, OpenSolarisis also a community, a Web site for collabora-tion — and now provides a supported, leadingedge release every six months. The OpenSolarisrelease is available at , andSolaris source code, downloads, developertools, mailing lists, user groups, and events areall available at . OpenSolaristechnology features a single source base forSPARC and x86 platforms. It includes the keyinnovations delivered in the Solaris 10 OS, aswell as providing access to new technologiesas they’re being developed. The OpenSolarisproject and release provide a low-risk optionfor evaluating emerging OS technologies, plusan excellent opportunity to participate inshaping the direction of the Solaris OS.Development toolsDevelopers need integrated, ready-to-use toolsthat are compatible with all the environmentsin which they must deploy applications. Withthat in mind, Sun includes popular softwaretools from the free and open source world andcomplements them with access to key Sundeveloper technologies like the Sun Studiocompilers and tools and unique Solaris 10utilities such as DTrace.Solaris 10 technologiesWith the Solaris OS, you get compelling newfeatures that your applications can take advan-tage of immediately with few, if any, changes.Binary and source compatibility with previousreleases also helps make it easier to move toSolaris 10 from earlier releases of Solaris.DTraceSystem administrators, integrators, and devel-opers can use the dynamic instrumentation andtracing capabilities in the Solaris OS to see what’sreally going on in the system. Solaris DTracecan be safely used on production systems —without modifying applications. It is a powerfultool that gives a comprehensive view of theentire system, from kernel to application, eventhose running in a Java™ Virtual Machine. Thislevel of insight reduces the time for diagnosingproblems from days and weeks to minutes andhours and ultimately reduces the time to fixthose problems.Solaris ContainersSolaris Containers is an OS-level virtualizationtechnology built into the Solaris 10 OS. Usingflexible, software-defined boundaries to isolatesoftware applications and services, this break-through approach allows multiple privateexecution environments to be created withina single instance of the Solaris OS. Each envi-ronment has its own identity, including adiscrete network stack, separate from theunderlying hardware, so it behaves as if it’srunning on its own system — making consoli-dation simple, safe, and secure.By dynamically controlling application andresource priorities, businesses can define andachieve predictable service levels. Systemadministrators can easily meet changingrequirements by quickly provisioning newSolaris Containers or moving them from systemto system or disk to disk within the same systemas capacity or configuration needs change.Containers can be patched in parallel, increasing speed by up to 300% on systems with multiple containers configured. This also raises the bar on the number of contain-ers that can be realistically run on a system. Containers also offer the ability to emulate other environments, prior Solaris releases, such as Solaris 8 and Solaris 9, as well as support for Linux applications.In addition to Solaris Containers, Sun also offers Logical Domains (LDoms), a hardware partitioning technology that allows multiple instances of the Solaris OS to run on a single Sun CoolThreads™ server.Solaris ZFSThe Solaris ZFS file system is designed from the ground up to deliver a general-purpose file system that spans from the desktop to the datacenter. Anyone who has ever lost important files, run out of space on a partition, spent weekends adding new storage to servers, tried to grow or shrink a file system, or experienced data corruption knows the limitations of tradi-tional file systems and volume managers. Solaris ZFS addresses these challenges efficiently and with minimal manual intervention.Predictive Self HealingPredictive Self Healing is an innovative capability in the Solaris 10 OS that automatically diagnoses, isolates, and helps you recover from many hardware and application faults. As a result, business-critical applications and essential system services can continue uninterrupted in the event of software failures, major hardware component failures, and even software config-uration problems.• Solaris Fault Manager continuously monitorsdata relating to hardware and softwareerrors. It automatically and silently detectsand diagnoses the underlying problem andcan automatically take the faulty componentoffline on SPARC, Intel Xeon, and AMD Opteronprocessor based systems. Easy-to-understanddiagnostic messages link to articles in Sun’sknowledge base to help clearly guide admin-istrators through corrective tasks requiringhuman intervention.• Solaris Service Manager (SMF) creates astandardized control mechanism for applica-tion services by turning them into first-classobjects that administrators can observe andmanage in a uniform way. These servicescan automatically be restarted if they’reaccidentally terminated by an administrator,fail as the result of a software programmingerror, or interrupted by an underlyinghardware problem.PerformanceOptimizing performance and efficiency inSolaris 10 is the result of many factors: under-lying technologies, system configuration andutilization, tools, applications, and systemtuning. An enhanced networking stack mini-mizes latency and offers improved networkperformance for most applications out ofthe box.With DTrace, you can delve deeply into today’scomplex systems when troubleshooting systemicproblems or diagnosing performance bottlenecks— in real time and on the fly. Additional built-in technologies that help deliver increasedapplication performance include:• High-performance networking stack• Filesystem performance• Tools and libraries• Multiple page-size support (MPSS)• Memory placement optimization (MPO)SecuritySecurity is more than a mix of technologies;it’s an ongoing discipline. Sun understandsthis and continues its 20-year commitment toenhancing security in the Solaris OS. SolarisUser and Process Rights Management plusSolaris Containers enable the secure hostingof hundreds of applications and multiplecustomers on the same system. Administratorscan use features such as Secure by Default tominimize and harden the Solaris OS even more.Additionally, Solaris Trusted Extensions providestrue multi-level security for the first time in acommercial-grade OS, running all your existingapplications and supported on over 1,000different system models.• Verify your system’s integrity by employingSolaris Secure Execution and file verificationfeatures• Reduce risk by granting only the privilegesneeded for users and processes• Simplify administration and increase privacyand performance by using the standards-based Solaris Cryptographic Framework• Secure your system using dynamic serviceprofiles, including a built-in, reduced-exposurenetwork services profile• Control access to data based on its sensitivitylevel by using the labeled security technologyin Solaris Trusted ExtensionsNetworkingExponential growth in Web connectivity, services,and applications is generating a critical needfor increased network performance. With theSolaris 10 OS, Sun meets current and futurenetworking challenges by significantly improvingnetwork performance without requiring changesto existing applications. The Solaris 10 OS speedsapplication performance via the Network Layer7 Cache and enhanced TCP/IP and UDP/IPperformance. The latest networking techno-logies, such as 10-Gigabit Ethernet and hardwareoff-loading, are all supported out of the box.Additionally, the Solaris 10 OS supports current IPv6 specifications, high availability, streaming, and Voice over IP (VoIP) networking through extended routing and protocol support —meeting the carrier-grade needs of a growing customer base.Platform choiceThe Solaris 10 OS is optimized for Sun and third-party systems running 64-bit SPARC, AMD, and Intel processors. This makes it possible to create horizontally and vertically scaled infra-structures and offers the flexibility to easily add compute resources. The OS runs on hardware ranging from laptops and single-board computers to datacenter and grid installations, while serving applications ranging from military command-and-control systems to telecommunications switch gear and stock trading.InteroperabilityThe Solaris 10 OS provides interoperability from the desktop to the datacenter across a range of hardware systems, operating platforms, and technologies, making it the ideal platform for today’s heterogeneous compute environments. Not only does it interoperate with both Linux and Microsoft Windows, it also supports popular open source applications and open standards such as Universal Description, Discovery, and Integration (UDDI); Simple Object Access Protocol (SOAP); Web Services Description Language (WSDL); and eXtensible Markup Language (XML).• Source and binary compatibility for Linux applications and interoperability with Microsoft Windows systems• Includes Perl, PHP, and other widely used scripting languages• Includes Apache, Samba, sendmail, IP Filter, BIND, and other popular open source software • Supports Java application development and deployment with the Java Platform, Enterprise Edition (Java EE) and Java Platform, Standard Edition (Java SE)• Includes authentication support for LDAP-based directory servers and Kerberos-based infrastructures© 2009 Sun Microsystems, Inc. All rights reserved. Sun, Sun Microsystems, Solaris, OpenSolaris, Java , and CoolThreads are trademarks or registered trademarks of Sun Microsystems, Inc. or its subsidiaries in the United States and other countries. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. in the US and other countries. Products bearing SPARC trademarks are based upon an architecture developed by Sun Microsystems, Inc. AMD, Opteron, the AMD logo, the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. Intel® Xeon® is a trademark or registered trademark of Intel Corporation or its subsidiaries in the United States and other countries. Information subject to change without notice. SunWIN #420130 Lit. #SWDS12147-4 09/09 Sun Microsystems, Inc.4150 Network Circle, Santa Clara, CA 95054 USA Phone1-650-960-1300 or 1-800-555-9SUN Web 。

Solaris10 Zones使用说明

Solaris10 Zones使用说明
dependency require_all/none svc:/milestone/multi-user-server (online)
以上是用svcs观察zone的服务daemon
下面讲述创建一个local zone的过程,该local zone机器名叫univ180
root@T2000 # mkdir /export/zone/univ180
zonecfg:univ180> set zonepath=/export/zone/univ180
/* 设置zone univ180在全局zone下的目录 */
zonecfg:univ180> set autoboot=true
/* 设置zone univ180在全局zone启动时自动启动
enabled true
state online
next_state none
state_time Fri Jun 02 15:15:45 2006
logfile /var/svc/log/system-zones:default.log
restarter svc:/system/svc/restarter:default
autoboot: true
pool:
inherit-pkg-dir:
dir: /lib
inherit-pkg-dir:
dir: /platform
inherit-pkg-dir:
dir: /sbin
inherit-pkg-dir:
dir: /usr
在虚拟的平台上运行包括虚拟的网卡、虚拟的文件系统、虚拟的控制台等。
每个local zone都有自己的进程环境和SunOS核心服务,包括所有的网络服务

Solaris 10是什么

Solaris 10是什么

--Solaris 10是什么------------------提起Solaris,在人们印象中可能是这样一个场景:在拥挤阴暗的机房里,一个笨重的Sun SPARC服务器的屏幕上滚动着神秘的字符。

除了专门的服务器管理人员,没有人知道它在做什么。

对于大多数读者来说,Solaris有一副让人难以接近的冰冷的面孔。

而且,在这冰冷的面孔背后,还有不菲的价格。

所有这些,都让人不敢接近它,于是,Solaris成了深闺中的宠儿,神秘而娇嫩。

然而,随着Solaris 10的发布,“深闺中的宠儿”向大众走来,渴望技术人员能了解它、掌握它、使用它。

那么,Solaris到底是什么呢?简单地说,Solaris是一种操作系统。

通过计算机操作系统可以控制计算机,可以听音乐、玩游戏、上网聊天和看新闻,还可以在操作系统上开发游戏软件,搭建网站,为大家提供新闻服务。

在这个领域中,有读者熟悉的微软公司的Windows 操作系统,还有被众多自由软件爱好者喜爱的Linux操作系统。

而刚刚发布的Solaris 10到底能给我们带来些什么呢?首先,Solaris 10已经改变了冰冷的面孔,换了一副招人喜爱的样子。

Solaris 10的桌面已经窗口化和菜单化。

新的Java控制台界面使人感觉更加亲近和舒适。

在这里,用户可以通过单击图标来上网浏览和发送邮件,也可以打开StarSuite7写文档和其他应用程序。

这一切和微软的Windows非常相似。

有些读者可能知道,以前的Solaris只能安装在Sun公司的SPARC平台的计算机上,是无法安装在普通用户家中的计算机的。

但是,现在的Solaris 10拥有了专门针对普通用户计算机的x86版,它支持目前的大多数台式计算机,而且其安装界面可以选择中文,一般用户也可以轻松安装。

其次,在应用软件方面,Solaris 10不再是仅仅能运行服务器端的软件,还有大量的客户端的软件可以供桌面用户选择安装。

用户可以方便地使用系统自带的浏览器软件进行上网、发送邮件和文字处理。

SOLARIS10系统配置文件

SOLARIS10系统配置文件

梯调系统配置文件一、Solaris 10安装说明将Solaris 10操作系统安装光盘(DVD版)放入光驱,在OK提示符下(# halt , 或按stop+A出现),键入boot cdrom。

1、在“Select a Language”窗口下,选择6:Simplified Chinese2、在“欢迎”窗口下,点击“下一步”3、在“网络连接”窗口下,选择“联网的”,点击“下一步”4、在“配置多个网络接口”窗口下,选择ce0、ce1,点击“下一步”5、在“主网络接口”窗口下,选择ce0,点击“下一步”6、在“ce0的DHCP”窗口下,选择“否”,点击“下一步”7、在“ce0的主机名”窗口下,输入主机名,点击“下一步”8、在“ce0的IP地址”窗口下,输入IP地址,点击“下一步”9、在“ce0的网络掩码”窗口下,输入255.255.255.0,点击“下一步”10、在“ce0的IPV6”窗口下,选择“否”,点击“下一步”11、在“ce0的缺省路由”窗口下,选择“无”,点击“下一步”12、在“ce1的DHCP”窗口下,选择“否”,点击“下一步”13、在“ce1的主机名”窗口下,输入主机名,点击“下一步”14、在“ce1的IP地址”窗口下,输入IP地址,点击“下一步”15、在“ce1的网络掩码”窗口下,输入255.255.255.0,点击“下一步”16、在“ce1的IPV6”窗口下,选择“否”,点击“下一步”17、在“ce1的缺省路由”窗口下,选择“无”,点击“下一步”18、在“Kerberos”窗口下,选择“否”,点击“下一步”19、在“名称服务”窗口下,选择“无”,点击“下一步”20、在“时区”窗口下,选择“地区性的洲/国家/地区”, 点击“下一步”21、在“洲与国家”窗口下,点击“亚洲”选择“中国”,点击“下一步”22、在“日期和时间”窗口下,输入正确时间,点击“下一步”23、在“超级用户(root)口令”窗口下,输入超级用户口令点击“下一步”24、在“确认信息”窗口下,选择“确认”25、在“欢迎”窗口下,点击“下一步”26、在“安装选项”窗口下,点击“下一步”27、在“指定媒体”窗口下,选择“CD/DVD”,点击“下一步”28、正在初始化…29、在“许可证”窗口下,选择“接受”,击“下一步”30、在“选择升级安装或初始安装”窗口下,选择“初始安装”,击“下一步”31、在“选择安装类型”窗口下,选择“自定义安装”,点击“下一步”32、在“选择软件语言环境”窗口下,选择“亚洲,中文(zh)”点击“下一步”33、在“选择系统语言环境”窗口下,选择“亚洲,中文(zh)”点击“下一步”34、在“选择附带软件”窗口下,选择“Solaris 10 Extra Value Software 87.3MB”,点击“下一步”35、在“附加产品”窗口下,选择“无”,点击“下一步”36、在“选择Solaris 软件组”窗口下,选择“整个郡组以及OEM”的“缺省包”,点击“下一步”37、在“选择磁盘”窗口下,点击“下一步”38、在“保存数据”窗口下,选择“否”,点击“下一步”39、在“分布文件系统”窗口下,选择“修改”选择“确定”,点击“下一步”31、在“准备安装”窗口下,点击“立即安装”32、重新引导后,出现“Do you need to override the system’s default NFS version 4 domain name (yes/no)?[no]:输入“no”,回车33、输入用户名:root34、输入密码:xxxx35、选择其中一个:选择“公用桌面环境”36、安装完毕二、Sun Fire V240磁盘镜像在安装系统时,到划分硬盘分区那一步时,给硬盘预留一部分的空间,可以是200MB。

真实机做RAID-solaris 10

真实机做RAID-solaris 10

RAID5 一、环境分区情况如下:分区3、4、5做RAID5分区6、7用来存放状态数据库二、步骤1.创建状态数据库副本#metadb#metadb -a -f -c 3 c0t0d0s6 c0t0d0s7#metadb2.创建RAID5#metastat#metainit -f d22 -r c0t0d0s3 c0t0d0s4 c0t0d0s5 #metastat可以看到RAID5正在进行初始化进度…最后初始化完成:可以开始新建文件系统了。

3.新建文件系统#newfs /dev/md/rdsk/d224.创建挂载点并挂载,接着写入vfstab文件#mkdir /raid5d22#mount /dev/md/dsk/d22 /raid5d22#vi /etc/vfstab/dev/md/dsk/d22 /dev/md/rdsk/d22 /raid5d22 ufs 2 yes -#df -hFormat查看到的内容三、总结RAID0RAID1 不能用同一块硬盘来做RAID1分区描述:c0t0d0s0 rootc0t0d0s1 swapc0t0d0s3 root root镜像c0t0d0s4 stand 热备池c0t0d0s5 swap swap镜像c0t0d0s6 usr 状态数据库副本c0t0d0s7 usr 状态数据库副本分区情况:开始a.对根文件系统(/)创建RAID1镜像(建议:在配置好metaroot1后就reboot,等启动系统后再执行命令metattach d10 d12进行同步,这样可以可以看到数据的同步进度)b.对swap文件系统(swap)创建RAID1镜像将:改成:#reboot之后#metasta d20 检查同步数据状态c.做热备池d.给根文件系统关联热备池给swap镜像关联热备池:RAID:。

solaris10基本操作

solaris10基本操作

Solaris10基本操作张玉东1、使用console口连接SER MGT端口在此输入用户名密码,默认用户名为root,密码为changeme;2、设置ILOM值Set /SP rest_to_defaults=all重启ILOM:Reset /SP3、创建ALOM启动用户Create /SP/users/admin role=Administrator cli_mode=alom设置admin用户密码,查看用户创建是否成功Show /SP/users4、关闭DHCP功能Sc> setsc netsc_dhcp false5、设置服务器的SC的IP、netmask、gatewaySSS然后使用命令来让以上设置的IP生效:Sc> setsc netsc_commit true6、退出SC模式Sc> logout注:在>模式下面进入OK模式需要输入/SP/console>start /SP/console在OK模式下面输入boot进入solaris系统或者进去其它引导启动模式OK > bootOK > boot cdrom –nowin 使用光盘启动在系统下面进入OK模式可以使用:#halt关闭机器并断电#poweroff关于solaris10SHELL的更改设置,将系统默认的sh SHELL更改为bash SHELL: #vi ./profilePS1=’[\u@\h:$PWD]#’EDITOR=viTERM=vt100EXPORT EDITOR TERMWq!保存退出再以root用户编辑/etc/passwd文件#vi /etc/passwdRoot:x:0:0:super-User:/:/sbinRoot:x:0:0:super-User:/:/bin/bash将上一行修改为本行内容,然后将机器注销重启即可1、基本命令操作#df -h 显示磁盘空间信息,并将各磁盘的挂载点显示出来#cat /etc/vftab显示挂载点表格信息#/etc/hosts网络主机地址文件,可以在此文件中添加本机IP等信息;2、配置网卡1)、激活网卡#ifconfig e1000g0 plumb up 激活名为e1000g0的网卡2)、通过DHCP来分配IP#ifconfig e1000g0 dhcp start3)、手动配置IP地址#ifconfig配置e1000g0网卡的IP地址为,掩码为4)、查看网卡的IP等信息#ifconfig –a 显示网卡的所有信息5)、关闭网卡#ifconfig e1000g0 plumb down6)、配置网关;可以将网关保存在/etc/defaultrouter文件中,此文件需要自己编辑#vi /etc/defaultrouter保存退出,并重启机器生效;7)、查看网关信息#netstat -r8)、添加网关地址重启机器后此条路由信息失效9)、网卡的工作模式#ndd /dev/e1000g0 link_status 1为正常;0为故障#ndd /dev/e1000g0 link_speed 查看网卡的工作速率3、添加用户等#useradd admin 添加admin用户#passwd admin 设置admin用户的密码4、更改文件属性#chmod u+x file 为当前用户添加file文件的执行权限#chmod 755 file 赋于file文件755的权限#chown admin file 改变file文件的所属用户#chgrp root file 改变文件所属组5、设置计划任务#crontab -e 编辑当前用户的计划任务表#crontab -r删除用户的计划任务e.g. 0 * * * * /aaa意思是每月每天每小时的第0 分钟执行一次/aaa在这里需要注意的是aaa文件必须要有执行的权限,否则计划任务无法进行。

Solaris硬盘分区简介

Solaris硬盘分区简介

Solaris硬盘分区简介Solaris硬盘分区简介Solaris下,一个磁盘包含8个分区,标记为0-7。

此信息可以通过format命令,然后选择一个硬盘来看到,例如,在我自己的系统中(Solaris 9,Ultra 60),显示出来的信息如下:# formatSearching for disks...doneAVAILABLE DISK SELECTIONS:0. c0t0d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>/pci@1f,4000/scsi@3/sd@0,0Specify disk (enter its number): 0selecting c0t0d0[disk formatted]Warning: Current Disk has mounted partitions.FORMAT MENU:disk - select a disktype - select (define) a disk typepartition - select (define) a partition tablecurrent - describe the current diskformat - format and analyze the diskrepair - repair a defective sectorlabel - write label to the diskanalyze - surface analysisdefect - defect list managementbackup - search for backup labelsverify - read and display labelssave - save new disk/partition definitionsinquiry - show vendor, product and revisionvolname - set 8-character volume name!<cmd> - execute <cmd>, then returnquitformat> pPARTITION MENU:0 - change `0' partition1 - change `1' partition2 - change `2' partition3 - change `3' partition4 - change `4' partition5 - change `5' partition6 - change `6' partition7 - change `7' partitionselect - select a predefined tablemodify - modify a predefined partition tablename - name the current tableprint - display the current tablelabel - write partition map and label to the disk!<cmd> - execute <cmd>, then returnquitpartition>不要看到内容这么多,就被吓住了,其实,format命令之后0. c0t0d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>/pci@1f,4000/scsi@3/sd@0,0所显示出来的含义很简单,0. c0t0d0就代表这台Ultra 60里面只装了一个硬盘(至于c0t0d0的具体含义,稍后会介绍),<SUN18G cyl 7506 alt 2 hd 19 sec 248>代表的是这个硬盘的大小和柱面信息,/pci@1f,4000/scsi@3/sd@0,0所代表的,就是这个硬盘的实际物理地址。

最全面的Solaris 软RAID指导

最全面的Solaris 软RAID指导

最全面的Solaris 软RAID指导内容简介1、简单的镜像实例2、简单的metadevice概念3、concatenation、stripe,RAID1,raid10,raind01...4、补充说明和常见问题5、相关命令详细解说第一章请用1小时跟着作试验,后面的内容就好理解,本人作完各种RAID试验用了一周第一章:原系统单硬盘新增一块硬盘后,把根文件系统和SWAP分区作镜像一、假设目前的情况,如果不符合,请先搭建环境:1 - 有2个disks - c0t0d0 (disk0) and c0t1d0 (disk1).disk1为新增磁盘2 –原系统安装在disk0, disk1未使用.3 - disk0磁盘都有以下的分片(slices),最好disk1手工创建和disk0一样的分片:0 - /1 - swap2 - whole-disk3 - unassigned 64-MB ----未使用的空间4 - unassigned 64-MB ----未使用的空间Slice3和4是用来存放meta-database日志,磁盘必须有至少128M的空余日志空间,每片64M如果disk0上没有空余没用的slice也没关系,添加另外一个硬盘随便分区,只要有空余的分区用来存放metadb就行(没有说一定要分区3和4哦),假设这里我们用来存放metadb数据库的分区是c0t2d0s3,c0t2d0s4下面我们开始制作根系统的镜像实例(1cylinder=16track=1008block=1008sector,1track=63block,1block=512byte)重要提示:动手前,请先备份系统二、动手1.复制disk0的分片信息到disk1:prtvtoc /dev/rdsk/c0t0d0s2 | fmthard -s - /dev/rdsk/c0t1d0s2因为metadevices是工作在块级别的,所以两个磁盘必须所有物理信息一致(几何匹配)2.建立meta-databasesmetadb -af -c 2 /dev/dsk/c0t2d0s3 /dev/dsk/c0t2d0s4在每个分片上建立2个meta-database,-a 添加,-c 2 数量为2个,-f是第一次建metadb必须的参数,如果有多个disks,可以把数据库分布在多个磁盘上以获得更好的性能和故障冗余3.建立镜像设备(raid-device)在一个2-disk的系统里,我们要做的就是把disk0和disk1结合在一起。

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

在Solaris 10中,未分配分区(unassigned)可以使用格式化命令(format)进行操作。

具体的操作步骤如下:
1. 使用命令行工具登录到Solaris 10操作系统。

2. 运行以下命令以查看当前系统的磁盘分区情况:
```
format
```
这将显示当前系统中的所有磁盘和分区。

3. 找到未分配的分区,记下其设备名称,例如`/dev/dsk/c0t0d0p0`。

4. 运行以下命令来格式化未分配分区:
```bash
format /dev/dsk/c0t0d0p0
```
其中,`/dev/dsk/c0t0d0p0`是未分配分区的设备名称,需要根据实际情况进行替换。

5. 根据提示进行操作,选择所需的文件系统类型和配置选
项。

6. 完成格式化后,未分配分区将被转换为可用的分区,并可用于存储文件和数据。

请注意,格式化分区将删除该分区上的所有数据,因此在执行此操作之前请确保已备份重要的文件和数据。

相关文档
最新文档