免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 6183 | 回复: 6
打印 上一主题 下一主题

装好了系统后怎么更改分区的大小啊? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-03-15 14:56 |只看该作者 |倒序浏览
solaris系统装好后,怎样去更改分区的大小啊,请大虾指教!

论坛徽章:
7
荣誉会员
日期:2011-11-23 16:44:17水瓶座
日期:2013-08-28 21:20:16丑牛
日期:2013-10-02 21:01:462015年迎新春徽章
日期:2015-03-04 09:54:45操作系统版块每日发帖之星
日期:2016-06-05 06:20:0015-16赛季CBA联赛之吉林
日期:2016-06-20 08:24:0515-16赛季CBA联赛之四川
日期:2016-08-18 15:02:02
2 [报告]
发表于 2004-03-15 14:59 |只看该作者

装好了系统后怎么更改分区的大小啊?

# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c0t0d0 <ST340014A cyl 19156 alt 2 hd 16 sec 255>;
          /pci@1f,0/pci@1,1/ide@3/dad@0,0
Specify disk (enter its number): 0
selecting c0t0d0
[disk formatted, no defect list found]
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
        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
        !<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
        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
        !<cmd>; - execute <cmd>;, then return
        quit
partition>; 7
Part      Tag    Flag     Cylinders         Size            Blocks
  7 unassigned    wm   19125 - 19155       61.76MB    (31/0/0)      126480

Enter partition id tag[unassigned]:  
Enter partition permission flags[wm]:
Enter new starting cyl[19125]:
Enter partition size[126480b, 31c, 61.76mb, 0.06gb]: 31c
partition>; l
Ready to label disk, continue? y

partition>;q
format>;q
#

论坛徽章:
0
3 [报告]
发表于 2004-03-15 15:34 |只看该作者

装好了系统后怎么更改分区的大小啊?

如果你要是更改系统分区或择优数据分区,需要使用ufsdump备份,
修改完成以后重新恢复。

论坛徽章:
0
4 [报告]
发表于 2004-03-15 15:54 |只看该作者

装好了系统后怎么更改分区的大小啊?

在Enter partition id tag[unassigned]:
Enter partition permission flags[wm]:
Enter new starting cyl[19125]:
Enter partition size[126480b, 31c, 61.76mb, 0.06g]
partition>;l
这之后,怎么就没有reday。。。的了?

然后继续是partition>;。。。。

论坛徽章:
0
5 [报告]
发表于 2004-03-15 16:00 |只看该作者

装好了系统后怎么更改分区的大小啊?

在Enter partition id tag[unassigned]:
Enter partition permission flags[wm]:
Enter new starting cyl[19125]:
Enter partition size[126480b, 31c, 61.76mb, 0.06g]
partition>;l  这是输入L吧,然后说:cannot label disk while it has mounted partitions。
是不是不能更改了?

论坛徽章:
0
6 [报告]
发表于 2004-03-15 19:25 |只看该作者

装好了系统后怎么更改分区的大小啊?

记得保存哦。LABE下。要不就不保存啦

论坛徽章:
0
7 [报告]
发表于 2004-03-15 22:21 |只看该作者

装好了系统后怎么更改分区的大小啊?

你改的那个分区要umount下来才行
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP