Chinaunix

标题: fdisk分区问题 [打印本页]

作者: calflyok    时间: 2016-10-12 11:37
标题: fdisk分区问题
[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?




咋回事呢?谢谢


作者: calflyok    时间: 2016-10-13 11:34
苦等ing。。。
作者: wlforyou1    时间: 2016-10-13 18:00
你df -ih后,然后截图我看下。




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2