Crear particiones de más de 2Tb en Centos

Usar GNU dividido para crear un GPT para un dispositivo> 2 TB
Cómo crear un dispositivo particionado en una VM de CentOS v5 para un sistema de archivos XFS de más de 2TB de tamaño

Al utilizar una tabla de partición de estilo MBR (registro de inicio maestro) no es posible tener una partición más grande que 2TB. Use GPT (Tabla de partición Guid) para superar esta limitación.

# parted /dev/xvdc

(parted) mklabel gpt
(parted) mkpart primary xfs 0 ­-0
(parted) quit
And create the XFS filesystem with a label of '/files'.

# mkfs.xfs -L /files /dev/xvdc1

Links
GNU parted
parted manual
mklabel command
mkpart command
GPT (wikipedia)
Waikato LUG
Appendices

GPT label, parted output (no filesystem)
Una vez que se creó el sistema de archivos, la columna 'Sistema de archivos' muestra XFS.

(parted) print

Model: Xen Virtual Block Device (xvd)
Disk /dev/xvdc: 3588GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags
1 17.4kB 3588GB 3588GB primary

MBR partition table fdisk output
Nota: la primera partición tiene un tamaño de 2TB.

# fdisk /dev/xvdc

Command (m for help): p

Disk /dev/xvdc: 3588.4 GB, 3588491313152 bytes
255 heads, 63 sectors/track, 436275 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/xvdc1 1 267349 2147480811 83 Linux
# parted /dev/xvdc
GNU Parted 1.8.1
Using /dev/xvdc
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print

Model: Xen Virtual Block Device (xvd)
Disk /dev/xvdc: 3588GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 32.3kB 2199GB 2199GB primary xfs

  • 0 Los Usuarios han Encontrado Esto Útil
¿Fue útil la respuesta?

Artículos Relacionados

Cambiar de puerto de escucha del servidor SSH [Video Tutotial]

http://clientes.smwebgroup.com/videos-tutoriales/6-cambiar-de-puerto-el-ssh/6-cambiar-de-puerto-e...

Instalación de chkrootkit

# Instalacion cd /usr/src wget ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz tar -zxvf...

Nagios Cambiar clave acceso Nagios Web

htpasswd -c /etc/nagios/htpasswd.users nagiosadmin

Monitoreo por nagios a través SMNP

Instalar sNMP #Para centos: yum -y install net-snmp net-snmp-utils net-snmp-libs #Para debian...

Instalar cron / crond

#Instalar cron tab yum install -y vixie-cron crontabs #Iniciar el crond service crond start...