linux 大分割槽的支援

moumouyu發表於2010-11-29

mov]# parted /dev/sdf
GNU Parted 1.6.19
Copyright (C) 1998 - 2004 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.

Using /dev/sdf
(parted) mklabel gpt
(parted) mkpart primary 0 -1
(parted) print
Disk geometry for /dev/sdf: 0.000-5717278.000 megabytes
Disk label type: gpt
Minor Start End Filesystem Name Flags
1 0.017 5717277.000
(parted) quit
Information: Don't forget to update /etc/fstab, if necessary.

[root@ftpserver mov]# partprobe
[root@ftpserver mov]#
[root@ftpserver mov]#
[root@ftpserver mov]# fdisk -l

Disk /dev/sda: 146.6 GB, 146685296640 bytes
255 heads, 63 sectors/track, 17833 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 64 514048+ 83 Linux
/dev/sda2 65 2614 20482875 83 Linux
/dev/sda3 2615 3124 4096575 82 Linux swap
/dev/sda4 3125 17833 118150042+ 5 Extended
/dev/sda5 3125 17833 118150011 83 Linux

Disk /dev/sdb: 794.0 GB, 794000130048 bytes
255 heads, 63 sectors/track, 96531 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 1 96531 775385226 83 Linux

Disk /dev/sdc: 995.0 GB, 995000320000 bytes
255 heads, 63 sectors/track, 120968 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdc1 1 120968 971675428+ 83 Linux

Disk /dev/sdd: 1000.0 GB, 1000000323584 bytes
255 heads, 63 sectors/track, 121576 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdd1 1 121576 976559188+ 83 Linux

Disk /dev/sde: 1000.0 GB, 1000000323584 bytes
255 heads, 63 sectors/track, 121576 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sde1 1 121576 976559188+ 83 Linux

WARNING: GPT (GUID Partition Table) detected on '/dev/sdf'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdf: 5995.0 GB, 5995000496128 bytes
255 heads, 63 sectors/track, 728850 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdf1 1 267350 2147483647+ ee EFI GPT
[root@ftpserver mov]# mkfs.exts -F /dev/sdf1
-bash: mkfs.exts: command not found
[root@ftpserver mov]# mkfs.ext3 -F /dev/sdf1
mke2fs 1.35 (28-Feb-2004)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
731824128 inodes, 1463622907 blocks
30231472 blocks (2.07%) reserved for the super user
First data block=0
Maximum filesystem blocks=4294967296
44667 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
102400000, 214990848, 512000000, 550731776, 644972544

Writing inode tables: done
Creating journal (8192 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.
[root@ftpserver mov]#
[root@ftpserver mov]#
[root@ftpserver mov]# df -h

[@more@]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/8432937/viewspace-1042301/,如需轉載,請註明出處,否則將追究法律責任。

相關文章