Differences between revisions 1 and 2
Revision 1 as of 2006-10-27 16:51:42
Size: 4087
Comment:
Revision 2 as of 2008-10-30 11:40:15
Size: 4087
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:
 * Sie müssen mit einem GPT[[FootNote(aus Wikipedia: "GUID Partition Table (GPT) is a standard for the layout of the partition table on a physical hard disk. It is a part of the Extensible Firmware Interface (EFI) standard proposed by Intel as a replacement for the outdated PC BIOS, one of the few remaining relics of the original IBM PC.")]] Disklabel versehen werden, eine MSDOS-paritionstabelle geht nicht  * Sie müssen mit einem GPT<<FootNote(aus Wikipedia: "GUID Partition Table (GPT) is a standard for the layout of the partition table on a physical hard disk. It is a part of the Extensible Firmware Interface (EFI) standard proposed by Intel as a replacement for the outdated PC BIOS, one of the few remaining relics of the original IBM PC.")>> Disklabel versehen werden, eine MSDOS-paritionstabelle geht nicht

Block Devices > 2 TB sind auch mit 64bit SL4 noch immer nicht ganz normal zu verwenden.

Es gelten folgende Einschränkungen:

  • GRUB kann nur von Devices bis 2 TB booten
  • Sie müssen mit einem GPT1 Disklabel versehen werden, eine MSDOS-paritionstabelle geht nicht

    • das ist auch der Grund für die Einschränkung bei GRUB
    • aus Wikipedia: "GUID Partition Table (GPT) is a standard for the layout of the partition table on a physical hard disk. It is a part of the Extensible Firmware Interface (EFI) standard proposed by Intel as a replacement for the outdated PC BIOS, one of the few remaining relics of the original IBM PC."
  • Ein GPT Disklabel läßt sich nur mit parted anlegen, nicht mit fdisk, anaconda, ...

Beispiel:

# cat /proc/partitions 
major minor  #blocks  name

   8     0   40960000 sda
   8     1      32752 sda1
   8     2     262144 sda2
   8     3   40665088 sda3
   8    16 2398289920 sdb
   8    17 2398289886 sdb1
   8    32 3414949888 sdc
   8    48 2927099904 sdd
 253     0   10485760 dm-0
 253     1   10485760 dm-1
 253     2    1048576 dm-2
 253     3    2097152 dm-3

Hier wurde ein RAID5-Array aus 5 x 600 GB auf Controller-Ebene in zwei Virtual Disks aufgeteilt:

  • eine von 40 GB Größe (hier: sda) für das Betriebssystem
  • und eine mit dem restlichen Platz (> 2 TB, hier: sdb) für Daten

Letztere hat hier schon ein GPT-Label und eine einzige primäre Partition erhalten. Um das gleiche mit sdc zu tun (ein 8x500GB RAID5-Array):

# parted /dev/sdc
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/sdc
(parted) p                                                                
Disk geometry for /dev/sdc: 0.000-3334912.000 megabytes
Disk label type: msdos
Minor    Start       End     Type      Filesystem  Flags
(parted) mklabel gpt                                                      
(parted) p                                                                
Disk geometry for /dev/sdc: 0.000-3334912.000 megabytes
Disk label type: gpt
Minor    Start       End     Filesystem  Name                  Flags
(parted) mkpart primary xfs 0 -0                                          
(parted) p                                                                
Disk geometry for /dev/sdc: 0.000-3334912.000 megabytes
Disk label type: gpt
Minor    Start       End     Filesystem  Name                  Flags
1          0.017 3334911.983                                    
(parted) quit                                                             
Information: Don't forget to update /etc/fstab, if necessary.

#
  • mklabel gpt legt dabei die leere Partitionstabelle an

  • mkpart primary xfs 0 -0 erzeugt eine einzelne primäre Partition

    • vom Anfang (0) bis zum Ende (-0) des verfügbaren Bereichs

    • wir teilen auch mit daß wir ein xfs Dateisystem anlegen werden (ist das wichtig?)

Ergebnis:

# cat /proc/partitions 
major minor  #blocks  name

   8     0   40960000 sda
   8     1      32752 sda1
   8     2     262144 sda2
   8     3   40665088 sda3
   8    16 2398289920 sdb
   8    17 2398289886 sdb1
   8    32 3414949888 sdc
   8    33 3414949854 sdc1
   8    48 2927099904 sdd
 253     0   10485760 dm-0
 253     1   10485760 dm-1
 253     2    1048576 dm-2
 253     3    2097152 dm-3


  1. aus Wikipedia: "GUID Partition Table (GPT) is a standard for the layout of the partition table on a physical hard disk. It is a part of the Extensible Firmware Interface (EFI) standard proposed by Intel as a replacement for the outdated PC BIOS, one of the few remaining relics of the original IBM PC." (1)

Procedures/Devices_ueber_2_TB (last edited 2008-10-30 11:40:15 by localhost)