• linkedu视频
  • 平面设计
  • 电脑入门
  • 操作系统
  • 办公应用
  • 电脑硬件
  • 动画设计
  • 3D设计
  • 网页设计
  • CAD设计
  • 影音处理
  • 数据库
  • 程序设计
  • 认证考试
  • 信息管理
  • 信息安全
菜单
linkedu.com
  • 网页制作
  • 数据库
  • 程序设计
  • 操作系统
  • CMS教程
  • 游戏攻略
  • 脚本语言
  • 平面设计
  • 软件教程
  • 网络安全
  • 电脑知识
  • 服务器
  • 视频教程
  • bios
  • 系统安装
  • 系统进程
  • Windows
  • LINUX
  • RedHat/Centos
  • Ubuntu/Debian
  • Fedora
  • Solaris
  • 麒麟系统
  • 红旗Linux
  • 苹果MAC
  • 注册表
  • 其它系统
您的位置:首页 > 操作系统 >Solaris > solaris中添加删除磁盘和分区

solaris中添加删除磁盘和分区

作者:佚名 字体:[增加 减小] 来源:互联网 时间:2017-05-12

佚名 通过本文向大家介绍了solaris查看磁盘,solaris 添加路由,solaris,solaris系统,solaris是什么等相关知识,希望对您有所帮助,也希望大家多多支持linkedu.com

如何在solaris中添加删除磁盘和分区

建意你先看 IDE 和 SCSI 分配名称

以下例子是格式化 Primary IDE Master 硬盘

查看 IDE 和 SCSI 分配名称后,我们知道 Primary IDE Master 硬盘名称是c0d0。

请先行 Login 成为 root user

# drvconfig ( configure the /devices directory )
# disks ( creates /dev entries for hard disks attached to the system )
# format
Searching for disks...done

AVAILABLE DISK SELECTIONS:
0. c0d0
/pci@0,0/pci-ide@7,1/ide@0/cmdk@0,0
1. c1t6d0
/pci@0,0/pci9004,8178@f/sd@6,0
Specify disk (enter its number): 0 ( 因为 Primary IDE Master 硬盘名称是c0d0,所以选择 0 )

AVAILABLE DRIVE TYPES:
0. other
Specify disk type (enter its number):0
( 正常应该是 0. DEFAULT 1. other,通常应该选择DEFAULT,但是Solaris不明白我的硬盘是什么,所

以只有other可供选择。)

我的IDE HardDisk架构如下:-
( 可以从BIOS Auto Detect查出來,通常都有LBA,LARGE,AUTO三种选择,建意你使用Auto,因為不能大

过16Heads和不能大过63Sectoes )
Cylinders = 25232
Heads = 16
Sectors = 63

Enter number of data cylinders:25232
Enter number of alternate cylinders[2]:
Enter number of physical cylinders[25234]:
Enter number of heads: 16
Enter number of data sectors/track: 63
Enter rpm of drive[3600]:
Enter format time[default]:
Enter cylinder skew[default]:
Enter track skew[default]:
Enter tracks per zone[default]:
Enter alternate tracks[default]:
Enter alternate sectors[default]:
Enter cache control[default]:
Enter prefetch threshold[default]:
Enter minimum prefetch[default]:
Enter maximum prefetch[default]:
Enter disk type name (remember quotes): cyl 25232 alt 2 hd 16 sec 63

selecting c0d0
No current partition list
No defect list found
[disk formatted, no 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
! - execute , then return
quit
format>fdisk
No fdisk table exists. The default partition for the disk is:

a 100% "SOLARIS System" partition

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

WARNING: Solaris fdisk partition changed - Please relabel the disk
format>fdisk


Total disk size is 25232 cylinders
Cylinder size is 1008 (512 byte) blocks
Cylinders
Partition Status Type Start End Length %
========= ====== ============ ===== === ====== ===


WARNING: no partitions are defined!

SELECT ONE OF THE FOLLOWING:

1. Create a partition
2. Specify the active partition
3. Delete a partition
4. Exit (update disk configuration and exit)
5. Cancel (exit without updating disk configuration)
Enter Selection: 1


Select the partition type to create:
1=SOLARIS 2=UNIX 3=PCIXOS 4=Other
5=DOS12 6=DOS16 7=DOSEXT 8=DOSBIG
9=DOS16LBA A=x86 Boot B=Diagnostic C=FAT32
D=FAT32LBA E=DOSEXTLBA 0=Exit? 1

Specify the percentage of disk to use for this partition
(or type "c" to specify the size in cylinders). 100

Should this become the active partition? If yes, it will be activated
each time the computer is reset or turned on.
Please type "y" or "n". n

Total disk size is 25232 cylinders
Cylinder size is 1008 (512 byte) blocks
Cylinders
Partition Status Type StartEnd Length %
========= ====== ============ ======== ====== ===
1Solaris1 2523125231 100


WARNING: no partitions are defined!

SELECT ONE OF THE FOLLOWING:

1. Create a partition
2. Specify the active partition
3. Delete a partition
4. Exit (update disk configuration and exit)
5. Cancel (exit without updating disk configuration)
Enter Selection: 4


WARNING: Solaris fdisk partition changed - Please relabel the disk
format> 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
! - execute , then return
quit
partition> print
Current partition table (cyl):
Total disk cylinders available: 25229 + 2 (reserved cylinders)


Part Tag Flag Cylinders Size Blocks
0 root wm 0 0 (0/0/0) 0
1 swap wu 0 0 (0/0/0) 0
2 backup wu 0 - 25228 12.13GB (25229/0/0) 25430832
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 usr wm 0 0 (0/0/0) 0
7 unassigned wm 0 0 (0/0/0) 0
8 boot wu 0 - 0 0.49MB (1/0/0) 1008
9 alternates wm 1 - 2 0.98MB (2/0/0)

partition> 0 ( Part 2, 8, 9 是不需要进行任何修改)

Part Tag Flag Cylinders Size Blocks
0 root wm 0 0 (0/0/0) 0

Enter partition id tag[root]:
( 只可使用 unassigned, boot, root, swap, usr, backup, stand, var, home, alternates )
Enter partition permission flags[wm]:
( wm - read-write, mountable,wu - read-write, unmountable,rm - read-only, mountable,ru -

read-only, unmountable )
Enter new starting cyl[0]: 3 ( 從 Part 8 - 9 可以看到Cylinders 0 - 2 已经给系统使用,所以要

由 3 开始 )
Enter partition size[0b, 0c, 0.00mb, 0.00gb]: ?
Expecting up to 25427808 blocks, 25226 cylinders, 12415.92 megabytes, or 12.12 gigabytes
Enter partition size[0b, 0c, 0.00mb, 0.00gb]: 25427808b
partition> print
Current partition table (cyl):
Total disk cylinders available: 25229 + 2 (reserved cylinders)


Part Tag Flag Cylinders Size Blocks
0 root wm 3 - 25228 12.13GB (25226/0/0) 25427808
1 swap wu 0 0 (0/0/0) 0
2 backup wu 0 - 25228 12.13GB (25229/0/0) 25430832
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 usr wm 0 0 (0/0/0) 0
7 unassigned wm 0 0 (0/0/0) 0
8 boot wu 0 - 0 0.49MB (1/0/0) 1008
9 alternates wm 1 - 2 0.98MB (2/0/0)

partition> label
Ready to label disk, continue? y

partition> quit
format> label ( 为了保险所以输入多一次label )
Ready to label d

分享到:QQ空间新浪微博腾讯微博微信百度贴吧QQ好友复制网址打印

您可能想查找下面的文章:

  • solaris中添加删除磁盘和分区

相关文章

  • 2017-05-12solaris11如何扩展资源池?solaris11扩展资源池的方法
  • 2017-05-12Solaris8安装OPENSSH方法
  • 2017-05-12详细Solaris 11 安装图解教程
  • 2017-05-12Solaris10之加载Windows/EXT等分区数据
  • 2017-05-12如何在solaris中设置分辨率?在solaris中设置分辨率的方法
  • 2017-05-12solaris系统配置文件说明
  • 2017-05-12Solaris iostat命令详解
  • 2017-05-12浅谈Solaris技术
  • 2017-05-12Solaris 10 Openssh安装和配置
  • 2017-05-12solaris 10下安装java+tomcat

文章分类

  • bios
  • 系统安装
  • 系统进程
  • Windows
  • LINUX
  • RedHat/Centos
  • Ubuntu/Debian
  • Fedora
  • Solaris
  • 麒麟系统
  • 红旗Linux
  • 苹果MAC
  • 注册表
  • 其它系统

最近更新的内容

    • 整理Solaris系统与Linux系统常用命令的区别
    • Solaris 10 x86系统上添加新硬盘
    • Solaris系统维护经验的几点总结
    • solari9.0下图形界面相关知识
    • SUN常用系统维护命令
    • Solaris 基础知识
    • 给Solaris打补丁 保护系统安全
    • Solaris 9.0下安装配置Apache-2.0.45+php-4.3.1+mysql-4.1.0
    • Solaris iostat命令详解
    • Solaris 10 Openssh安装和配置

关于我们 - 联系我们 - 免责声明 - 网站地图

©2020-2025 All Rights Reserved. linkedu.com 版权所有