用户名: 密码: 验证码: gdcode
  • 快速导航
  • 开盘数据恢复 RAID数据恢复 PC3000技术 硬盘技术前沿 数据恢复软件
  • 当前位置 :| 首页 > 技术文章 > RAID数据恢复 >  

    UNIX硬盘分区简介

    来源:爱恢复网 作者:爱恢复 时间:2008-07-18 Tag:unix硬盘分区   非win系统数据恢复   点击:
    写这份文档的初衷是在网络上和一些朋友聊天的时候,常常会被问到这个问题,回答了很多次。为了一劳永逸的解决这个问题,决定写一份文档,方便以后再次被问到的时候copy,呵呵。同时,也是为了帮助自己不断巩固这些知识,算是一份粗糙的笔记吧。

      “Unix硬盘分区简介”这个标题有些大,本来只是为了介绍一下Solaris和Linux的分区,但是也希望对其他UNIX熟悉的朋友们分享您们的知识,将您们所熟悉的UNIX,例如FreeBSD,ScoUNIX,HpUNIX等的硬盘分区知识,share出来。假如发现了文章之中的错误,请联系我(E-Mail:cqwlyh@263.net;MSN:cqwlyh@263.net),假如对文章进行了修改,请留下您的名字和联系方式。  

      ok,闲话少说,让我们进入正题吧:   

      1.Solaris硬盘分区简介   

      Solaris下,一个磁盘包含8个分区,标记为0-7。此信息能够通过format命令,然后选择一个硬盘来看到,例如,在我自己的系统中(Solaris 9,Ultra 60),显示出来的信息如下:

      # format

      Searching for disks...done

      AVAILABLE DISK selectIONS:

      0. c0t0d0

      /pci@1f,4000/scsi@3/sd@0,0

      Specify disk (enter its number): 0

      selecting c0t0d0

      [disk formatted]

      Warning: Current Disk has mounted partitions.

      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

      repair - repair a defective sector

      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

      inquiry - show vendor, product and revision

      volname - set 8-character volume name

      ! - e, then return

      quit

      format> p

      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

      !- e, then return

      quit

      partition>

      不要看到内容这么多,就被吓住了,其实,format命令之后0. c0t0d0 /pci@1f,4000/scsi@3/sd@0,0所显示出来的含义很简单,0. c0t0d0就代表这台Ultra 60里面只装了一个硬盘(至于c0t0d0的具体含义,稍后会介绍),代表的是这个硬盘的大小和柱面信息,/pci@1f,4000/scsi@3/sd@0,0所代表的,就是这个硬盘的实际物理地址。这些信息看起来很复杂,其实一般都只需要看看format命令抓出来的硬盘数量,是不是我们装在系统上的数量,例如您装了两个硬盘,但是这里只有一个硬盘的信息,就需要认真面对了。

      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

      repair - repair a defective sector

      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

      inquiry - show vendor, product and revision

      volname - set 8-character volume name

      ! - e, then return

    上一篇:如何提高RAID5数据恢复成功率
    下一篇:没有了
    最新评论共有 0 位网友发表了评论
    发表评论
    评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
    用户名: 密码:
    匿名?
    注册
    搜索
  • 关键词:
  • 热点关注
    相关文章
    问答中心  |  爱恢复百科  |  公司库  |  专题  |  培训信息  |  广告招商  |  高级检索  |  网站地图