Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1211386
  • 博文数量: 1211
  • 博客积分: 10010
  • 博客等级: 上将
  • 技术积分: 14340
  • 用 户 组: 普通用户
  • 注册时间: 2008-06-09 11:20
文章分类

全部博文(1211)

文章存档

2011年(1)

2008年(1210)

我的朋友

分类: 服务器与存储

2008-06-09 12:18:51

partition> 1
Part      Tag    Flag     Cylinders         Size            Blocks
1         swap     wu      26 -    51      129.19MB    (26/0/0)       264576
Enter partition id tag[swap]:      //回车,采取默认即可
Enter partition permission flags[wu]:     //回车,采取默认即可
Enter new starting cyl[26]: 12427     //因为6号分区的起始柱面为14076,而7号,5号,3号和4号分区的空间又为0,所以1号分区的结束柱面为14075(而非14077,此处一定注意不要犯“颠倒顺序”的错误)而1号分区要8G的空间,大概就是1648个柱面,则1号分区的起始柱面该是12427。
Enter partition size[16780224b, 1649c, 8193.47mb, 8.00gb]: 
//空间大小差不多,则按回车确认默认的空间大小即可
partition> l     //保存
Ready to label disk, continue? y
根分区类似,这里不再详述。
root@xz_netman # format     //确认分区
Searching for disks...done
AVAILABLE DISK SELECTIONS:
       0. c1t0d0
          /pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w21000014c33883a9,0
       1. c1t1d0
          /pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w21000004cfc333ff,0
Specify disk (enter its number): 0
selecting c1t0d0
[disk formatted]
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
        !     - execute , 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
        ! - execute , then return
        quit
partition> p
Current partition table (original):
Total disk cylinders available: 14087 + 2 (reserved cylinders)
 
Part      Tag    Flag     Cylinders         Size            Blocks
 0       root    wm       0 - 12426       60.30GB    (12427/0/0) 126457152
 1       swap    wu   12427 - 14075        8.00GB    (1649/0/0)   16780224
 2     backup    wu       0 - 14086       68.35GB    (14087/0/0) 143349312
 3 unassigned    wu       0                0         (0/0/0)             0
 4 unassigned    wu       0                0         (0/0/0)             0
 5 unassigned    wu       0                0         (0/0/0)             0
 6 unassigned    wm   14076 - 14086       54.66MB    (11/0/0)       111936
 7 unassigned    wu       0                0         (0/0/0)             0
阅读(423) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~