- 论坛徽章:
- 0
|
按照本站中一篇文章进行增加硬盘,可是在格式化后显示的文件system和原来系统中硬盘分区的system不同,不知道是怎么回事?
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 204 1534207+ 82 Linux swap / Solaris
/dev/sda3 205 4028 30716280 83 Linux
/dev/sda4 4029 17849 111017182+ 5 Extended
/dev/sda5 4029 17849 111017151 83 Linux
Disk /dev/sdb: 300.0 GB, 300000000000 bytes
255 heads, 63 sectors/track, 36472 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 36472 292961308+ 42 SFS
提示:sda是原系统中的硬盘,sdb是后来新增加的硬盘最后一项system是不相同的,后增加的为sfs,这正确吗?
分区过程如下:
[root@localhost ~]# fdisk /dev/sdb1
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.
The number of cylinders for this disk is set to 36471.
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)
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
Command (m for help): n
Command action
e extended
p primary partition (1-4)
e
Partition number (1-4): 1
First cylinder (1-36471, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-36471, default 36471):
Using default value 36471
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
WARNING: Re-reading the partition table failed with error 22: Invalid argument.
The kernel still uses the old table.
The new table will be used at the next reboot.
Syncing disks.
格式化命令:mkfs.ext3 /dev/sdb1
对linux不是很熟悉,各位兄弟帮忙see see ~~不胜感谢! |
|