位置: 编程技术 - 正文

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

发布时间:2024-02-26

推荐整理分享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 区别)

  • 增值税留抵抵欠情况说明怎么写
  • 堤防是啥
  • 平均税额怎么算
  • 超过认证期的发票能用吗
  • 营业总收入包括营业外收入吗
  • 没有数字的公章有效吗三方协议盖的章没有数字
  • 设备采购及安装属于工程还是货物
  • 二手车交啥税
  • 本月进项留抵会计分录
  • 小微企业减免所得税
  • 违约金收入是否征税
  • 住宅小区共用部位有哪些
  • 装修费用如何摊销成本
  • 查定征收方式适用于什么
  • 打官司败诉承担的费用
  • 未开票收入增值税如何计提
  • 全年一次性奖金个税计算
  • 失控发票进项税额转出申报表填写
  • 作废发票进项税怎么处理
  • 开票信息里面的电话号码怎么来的?
  • 预收一年租金会计分录
  • 材料卸车费可计入人工费吗
  • 教育费附加免征还计提吗
  • 计提汽车折旧会计分录
  • 应收账款少给货款怎么做分录?
  • 公司对外租赁
  • 打开我的电脑提示该文件没有与之
  • 平均净资产和净资产
  • 适用加计抵减政策的行业
  • 充值会员卡送的营销秘诀
  • php设计模式六大原则
  • hg8321r路由
  • 实收资本的会计编码
  • 按工资的14%计提职工福利费
  • win10iis安装配置
  • java项目报错
  • paypal付款会自动换汇吗
  • 对公贷款利息支付
  • 饿了么指定单
  • 卸载的应用怎么找回来
  • 蓝桥杯b组2020
  • 比较好的微信名称有哪些
  • 新企业所得税实施细则
  • 小规模纳税人开票额度
  • 银行转账回执单掉了
  • Monaco-editor的JSONSchema配置及使用介绍
  • 企业残障金缴纳标准
  • 应收账款借方余额
  • 定期定额户用财务制度备案吗
  • 进口退货退税
  • 土地增值税是什么税种类型
  • 材料采购和原材料和在途物资的区别
  • 公司代扣代缴社保什么意思
  • 公户转私户的钱会退回吗
  • 认缴的实收资本需要做账吗?
  • 月末结转销售会计分录
  • 办理股权转让需要多久时间
  • 什么是对公账户?
  • 私营企业主的现金流特征
  • 苹果mac电脑打不开
  • centos 命令大全
  • linux查看磁盘挂载的命令
  • spool.exe - spool是什么进程
  • win8的系统
  • win8.1使用教程
  • window10外接摄像头怎么启用
  • linux 操作指令
  • cocos2dx4.0教程
  • canvas动态绘制简单gif
  • 批量安装windows7补丁
  • unity开发用macbook怎么样
  • android新手入门
  • Node.js中的construct构造函数
  • python基础教程 入门教程
  • Javascript Math ceil()、floor()、round()三个函数的区别
  • python mp3play
  • javascript object oriented 面向对象编程初步
  • js命名函数
  • 海口市地方税务局是什么级别
  • 车船使用税是什么样的单子
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号