免费注册 查看新帖 |

Chinaunix

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

[系统安装] fdisk分区问题 [复制链接]

论坛徽章:
1
操作系统版块每日发帖之星
日期:2016-04-24 06:20:00
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2016-10-12 11:37 |只看该作者 |倒序浏览
[root@localhost ~]# fdisk -l

Disk /dev/sda: 21.5 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000a2100

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          39      307200   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2              39        2093    16501760   83  Linux
/dev/sda3            2093        2610     4154841    5  Extended
/dev/sda5            2093        2106      106429+  83  Linux
/dev/sda6            2107        2120      112423+  83  Linux
/dev/sda7            2121        2134      112423+  83  Linux
/dev/sda8            2135        2148      112423+  83  Linux
/dev/sda9            2149        2162      112423+  83  Linux
/dev/sda10           2163        2424     2104483+  83  Linux

用fdisk创建了上面的分区,并已w,partprobe,然后,mdadm是提示mdadm: device /dev/sda5 not suitable for any style of array,然后查看/dev得到如下结果,没有sda5-10.

[root@localhost ~]# ls /dev|grep sda
sda
sda1
sda2
sda3

[root@localhost ~]# mkfs -t ext4 /dev/sda5
mke2fs 1.41.12 (17-May-2010)
Could not stat /dev/sda5 --- No such file or directory

The device apparently does not exist; did you specify it correctly?




咋回事呢?谢谢

论坛徽章:
1
操作系统版块每日发帖之星
日期:2016-04-24 06:20:00
2 [报告]
发表于 2016-10-13 11:34 |只看该作者
苦等ing。。。

论坛徽章:
1
CU十二周年纪念徽章
日期:2013-10-24 15:41:34
3 [报告]
发表于 2016-10-13 18:00 |只看该作者
你df -ih后,然后截图我看下。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP