Hi Friends,
I need Parted partition notes and video link as I have to create above 2 TB partition. --
Thanks,
Rajendra Patil
You received this message because you are subscribed to the Google Groups "Sadhiq Linux Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to sadhiq-linux-group+ To post to this group, send email to sadhiq-linux-group@ Visit this group at http://groups.google.com/ For more options, visit https://groups.google.com/d/ | |
Reply | Reply to all | Forward | Print | Delete | Show original |
Mahesh Dongare<maheshdongare1983@gmail.com> | Sun, Jan 4, 2015 at 10:09 PM |
Reply-To: sadhiq-linux-group@googlegroups.com | |
To: sadhiq-linux-group@googlegroups.com | |
Reply | Reply to all | Forward | Print | Delete | Show original
| |
hi rajendra use below for parted
******************************
How can I create a disk partition on a disk that is greater than 2TB in size on Red Hat Enterprise Linux?
Available Translations
•English
•???
Verified
This solution has been verified to work by Red Hat Customers and Support Engineers for the specified product version(s).
This solution is part of Red Hat's fast-track publication
program, providing a huge library of solutions that Red Hat engineers
have created while supporting our
customers. To give you the knowledge you need the instant
it becomes available, these articles may be presented in a raw and
unedited form.
0 Issue
•I'm trying to create a partition on my 5.4TB disk with fdisk and the partitions are not the correct size.
Environment
•
Red Hat Enterprise Linux including : ?Red Hat Enterprise Linux 3 ?Red Hat Enterprise Linux 4 ?Red Hat Enterprise Linux 5 ?Red Hat Enterprise Linux 6
•
Disk or LUN exceeding 2TB in size
,Resolution
The parted tool supports GPT disk labels which can be used on disks larger than 2TB.
The example below demonstrates how to create a 5.4TB partition:
1. Use the parted tool to access the partition table of the device: # parted /dev/sdj Using /dev/sdj Welcome to GNU Parted! Type 'help' to view a list of commands. (parted)
2.
Once at the parted prompt, create a GPT label on the disk (Note: This will remove any existing partition table and partitions on the device): (parted) mklabel Warning: The existing disk label on /dev/sdj will be destroyed and all data on this disk will be lost. Do you want to continue? Yes/No? Yes New disk label type? [gpt]? gpt (parted)
3.
Use the print command to show the size of the disk as reported by parted. We need this later: (parted) print
Model: Linux device-mapper (dm)
Disk /dev/sdj: 5662310.4MB Sector size (logical/physical): 512B/512B Partition Table: gpt
Number Start End Size File system Name Flags
4.
Create a primary partition on the device. In this example, the partition will encompass the entire disk (using size from the step above): (parted) mkpart primary 0 5662310.4MB
5.
Unlike fdisk, you do not have to write out the partition table changes with parted. Display your new partition and quit. (parted) print
Model: Linux device-mapper (dm)
Disk /dev/mapper/VolGroup00- Sector size (logical/physical): 512B/512B Partition Table: gpt
Number Start End Size File system Name Flags
1 17.4kB 5662310.4MB 5662310.4MB primary
(parted) quit
Information: Don't forget to update /etc/fstab, if necessary.
6.
Now you can create a filesystem on the device /dev/sdj1.
Root Cause
•The fdisk command only supports the legacy MBR partition
table format (also known as msdos partition table) ?MBR partition table
do not support disks greater than
2.1TB, and therefore fdisk is also unable to create partition tables on these devices.
?Note that some older versions of fdisk may permit a larger size to be created but the resulting partition table will be invalid.
•The parted command can create disk labels using MBR
(msdos), GUID Partition Table (GPT), SUN disk labels and many more
types. ?The GPT disk label overcomes many of
the limitations of the DOS MBR including restrictions on
the size of the disk, the size of any one partition and the overall
number of partitions.
?Note that booting from a GPT labelled volume requires firmware support and this is not commonly available on non-EFI platforms (including x86 and x86_64 |
No comments:
Post a Comment