位置: 编程技术 - 正文

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 区别)

  • 国债收益率如何定价
  • 职工福利费允许结转以后年度扣除吗
  • 幼儿园收费怎么说
  • 什么不属于损益类的会计项目
  • 税控设备发行是什么行业
  • 收到税收返还会计分录
  • 一般纳税人销售自己使用过的汽车
  • 劳保如何入账
  • 折旧额对应纳税所得额的影响
  • 会计政策变更与会计估计的审计
  • 营改增后混合销售的规定
  • 电脑在固定资产中属于哪一类
  • 租赁公司怎么开展业务
  • 增值税和消费税申报对比不符怎么处理
  • 跨区域经营增值税所得税预缴多少
  • 建筑业增值税普通发票可以抵扣吗
  • 写字楼空置房物业费70%的规定
  • 股东个人借款用于公司怎么处理
  • 为什么预计负债是递延所得税资产
  • 应向客户收取的出租包装物租金
  • 出纳备用金收支登记表怎么做
  • 计提固定资产会计科目
  • 什么情况下一般纳税人可以转为小规模纳税人
  • 苹果键盘快捷键怎么用
  • 农村合作社收到财政拨款怎么做分录
  • win7 bootmode
  • 连接另外一个设备
  • 广告联系电话
  • iphone中的照片如何找回
  • php新手入门
  • macos big sur怎么恢复出厂设置
  • 企业将自有房产全部租出去房产税如何征收
  • 银行卡透支怎么还
  • 圣克鲁斯岛战役
  • php短信验证免费接口配置
  • 详解16型人格
  • RocketMQ-02
  • 数据库arc文件
  • 购进免税农产品进项税额转出
  • 小规模纳税人享受小微企业优惠政策
  • 外贸企业收款有限额吗
  • python的多进程模块
  • 企业做账的流程图
  • 总资产增长率的定义
  • 个体户是什么样的
  • 豆制品属于农副产品吗为什么
  • 接受现金捐赠怎么做会计分录
  • 收到现金货款怎么处理
  • 航天金穗服务费可以抵扣吗
  • 免税收入如何做分录科目
  • 转账支票填写样本图片
  • 个体工商户和小规模纳税人的区别
  • 结算账户分为哪几种?其用途结构如何?
  • 银行账和实际金额对不上
  • 车间管理人员工资属于间接费用吗
  • 明细账模版
  • mysql in如何优化
  • sqlserver索引的作用
  • Mysql 5.7.9 shutdown 语法实例详解
  • 怎么用sql脚本创建数据库
  • linux那些事儿
  • win10自带地图打不开
  • centos7启动卡在界面
  • 如何在linux
  • Linux下查看某一个程序所使用的内存方法
  • win7如何显示桌面
  • 239mbps是多少兆网速
  • opengl怎么学
  • js如何将毫秒转换为日期
  • jquery直接执行
  • cocos2d-x教程
  • Web Inspector:关于在 Sublime Text 中调试Js的介绍
  • jquery.upload.js
  • jquery-easyui
  • android入门视频教程
  • 安卓应用 开发
  • 顺丰快递的开票历史如何删除
  • 2020年税务系统关闭
  • 锦江区税务局发行窗口在哪
  • 地税注销需要什么资料
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

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

    友情链接: 武汉网站建设