suselinux:~ # fdisk -l Disk /dev/sda: 85.8 GB, 85899345920 bytes 255 heads, 63 sectors/track, 10443 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 1 2350 18876343+ 83 Linux /dev/sda2 * 2351 2546 1574370 83 Linux /dev/sda3 2547 2610 514080 82 Linux swap / Solaris Disk /dev/sdb: 21.4 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdb1 1 2610 20964793+ 83 Linux suselinux:~ # fdisk /dev/sda The number of cylinders for this disk is set to 10443. 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): n Command action e extended p primary partition (1-4) p Selected partition 4 First cylinder (2611-10443, default 2611): Using default value 2611 Last cylinder or +size or +sizeM or +sizeK (2611-10443, default 10443): Using default value 10443 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 16: Device or resource busy. The kernel still uses the old table. The new table will be used at the next reboot. Syncing disks. suselinux:~ # mkfs.ext3 /dev/sda4 mke2fs 1.38 (30-Jun-2005) Could not stat /dev/sda4 --- No such file or directory The device apparently does not exist; did you specify it correctly? suselinux:~ # df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 18G 4.7G 13G 28% / udev 211M 104K 211M 1% /dev /dev/sda2 1.5G 39M 1.4G 3% /boot /dev/sdb1 20G 129M 19G 1% /data suselinux:~ # partprobe suselinux:~ # mkfs.ext3 /dev/sda4 mke2fs 1.38 (30-Jun-2005) Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) 7865312 inodes, 15729643 blocks 786482 blocks (5.00%) reserved for the super user First data block=0 481 block groups 32768 blocks per group, 32768 fragments per group 16352 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000, 7962624, 11239424 Writing inode tables: done Creating journal (32768 blocks): done Writing superblocks and filesystem accounting information: done This filesystem will be automatically checked every 25 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. suselinux:~ # mount /dev/sda4 / suselinux:~ # df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 18G 4.7G 13G 28% / udev 211M 108K 211M 1% /dev /dev/sda2 1.5G 39M 1.4G 3% /boot /dev/sdb1 20G 129M 19G 1% /data suselinux:~ #
http://hardy136.blog.163.com/blog/static/1378810922010101385735942/
http://blog.csdn.net/microad_liy/article/details/7667670
http://down.tech.sina.com.cn/page/37459.html