位置: 编程技术 - 正文

Solaris 10 x86系统上添加新硬盘(安装solaris11)

编辑:rootadmin

推荐整理分享Solaris 10 x86系统上添加新硬盘(安装solaris11),希望有所帮助,仅作参考,欢迎阅读内容。

文章相关热门搜索词:solaris 11.4,solaris 11.3,solaris安装教程,solaris 安装,solaris 安装,solaris 11.4,solaris 11.4,solaris 10安装,内容如对您有帮助,希望把文章链接给更多的朋友!

过程:

1. 识别新增硬盘

root:/# format

Searching for disks...done

AVAILABLE DISK SELECTIONS:

0. c0d0 <DEFAULT cyl alt 2 hd sec >

/pci@0,0/pci-ide@7,1/ide@0/cmdk@0,0

Specify disk (enter its number): ^C

root:/# devfsadm

root:/# format

Searching for disks...done

AVAILABLE DISK SELECTIONS:

0. c0d0 <DEFAULT cyl alt 2 hd sec >

/pci@0,0/pci-ide@7,1/ide@0/cmdk@0,0

1. c0d1 <DEFAULT cyl alt 2 hd sec >

/pci@0,0/pci-ide@7,1/ide@0/cmdk@1,0

Specify disk (enter its number): 1

注意:两次format命令显示内容的区别。第二次系统识别出新增硬盘c0d1。

在此次试验中使用命令 devfsadm命令识别出新增硬盘,网络上还有一些其他方法。

2. 格式化新增硬盘

root:/# format

Searching for disks...done

AVAILABLE DISK SELECTIONS:

0. c0d0 <DEFAULT cyl alt 2 hd sec >

/pci@0,0/pci-ide@7,1/ide@0/cmdk@0,0

1. c0d1 <DEFAULT cyl alt 2 hd sec >

/pci@0,0/pci-ide@7,1/ide@0/cmdk@1,0

Specify disk (enter its number): 1 ß 注释:选择新增加的硬盘

selecting c0d1

Controller working list found

[disk formatted, defect list found]

FORMAT MENU:

disk - select a disk

type - select (define) a disk type

partition - select (define) a partition table

current - describe the current disk

format - format and analyze the disk

fdisk - run the fdisk program

repair - repair a defective sector

show - translate a disk address

label - write label to the disk

analyze - surface analysis

defect - defect list management

backup - search for backup labels

verify - read and display labels

save - save new disk/partition definitions

volname - set 8-character volume name

!<cmd> - execute <cmd>, then return

quit

format> fdisk ß 注释:建立分区表

No fdisk table exists. The default partition for the disk is:

a % "SOLARIS System" partition

Type "y" to accept the default partition, otherwise type "n" to edit the

partition table.

Y

format> label

Ready to label disk, continue? Y

format> p ß 注释:p等于partition命令,进入分区状态

PARTITION MENU:

0 - change `0' partition

1 - change `1' partition

2 - change `2' partition

3 - change `3' partition

4 - change `4' partition

5 - change `5' partition

6 - change `6' partition

7 - change `7' partition

select - select a predefined table

modify - modify a predefined partition table

name - name the current table

print - display the current table

label - write partition map and label to the disk

!<cmd> - execute <cmd>, then return

quit

partition> print ß 注释:显示当前分区表

Current partition table (original):

Total disk cylinders available: + 2 (reserved cylinders)

Part Tag Flag Cylinders Size Blocks

0 unassigned wm 0 0 (0/0/0) 0

1 unassigned wm 0 0 (0/0/0) 0

Solaris 10 x86系统上添加新硬盘(安装solaris11)

2 backup wu 0 - 9.GB (/0/0)

3 unassigned wm 0 0 (0/0/0) 0

4 unassigned wm 0 0 (0/0/0) 0

5 unassigned wm 0 0 (0/0/0) 0

6 unassigned wm 0 0 (0/0/0) 0

7 unassigned wm 0 0 (0/0/0) 0

8 boot wu 0 - 0 7.MB (1/0/0)

9 alternates wm 1 - 2 .MB (2/0/0)

partition> 0 ß 注释:选择0分区

Part Tag Flag Cylinders Size Blocks

0 unassigned wm 0 0 (0/0/0) 0

Enter partition id tag[unassigned]: unassigned ß 注释:输入分区ID标签

Enter partition permission flags[wm]: wm ß 注释:输入分区权限参数

Enter new starting cyl[0]: 0 ß 注释:输入分区起始柱面为0柱面

Enter partition size[0b, 0c, 0e, 0.mb, 0.gb]: 6gb ß 注释:输入分区大小,6GB

partition> label ß 注释:将信息写入磁盘中

Ready to label disk, continue? yes

partition> print

Current partition table (unnamed):

Total disk cylinders available: + 2 (reserved cylinders)

Part Tag Flag Cylinders Size Blocks

0 unassigned wm 0 - 6.GB (/0/0)

1 unassigned wm 0 0 (0/0/0) 0

2 backup wu 0 - 9.GB (/0/0)

3 unassigned wm 0 0 (0/0/0) 0

4 unassigned wm 0 0 (0/0/0) 0

5 unassigned wm 0 0 (0/0/0) 0

6 unassigned wm 0 0 (0/0/0) 0

7 unassigned wm 0 0 (0/0/0) 0

8 boot wu 0 - 0 7.MB (1/0/0)

9 alternates wm 1 - 2 .MB (2/0/0)

partition> q ß 注释:退出

FORMAT MENU:

disk - select a disk

type - select (define) a disk type

partition - select (define) a partition table

current - describe the current disk

format - format and analyze the disk

fdisk - run the fdisk program

repair - repair a defective sector

show - translate a disk address

label - write label to the disk

analyze - surface analysis

defect - defect list management

backup - search for backup labels

verify - read and display labels

save - save new disk/partition definitions

volname - set 8-character volume name

!<cmd> - execute <cmd>, then return

quit

format> q ß 注释:退出

3. 建立新的文件系统

root:/# newfs /dev/rdsk/c0d1s0

newfs: construct a new file system /dev/rdsk/c0d1s0: (y/n)? y

Warning: sector(s) in last cylinder unallocated

/dev/rdsk/c0d1s0: sectors in cylinders of tracks, sectors

.9MB in cyl groups ( c/g, .MB/g, i/g)

super-block backups (for fsck -F ufs -o b=#) at:

, , , , , , , , , ,

, , , , , , ,

, ,

4. 建立挂载点

root:/# mkdir /oracle

root:/# mount /dev/dsk/c0d1s0 /oracle

root:/# df -h

Filesystem size used avail capacity Mounted on

/dev/dsk/c0d0s0 4.2G 3.3G M % /

/devices 0K 0K 0K 0% /devices

ctfs 0K 0K 0K 0% /system/contract

proc 0K 0K 0K 0% /proc

mnttab 0K 0K 0K 0% /etc/mnttab

swap M K M 1% /etc/svc/volatile

objfs 0K 0K 0K 0% /system/object

/usr/lib/libc/libc_hwcap1.so.1

4.2G 3.3G M % /lib/libc.so.1

fd 0K 0K 0K 0% /dev/fd

swap M K M 1% /tmp

swap M K M 1% /var/run

/dev/dsk/c0d0s7 5.1G 2.2G 2.9G % /export/home

/hgfs G 4.0M G 1% /hgfs

/tmp/VMwareDnD G M G 1% /var/run/vmblock

/dev/dsk/c0d1s0 5.9G 6.0M 5.8G 1% /oracle

Solaris x系统下安装gcc过程 1.系统环境准备a.由于系统默认的shell使用不太方便,所以将系统shell更改为bash。#whichbashusr/bin/bash#usermod-s/usr/bin/bashrootb.建立系统.profile文件:#cp/etc/skel/

改变Solaris 系统运行级别 init 系统运行级别有8种,分别为:运行级别意义0进入PROM状态(OK状态)1管理状态(所有文件系统都挂上的单用户模式,禁止其他用户登录)2多用户模式(

Solaris.0 文件系统备份和恢复 一、磁带和磁带机:常见的磁带介质如下表所示:介质类型大致容量1/2-inchreeltapeMB(每英寸B)1/4-inchcartridge(QIC)cartridgetape8GB8-mmcartridgetapeGB4-mmdigitalaud

标签: 安装solaris11

本文链接地址:https://www.jiuchutong.com/biancheng/354251.html 转载请保留说明!

上一篇:Solaris系统使用小技巧(solaris 安装)

下一篇:Solaris 10 x86系统下安装gcc过程(solaris x86软件 sparc 区别)

  • 房地产开发企业预缴增值税
  • 商品房销售税率10%执行时间
  • 亏损属于什么科目
  • 所得税税负率的计算公式中营业收入含不含税
  • 深圳增值税普通发票查询真伪
  • 开票可以只开大数据吗
  • 企业一般户怎么注销
  • 合伙企业取得分红如何缴纳个人所得税
  • 福利企业发放职工集资利息是不是要交个人所得税
  • 增值税专用发票抵扣联
  • 收到子公司税后利润
  • 办企业房权证费用多少
  • 装修职工宿舍用的瓷砖,灯具等计入什么科目?
  • 微税平台抄税的步骤是怎样的?
  • 总公司分派人员到分公司工作
  • 货运发票与运输发票的区别
  • 研发用的原材料怎么开领料单
  • 几个人注册公司好还是个体户好
  • 澳大利亚太平洋银行
  • 企业注销时还有应付职工薪酬怎么办
  • 人工智能时代如何培养孩子
  • php artisan key:generate
  • php db2
  • webstorm功能
  • video.js教程
  • python 如何学
  • mksquashfs命令
  • js数组方法filter
  • 发票写的是信息怎么办
  • 小规模纳税人无票收入怎么申报
  • 工会经费残保金怎么申报
  • mysql数据库死锁产生的原因及解决方案
  • 代收往来款的会计分录
  • 材料采购账务处理思维图怎么做
  • 个人所得缴税租金怎么算
  • 房地产开发企业增值税怎么算
  • sql使用cast进行数据类型转换示例
  • 捐赠收入为什么要计入应纳税所得额
  • 贸易公司委托加工费怎么入账
  • 购买固定资产的运费计入什么科目
  • 原始凭证审核要点包括
  • 企业取得的财政性资金
  • 捐赠 赞助 区别
  • 估价入帐能跨年吗
  • 注销时其他应付款借方余额怎么账务处理
  • 银行贷款如何做到量价平衡管理
  • 拆迁补偿怎么算的
  • 装修费一定要摊销吗
  • 汇算清缴补交所得税的分录
  • 利税总额计算公式表
  • 期初建帐
  • 营业成本占营业收入的比重过高
  • 网上打印的电子机票可以报销不
  • 劳务费差额征税的账务处理
  • 企业应缴纳的消费税
  • 总账设置包括哪些内容
  • vs2010安装失败的解决办法
  • linux深入理解
  • win8打开运行窗口
  • win8默认输入法设置
  • win8.1开始界面
  • linux的run目录放什么文件
  • win1020h2正式版
  • win7旗舰版系统激活码
  • win7玩游戏全屏
  • win7命令提示符在哪
  • win7息屏不断网
  • javascript:openattachment
  • vue父向子传方法
  • javascript数组去重set方法
  • jquery form序列化
  • javascript入门基础
  • python基于django的项目
  • jquery22插件网
  • 地税税务稽查管理办法
  • 责令立即改正和责令限期整改
  • 投诉政府平台在哪里投诉
  • 广东省税务局登录
  • 驻马店燃气投诉电话号码
  • 零税率,免税不免增值税
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

    网站地图: 企业信息 工商信息 财税知识 网络常识 编程技术

    友情链接: 武汉网站建设