Redhat Linux 7.2
在fdisk分出来新分区之后,不能mkfs.
[root@database root]# fdisk /dev/sda
The number of cylinders for this disk is set to 26724.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): p
Disk /dev/sda: 255 heads, 63 sectors, 26724 cylinders
Units = cylinders of 16065 * 512 bytes
___Device_Boot____Start_______End____Blocks___Id__System
/dev/sda1___*_________1_______892___7164958+__83__Linux
/dev/sda2___________893______1657___6144862+__83__Linux
/dev/sda3__________1658______2294___5116702+__83__Linux
/dev/sda4__________2295_____26724_196233975____f__Win95_Ext'd_(LBA)
/dev/sda5__________2295______2740___3582463+__83__Linux
/dev/sda6__________2741______3059___2562336___83__Linux
/dev/sda7__________3060______3320___2096451___82__Linux_swap
/dev/sda8__________3321______4595__10241406___83__Linux
/dev/sda9__________4596_____10970__51207156___83__Linux
/dev/sda10________10971_____13520__20482843+__83__Linux
/dev/sda11________13521_____21169__61440561___83__Linux
/dev/sda12________21170_____26724__44620506___83__Linux
Command (m for help): q
[root@database root]# mkfs -t ext2 /dev/sda11
mke2fs 1.23, 15-Aug-2001 for EXT2 FS 0.5b, 95/08/09
mkfs.ext2: No such device or address while trying to determine filesystem size
经过反复测试,发现只要是一个逻辑盘(raid),是同时分出来的分区(比如fdisk一下子分区了4个),就能够mkfs
如果是fdisk先分区了两个,前面两个可以mkfs。
再运行fdisk,再分出两个分区来,就不可以了。报告上面的错误。
奇怪。
|