shell># fdisk -l
Disk /dev/sdc: 6000.8 GB, 6000834772992 bytes 255 heads, 63 sectors/track, 729559 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes shell># parted /dev/sdc GNU Parted 1.8.1 Using /dev/sdc Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) mklabel gpt (parted) mkpart Partition name? []? 6T File system type? [ext2]? ext3 Start? 0 End? -1 (parted) quit
shell># fdisk -l /dev/sdc
WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The util fdisk doesn't support GPT. Use GNU Parted. WARNING: The size of this disk is 6.0 TB (6000834772992 bytes). DOS partition table format can not be used on drives for volumes larger than 2.2 TB (2199023255040 bytes). Use parted(1) and GUID partition table format (GPT). Disk /dev/sdc: 6000.8 GB, 6000834772992 bytes 255 heads, 63 sectors/track, 729559 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdc1 1 267350 2147483647+ ee EFI GPT
shell>#mkfs.ext3 /dev/sdc1
shell>#mount /dev/sdc1 /raid
shell>#df -h
Filesystem Size Used Avail Use% Mounted on /dev/md0 9.5G 964M 8.1G 11% / /dev/md1 64G 180M 61G 1% /volume tmpfs 1014M 0 1014M 0% /dev/shm /dev/sdc1 5.4T 1.7G 5.1T 1% /raid
沒有留言:
張貼留言