充满光的瞳孔 发表于 2012-09-18 12:51

format看到硬盘中少一个分区!

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
      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

充满光的瞳孔 发表于 2012-09-18 12:52

7分区不见了,怎么创建或者怎么复原?{:3_185:}

DC_楚楚 发表于 2012-09-18 14:57

你把 format的信息 和分区print 的信息贴出来看一下

充满光的瞳孔 发表于 2012-09-18 15:56

bash-3.2# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c1t0d0 <SUN300G cyl 46873 alt 2 hd 20 sec 625>
          /pci@0/pci@0/pci@2/scsi@0/sd@0,0
       1. c1t1d0 <HITACHI-H106030SDSUN300G-A2B0-279.40GB>
          /pci@0/pci@0/pci@2/scsi@0/sd@1,0
Specify disk (enter its number): 1
selecting c1t1d0



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
      inquiry    - show vendor, product and revision
      volname    - set 8-character volume name
      !<cmd>   - execute <cmd>, 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
      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> p
Current partition table (original):
Total disk sectors available: 585921082 + 16384 (reserved sectors)

Part      Tag    Flag   First Sector         Size         Last Sector
0      usr    wm                34      279.39GB          585921082   
1 unassigned    wm               0         0               0   
2 unassigned    wm               0         0               0   
3 unassigned    wm               0         0               0   
4 unassigned    wm               0         0               0   
5 unassigned    wm               0         0               0   
6 unassigned    wm               0         0               0   
8   reserved    wm         585921083      8.00MB          585937466



1号盘!没有7分区!

DC_楚楚 发表于 2012-09-18 16:16

你 format -e 选择磁盘1 ,然后 label把信息贴出来

DC_楚楚 发表于 2012-09-18 17:57

回复 4# 充满光的瞳孔

如果没猜错的话,你的磁盘打上的是EFI标签,如果要显示到正常的VTOC标签的话(有8个分区的),执行:

1 # format -e

2 选择1号磁盘;

3 format>label

4 format> label
SMI Label
EFI Label
Specify Label type: 0
SMI label是VTOC标签,EFI label 是EFI标签,这里选择 SMI

5 退出 format>q

*要注意的是,改变了标签类型,磁盘的数据就会丢了





   

znnnz 发表于 2012-09-19 09:01

如楼上所说,使用 SMI Label

119beyond 发表于 2012-10-11 16:56

好奇害死猫啊
页: [1]
查看完整版本: format看到硬盘中少一个分区!