parted /dev/sdb
(parted) print
Model: AMCC 9550SXU-12 DISK (scsi)
Disk /dev/sdb: 2880GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 17.4kB 750GB 750GB ext3 ext4
2 750GB 1500GB 750GB ext3
(parted) rm 2
(parted) rm 1
(parted) print
Model: AMCC 9550SXU-12 DISK (scsi)
Disk /dev/sdb: 2880GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
(parted) mkpart files2
File system type? [ext2]? ext4
parted: invalid token: ext4
File system type? [ext2]? ext3
Start? 0
End? 1000GB
(parted) mkpart files
File system type? [ext2]? ext3
Start? 1000GB
End? 1750GB
(parted) mkpart vz1
File system type? [ext2]? ext3
Start? 1750GB
End? 2250GB
(parted) mkpart vz2
File system type? [ext2]? ext3
Start? 2250GB
End? 2880GB
(parted) print
Model: AMCC 9550SXU-12 DISK (scsi)
Disk /dev/sdb: 2880GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 17.4kB 1000GB 1000GB ext3 files2
2 1000GB 1750GB 750GB files
3 1750GB 2250GB 500GB vz1
4 2250GB 2880GB 630GB vz2
(parted) quit
Information: You may need to update /etc/fstab.