09-21-2012
Quote:
Originally Posted by
fpmurphy
MBR partitions can be greater than 2Gb. GPT is required when your disk is greater than approx 2Tb and using 512 sector sizes.
Of course, it was a typo: I meant 2TB.
In MBR every partition is defined by its starting sector and its size in sectors. Both values are limited to 32 bits. So a partition max size, as well as its farthest possible starting point, is:
(2^32-1) x 512 = 2,199,023,255,040 bytes.
This means that you can use a MBR for two 1.5TB partitions in a 3TB disk, for instance. On the same disk you can't use MBR for a single 3TB partition, nor for four 750GB partitions, nor for two partitions of 0.5TB and 2.5TB ...
Today even disks having 4kB sectors show to the system virtual sectors of 512B. So the disk sector real size doesn't affect the 2TB limit.
--
Bye
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm confused. Originally I did
telinit 1
cp /dev/sda /dev/sdb
where sda is my boot disk and sdb is a USB disk. This probably copied my MBR.
Since /dev/sdb is 300GB and /dev/sda only 160GB I had a bunch of space left which I decided to experiment with by creating partitions of various... (1 Reply)
Discussion started by: siegfried
1 Replies
2. UNIX for Dummies Questions & Answers
Hi
Can anyone tell me how to delete GPT signatures in linux/unix.
Thanks
Tannu (3 Replies)
Discussion started by: tannu
3 Replies
3. Red Hat
hello community,
i have problems with my redhat enterprise linux 4 nanhant 6 and my easyraid x8s (8x1tb) extern fibre channel raid
extern raid configuration:
raid level 5 (8x1tb)
redhat system shows me four 2tb partitions and one 450gb partition from my raid :(
why?????
i have... (1 Reply)
Discussion started by: onkeldave
1 Replies
4. Boot Loaders
Hi,
short thing: I've done something I didn't know what happens; bad thing: I did it with my partition table. :D
My OS is Ubuntu 10.10. I've used GPT and now want to convert it to MBR with gdisk.
I started gdisk, chose 'r' for "transformation options" and chose 'g' to "convert GPT into MBR... (3 Replies)
Discussion started by: Blackbird
3 Replies
5. UNIX for Dummies Questions & Answers
hi
so i am a noob to linux but not computers in general and have decided i want to give linux a go. because i like to make things hard for myself and because someone told me i wouldnt be able to figure it out iv decided to try arch
so iinstalled it last night and it installed fine and i got... (0 Replies)
Discussion started by: Irish
0 Replies
6. Boot Loaders
trying to recover a lost partition table, where the signature (0x55AA) has been lost, though attempting to restore using a number of tools (fdisk, testdisk et al) the write fails.
also the os is unable to read the disk geometry correctly, after attempting to correct the geometry, the updated... (2 Replies)
Discussion started by: xaphan
2 Replies
7. Emergency UNIX and Linux Support
Need help/advice urgently.:wall:
I really shot myself in the foot this time. Here is the scenario
Have a Solaris server Solaris 10 x86 Update 8.
Installed an LSI MegaRaid 9280 raid controller and attached a 16 bay JBOD box to it, created a RAID6 virtual drive with 1 hot spare.
Created a... (2 Replies)
Discussion started by: ccj4467
2 Replies
8. Windows & DOS: Issues & Discussions
Hello,
My hard drive was formatted with GPT. It is part of a volume group and has two logical volumes on it. Is it possible to convert the drive to MBR? If so, how would I got about doing it? I know there are programs out there that do it, but I have volume groups with LVM's so I am wondering if... (1 Reply)
Discussion started by: mojoman
1 Replies
9. Red Hat
(Don't you hate being on holiday and being the only IT person in the family?)
Got a wonderful thanksgiving surprise .. dead windows-8 laptop with "important" unbacked-up data. No worries, I have my my fedora labtop and a magical SATA to USB converter. Plugged in the drive, and ... can't mount... (4 Replies)
Discussion started by: derekludwig
4 Replies
10. Emergency UNIX and Linux Support
rying it this way, because I can't handle the slices for the second hdd. If there is someone on this forum who can help me out of that misery, he would really save my digital life in this digital ocean.
So not giving up, reading several times the manual of gpart. But the best hint in all that... (0 Replies)
Discussion started by: 1in10
0 Replies
LEARN ABOUT OPENSOLARIS
partx
PARTX(8) System Administration PARTX(8)
NAME
partx - tell the kernel about the presence and numbering of on-disk partitions
SYNOPSIS
partx [-a|-d|-P|-r|-s|-u] [-t type] [-n M:N] [-] disk
partx [-a|-d|-P|-r|-s|-u] [-t type] partition [disk]
DESCRIPTION
Given a device or disk-image, partx tries to parse the partition table and list its contents. It can also tell the kernel to add or remove
partitions from its bookkeeping.
The disk argument is optional when a partition argument is provided. To force scanning a partition as if it were a whole disk (for example
to list nested subpartitions), use the argument "-" (hyphen-minus). For example:
partx --show - /dev/sda3
This will see sda3 as a whole-disk rather than as a partition.
partx is not an fdisk program - adding and removing partitions does not change the disk, it just tells the kernel about the presence and
numbering of on-disk partitions.
OPTIONS
-a, --add
Add the specified partitions, or read the disk and add all partitions.
-b, --bytes
Print the SIZE column in bytes rather than in human-readable format.
-d, --delete
Delete the specified partitions or all partitions.
-g, --noheadings
Do not print a header line with --show or --raw.
-l, --list
List the partitions. Note that all numbers are in 512-byte sectors. This output format is DEPRECATED in favour of --show. Do not
use it in newly written scripts.
-n, --nr M:N
Specify the range of partitions. For backward compatibility also the format M-N is supported. The range may contain negative num-
bers, for example --nr -1:-1 means the last partition, and --nr -2:-1 means the last two partitions. Supported range specifications
are:
M Specifies just one partition (e.g. --nr 3).
M: Specifies the lower limit only (e.g. --nr 2:).
:N Specifies the upper limit only (e.g. --nr :4).
M:N Specifies the lower and upper limits (e.g. --nr 2:4).
-o, --output list
Define the output columns to use for --show, --pairs and --raw output. If no output arrangement is specified, then a default set is
used. Use --help to get list of all supported columns. This option cannot be combined with the --add, --delete, --update or --list
options.
-P, --pairs
List the partitions using the KEY="value" format.
-r, --raw
List the partitions using the raw output format.
-s, --show
List the partitions. The output columns can be selected and rearranged with the --output option. All numbers (except SIZE) are in
512-byte sectors.
-t, --type type
Specify the partition table type.
--list-types
List supported partition types and exit.
-u, --update
Update the specified partitions.
-S, --sector-size size
Overwrite default sector size.
-v, --verbose
Verbose mode.
-V, --version
Display version information and exit.
-h, --help
Display help text and exit.
EXAMPLES
partx --show /dev/sdb3
partx --show --nr 3 /dev/sdb
partx --show /dev/sdb3 /dev/sdb
All three commands list partition 3 of /dev/sdb.
partx --show - /dev/sdb3
Lists all subpartitions on /dev/sdb3 (the device is used as whole-disk).
partx -o START -g --nr 5 /dev/sdb
Prints the start sector of partition 5 on /dev/sdb without header.
partx -o SECTORS,SIZE /dev/sda5 /dev/sda
Lists the length in sectors and human-readable size of partition 5 on /dev/sda.
partx --add --nr 3:5 /dev/sdd
Adds all available partitions from 3 to 5 (inclusive) on /dev/sdd.
partx -d --nr :-1 /dev/sdd
Removes the last partition on /dev/sdd.
SEE ALSO
addpart(8), delpart(8), fdisk(8), parted(8), partprobe(8)
AUTHORS
Davidlohr Bueso <dave@gnu.org>
Karel Zak <kzak@redhat.com>
The original version was written by Andries E. Brouwer <aeb@cwi.nl>.
ENVIRONMENT
LIBBLKID_DEBUG=all
enables libblkid debug output.
AVAILABILITY
The partx command is part of the util-linux package and is available from Linux Kernel Archive <https://www.kernel.org/pub/linux/utils
/util-linux/>.
util-linux December 2014 PARTX(8)