Solaris添加硬盘

关机后添加硬盘并开机

#format

Searching for disks... Done

AVAILABLE DISK SELECTIONS:

                     //所有的硬盘会在这里显示

Sepcify disk (enter the number): 1   //指定硬盘c1d1

                    //出现format的选项菜单

format>partition

                    //出现partition的选项菜单

partition>print

                    //出现partition table

partition>0

Enter partition id tag[unassigned]:?    //列出可用id tag

Enter partition id tag[unassigned]: alternates

Enter partition permission flags[wm]:?

Enter partition permission flags[wm]:<return>

Enter new starting cyl[0]:<return>

Enter partition size[0b , 0c , 0e , 0.00mb , 0.00gb]:400mb      //400mb for Slice0

partition>print       //rember the "Cylinders" range ,next partition should be continue this 

partition>1

Enter partition id tag[unassigned]:swap

Enter partition permission flags[wm]:wu

Enter new starting cyl[0]:603     //the new starting cylinder is one greater than the ending cylinder for last partition

partition>print    //rember the "Cylinders" range ,next partition should be continue this 

partition>7       //usually select this one

Enter partition id tag[unassigned]:home

Enter partition permission flags[wm]:<return>

Enter new starting cyl[0]:694

Enter partition size[0b , 0c , 0e , 0.00mb , 0.00gb]:$   //use the remaining space on the disk

partition>print

partition>label

ready to label disk,continue?  y

partition>name

Enter table name(rember quotes):sundisk     //quotes are only required if the table name is more than one word

partition>quit

format>save

Saving new partition definition

Enter file name["./format.dat"]:/etc/format.dat

若要进行挂载使用:

#newfs /dev/dsk/c1d1s7    创建文件系统后即可挂载使用

//end

 

 By 梁先

2008-06-14

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值