0% found this document useful (0 votes)
44 views17 pages

Particiones Centos

Uploaded by

karengalaviz409
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views17 pages

Particiones Centos

Uploaded by

karengalaviz409
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 17

[root@localhost ~]# fdisk /dev/sdb

fdisk: no se puede abrir /dev/sdb: No existe el fichero o el directorio

[root@localhost ~]# fdisk /dev/sda

Welcome to fdisk (util-linux 2.23.2).

Changes will remain in memory only, until you decide to write them.

Be careful before using the write command.

Orden (m para obtener ayuda): p

Disk /dev/sda: 161.1 GB, 161061273600 bytes, 314572800 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk labeltype: dos

Identificador del disco: 0x000a57fd

Disposit. Inicio Comienzo Fin Bloques Id Sistema

/dev/sda1 * 2048 2099199 1048576 83 Linux

/dev/sda2 2099200 230686719 114293760 8e Linux LVM

Orden (m para obtener ayuda): n

Partition type:

p primary (2 primary, 0 extended, 2 free)

e extended

Select (default p): p

Número de partición (3,4, default 3):

Primer sector (230686720-314572799, valor predeterminado 230686720):


Se está utilizando el valor predeterminado 230686720

Last sector, +sectors or +size{K,M,G} (230686720-314572799, valor predetermina 314572799):

Se está utilizando el valor predeterminado 314572799

Partition 3 of type Linux and of size 40 GiB is set

Orden (m para obtener ayuda): t

Número de partición (1-3, default 3):

Hexcode (type L tolistallcodes): L

0 Vacía 24 NEC DOS 81 Minix / old Lin bf Solaris

1 FAT12 27 Hidden NTFS Win 82 Linux swap / So c1 DRDOS/sec (FAT

2 XENIX root 39 Plan 9 83 Linux c4 DRDOS/sec (FAT

3 XENIXusr 3c PartitionMagic 84 Unidad C: ocult c6 DRDOS/sec (FAT

4 FAT16 <32M 40 Venix 80286 85 Linux extendida c7 Syrinx

5 Extendida 41 PPC PRePBoot 86 Conjunto de vol da Datos sin SF

6 FAT16 42 SFS 87 Conjunto de voldb CP/M / CTOS /

7 HPFS/NTFS/exFAT 4d QNX4.x 88 Linux plaintext de Utilidad Dell

8 AIX 4e QNX4.x segunda 8e Linux LVM dfBootIt

9 AIXbootable 4f QNX4.x tercera 93 Amoeba e1 DOS access

a OS/2 BootManag 50 OnTrack DM 94 Amoeba BBT e3 DOS R/O

b W95 FAT32 51 OnTrack DM6 Aux 9f BSD/OS e4 SpeedStor

c W95 FAT32 (LBA) 52 CP/M a0 Hibernación de eb BeOS fs

e W95 FAT16 (LBA) 53 OnTrack DM6 Aux a5 FreeBSD ee GPT

f W95 Ext'd (LBA) 54 OnTrackDM6 a6 OpenBSD ef EFI (FAT-12/16

10 OPUS 55 EZ-Drive a7 NeXTSTEP f0 inicio Linux/P

11 FAT12 oculta 56 Golden Bow a8 UFS de Darwin f1 SpeedStor

12 Compaq diagnost 5c Priam Edisk a9 NetBSD f4 SpeedStor

14 FAT16 oculta <3 61 SpeedStor ab arranque de Dar f2 DOS secondary

16 FAT16 oculta 63 GNU HURD o SysVaf HFS / HFS+ fb VMFS de VMware


17 HPFS/NTFS ocult 64 Novell Netware b7 BSDI fs fc VMKCORE de VMw

18 SmartSleep de A 65 Novell Netware b8 BSDI swap fd Linux raid aut

1b Hidden W95 FAT3 70 DiskSecure Mult bb Boot Wizard hid fe LANstep

1c Hidden W95 FAT3 75 PC/IX be arranque de Sol ff BBT

1e Hidden W95 FAT1 80 Old Minix

Hex code (type L to list all codes): 8e

Changed type of partition 'Linux' to 'Linux LVM'

Orden (m para obtener ayuda): w

¡Se ha modificado la tabla de particiones!

Llamando a ioctl() para volver a leer la tabla de particiones.

WARNING: Re-reading the partition table failed with error 16: Dispositivo o rerso ocupado.

The kernel still uses the old table. The new table will be used at

the next reboot or after you run partprobe(8) or kpartx(8)

Se están sincronizando los discos.

[root@localhost ~]# init 6

login as: root

root@192.168.1.94's password:

Last login: Tue Mar 19 02:12:04 2024 from 192.168.1.81

[root@localhost ~]# fd

fdformat fdisk

[root@localhost ~]# fdisk -l

Disk /dev/sda: 161.1 GB, 161061273600 bytes, 314572800 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk labeltype: dos

Identificador del disco: 0x000a57fd

Disposit. Inicio Comienzo Fin Bloques Id Sistema

/dev/sda1 * 2048 2099199 1048576 83 Linux

/dev/sda2 2099200 230686719 114293760 8e Linux LVM

/dev/sda3 230686720 314572799 41943040 8e Linux LVM

Disk /dev/mapper/centos-root: 5368 MB, 5368709120 bytes, 10485760 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mapper/centos-swap: 4160 MB, 4160749568 bytes, 8126464 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mapper/centos-home: 107.5 GB, 107500011520 bytes, 209960960 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

[root@localhost ~]# lsblk

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT

sda 8:0 0 150G 0 disk

├─sda1 8:1 0 1G 0 part /boot


├─sda2 8:2 0 109G 0 part

│ ├─centos-root 253:0 0 5G 0 lvm /

│ ├─centos-swap 253:1 0 3.9G 0 lvm [SWAP]

│ └─centos-home 253:2 0 100.1G 0 lvm /home

└─sda3 8:3 0 40G 0 part

sr0 11:0 1 1024M 0 rom

[root@localhost ~]# pvcreate /dev/sda3

Physical volume "/dev/sda3" successfully created.

[root@localhost ~]# vgextend centos /dev/sda3

Volume group "centos" successfully extended

[root@localhost ~]# vgdisplay centos | grep "Free"

Free PE / Size 10240 / 40.00 GiB

[root@localhost ~]# lvextend -l+100%FREE /dev/centos/root

Size of logical volume centos/root changed from 5.00 GiB (1280 extents) to 400 GiB (11520
extents).

Logical volume centos/root successfully resized.

[root@localhost ~]# df -h

S.ficheros Tamaño Usados Disp Uso% Montado en

devtmpfs 1.9G 0 1.9G 0% /dev

tmpfs 1.9G 0 1.9G 0% /dev/shm

tmpfs 1.9G 9.5M 1.9G 1% /run

tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup

/dev/mapper/centos-root 5.0G 3.9G 1.2G 77% /

/dev/mapper/centos-home 101G 37M 101G 1% /home

/dev/sda1 1014M 185M 830M 19% /boot

tmpfs 379M 12K 379M 1% /run/user/42

tmpfs 379M 0 379M 0% /run/user/0

[root@localhost ~]# xfs_i

xfs_info xfs_io
[root@localhost ~]# xfs_info /dev/mapper/centos-root

meta-data=/dev/mapper/centos-root isize=512 agcount=4, agsize=327680 blks

= sectsz=512 attr=2, projid32bit=1

= crc=1 finobt=0 spinodes=0

data = bsize=4096 blocks=1310720, imaxpct=25

= sunit=0 swidth=0 blks

naming =version 2 bsize=4096 ascii-ci=0 ftype=1

log =internal bsize=4096 blocks=2560, version=2

= sectsz=512 sunit=0 blks, lazy-count=1

realtime =none extsz=4096 blocks=0, rtextents=0

[root@localhost ~]# xfs_growfs /dev/mapper/centos-root -D 1310720

meta-data=/dev/mapper/centos-root isize=512 agcount=4, agsize=327680 blks

= sectsz=512 attr=2, projid32bit=1

= crc=1 finobt=0 spinodes=0

data = bsize=4096 blocks=1310720, imaxpct=25

= sunit=0 swidth=0 blks

naming =version 2 bsize=4096 ascii-ci=0 ftype=1

log =internal bsize=4096 blocks=2560, version=2

= sectsz=512 sunit=0 blks, lazy-count=1

realtime =none extsz=4096 blocks=0, rtextents=0

data size unchanged, skipping

[root@localhost ~]# xfs_growfs /dev/mapper/centos-root

meta-data=/dev/mapper/centos-root isize=512 agcount=4, agsize=327680 blks

= sectsz=512 attr=2, projid32bit=1

= crc=1 finobt=0 spinodes=0

data = bsize=4096 blocks=1310720, imaxpct=25

= sunit=0 swidth=0 blks

naming =version 2 bsize=4096 ascii-ci=0 ftype=1

log =internal bsize=4096 blocks=2560, version=2


= sectsz=512 sunit=0 blks, lazy-count=1

realtime =none extsz=4096 blocks=0, rtextents=0

data blocks changed from 1310720 to 11796480

[root@localhost ~]# df -h

S.ficheros Tamaño Usados Disp Uso% Montado en

devtmpfs 1.9G 0 1.9G 0% /dev

tmpfs 1.9G 0 1.9G 0% /dev/shm

tmpfs 1.9G 9.5M 1.9G 1% /run

tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup

/dev/mapper/centos-root 45G 3.9G 42G 9% /

/dev/mapper/centos-home 101G 37M 101G 1% /home

/dev/sda1 1014M 185M 830M 19% /boot

tmpfs 379M 12K 379M 1% /run/user/42

tmpfs 379M 0 379M 0% /run/user/0

[root@localhost ~]# df .hT

df: «.hT»: No existe el fichero o el directorio

[root@localhost ~]# df -hT

S.ficheros Tipo Tamaño Usados Disp Uso% Montado en

devtmpfsdevtmpfs 1.9G 0 1.9G 0% /dev

tmpfstmpfs 1.9G 0 1.9G 0% /dev/shm

tmpfs tmpfs 1.9G 9.5M 1.9G 1% /run

tmpfs tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup

/dev/mapper/centos-root xfs 45G 3.9G 42G 9% /

/dev/mapper/centos-home xfs 101G 37M 101G 1% /home

/dev/sda1 xfs 1014M 185M 830M 19% /boot

tmpfs tmpfs 379M 12K 379M 1% /run/user/42

tmpfs tmpfs 379M 0 379M 0% /run/user/0

[root@localhost ~]# fdisk -l


Disk /dev/sda: 161.1 GB, 161061273600 bytes, 314572800 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk labeltype: dos

Identificador del disco: 0x000a57fd

Disposit. Inicio Comienzo Fin Bloques Id Sistema

/dev/sda1 * 2048 2099199 1048576 83 Linux

/dev/sda2 2099200 230686719 114293760 8e Linux LVM

/dev/sda3 230686720 314572799 41943040 8e Linux LVM

Disk /dev/mapper/centos-root: 48.3 GB, 48318382080 bytes, 94371840 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mapper/centos-swap: 4160 MB, 4160749568 bytes, 8126464 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mapper/centos-home: 107.5 GB, 107500011520 bytes, 209960960 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes


[root@localhost ~]# lsblk

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT

sda 8:0 0 150G 0 disk

├─sda1 8:1 0 1G 0 part /boot

├─sda2 8:2 0 109G 0 part

│ ├─centos-root 253:0 0 45G 0 lvm /

│ ├─centos-swap 253:1 0 3.9G 0 lvm [SWAP]

│ └─centos-home 253:2 0 100.1G 0 lvm /home

└─sda3 8:3 0 40G 0 part

└─centos-root 253:0 0 45G 0 lvm /

sr0 11:0 1 1024M 0 rom

[root@localhost ~]# init 6

login as: root

root@192.168.1.94's password:

Last login: Tue Mar 19 02:17:10 2024 from 192.168.1.81

[root@localhost ~]# lsblk

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT

sda 8:0 0 190G 0 disk

├─sda1 8:1 0 1G 0 part /boot

├─sda2 8:2 0 109G 0 part

│ ├─centos-root 253:0 0 45G 0 lvm /

│ ├─centos-swap 253:1 0 3.9G 0 lvm [SWAP]

│ └─centos-home 253:2 0 100.1G 0 lvm /home

└─sda3 8:3 0 40G 0 part

└─centos-root 253:0 0 45G 0 lvm /

sr0 11:0 1 1024M 0 rom

[root@localhost ~]# df -h

S.ficheros Tamaño Usados Disp Uso% Montado en

devtmpfs 1.9G 0 1.9G 0% /dev


tmpfs 1.9G 0 1.9G 0% /dev/shm

tmpfs 1.9G 9.6M 1.9G 1% /run

tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup

/dev/mapper/centos-root 45G 3.9G 42G 9% /

/dev/mapper/centos-home 101G 37M 101G 1% /home

/dev/sda1 1014M 185M 830M 19% /boot

tmpfs 379M 8.0K 379M 1% /run/user/42

tmpfs 379M 0 379M 0% /run/user/0

[root@localhost ~]# fdisk /dev/sda

Welcome to fdisk (util-linux 2.23.2).

Changes will remain in memory only, until you decide to write them.

Be careful before using the write command.

Orden (m para obtener ayuda): p

Disk /dev/sda: 204.0 GB, 204010946560 bytes, 398458880 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk labeltype: dos

Identificador del disco: 0x000a57fd

Disposit. Inicio Comienzo Fin Bloques Id Sistema

/dev/sda1 * 2048 2099199 1048576 83 Linux

/dev/sda2 2099200 230686719 114293760 8e Linux LVM

/dev/sda3 230686720 314572799 41943040 8e Linux LVM


Orden (m para obtener ayuda): n

Partition type:

p primary (3 primary, 0 extended, 1 free)

e extended

Select (default e): p

Selected partition 4

Primer sector (314572800-398458879, valor predeterminado 314572800):

Se está utilizando el valor predeterminado 314572800

Last sector, +sectors or +size{K,M,G} (314572800-398458879, valor predetermina 398458879):

Se está utilizando el valor predeterminado 398458879

Partition 4 of type Linux and of size 40 GiB is set

Orden (m para obtener ayuda): t

Número de partición (1-4, default 4):

Hexcode (type L tolistallcodes): L

0 Vacía 24 NEC DOS 81 Minix / old Lin bf Solaris

1 FAT12 27 Hidden NTFS Win 82 Linux swap / So c1 DRDOS/sec (FAT

2 XENIX root 39 Plan 9 83 Linux c4 DRDOS/sec (FAT

3 XENIXusr 3c PartitionMagic 84 Unidad C: ocult c6 DRDOS/sec (FAT

4 FAT16 <32M 40 Venix 80286 85 Linux extendida c7 Syrinx

5 Extendida 41 PPC PRePBoot 86 Conjunto de vol da Datos sin SF

6 FAT16 42 SFS 87 Conjunto de voldb CP/M / CTOS /

7 HPFS/NTFS/exFAT 4d QNX4.x 88 Linux plaintext de Utilidad Dell

8 AIX 4e QNX4.x segunda 8e Linux LVM dfBootIt

9 AIXbootable 4f QNX4.x tercera 93 Amoeba e1 DOS access

a OS/2 BootManag 50 OnTrack DM 94 Amoeba BBT e3 DOS R/O

b W95 FAT32 51 OnTrack DM6 Aux 9f BSD/OS e4 SpeedStor

c W95 FAT32 (LBA) 52 CP/M a0 Hibernación de eb BeOS fs


e W95 FAT16 (LBA) 53 OnTrack DM6 Aux a5 FreeBSD ee GPT

f W95 Ext'd (LBA) 54 OnTrackDM6 a6 OpenBSD ef EFI (FAT-12/16

10 OPUS 55 EZ-Drive a7 NeXTSTEP f0 inicio Linux/P

11 FAT12 oculta 56 Golden Bow a8 UFS de Darwin f1 SpeedStor

12 Compaq diagnost 5c Priam Edisk a9 NetBSD f4 SpeedStor

14 FAT16 oculta <3 61 SpeedStor ab arranque de Dar f2 DOS secondary

16 FAT16 oculta 63 GNU HURD o SysVaf HFS / HFS+ fb VMFS de VMware

17 HPFS/NTFS ocult 64 Novell Netware b7 BSDI fs fc VMKCORE de VMw

18 SmartSleep de A 65 Novell Netware b8 BSDI swap fd Linux raid aut

1b Hidden W95 FAT3 70 DiskSecure Mult bb Boot Wizard hid fe LANstep

1c Hidden W95 FAT3 75 PC/IX be arranque de Sol ff BBT

1e Hidden W95 FAT1 80 Old Minix

Hex code (type L to list all codes): 8e

Changed type of partition 'Linux' to 'Linux LVM'

Orden (m para obtener ayuda): w

¡Se ha modificado la tabla de particiones!

Llamando a ioctl() para volver a leer la tabla de particiones.

WARNING: Re-reading the partition table failed with error 16: Dispositivo o rerso ocupado.

The kernel still uses the old table. The new table will be used at

the next reboot or after you run partprobe(8) or kpartx(8)

Se están sincronizando los discos.

[root@localhost ~]# init 6

login as: root

root@192.168.1.94's password:

Last login: Tue Mar 19 02:32:33 2024 from 192.168.1.81

[root@localhost ~]# df -h
S.ficheros Tamaño Usados Disp Uso% Montado en

devtmpfs 1.9G 0 1.9G 0% /dev

tmpfs 1.9G 0 1.9G 0% /dev/shm

tmpfs 1.9G 9.6M 1.9G 1% /run

tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup

/dev/mapper/centos-root 45G 3.9G 42G 9% /

/dev/mapper/centos-home 101G 37M 101G 1% /home

/dev/sda1 1014M 185M 830M 19% /boot

tmpfs 379M 8.0K 379M 1% /run/user/42

tmpfs 379M 0 379M 0% /run/user/0

[root@localhost ~]# lsblk

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT

sda 8:0 0 190G 0 disk

├─sda1 8:1 0 1G 0 part /boot

├─sda2 8:2 0 109G 0 part

│ ├─centos-root 253:0 0 45G 0 lvm /

│ ├─centos-swap 253:1 0 3.9G 0 lvm [SWAP]

│ └─centos-home 253:2 0 100.1G 0 lvm /home

├─sda3 8:3 0 40G 0 part

│ └─centos-root 253:0 0 45G 0 lvm /

└─sda4 8:4 0 40G 0 part

sr0 11:0 1 1024M 0 rom

[root@localhost ~]# pvcreate /dev/sda4

Physical volume "/dev/sda4" successfully created.

[root@localhost ~]# df -hT

S.ficheros Tipo Tamaño Usados Disp Uso% Montado en

devtmpfsdevtmpfs 1.9G 0 1.9G 0% /dev

tmpfstmpfs 1.9G 0 1.9G 0% /dev/shm

tmpfs tmpfs 1.9G 9.6M 1.9G 1% /run


tmpfs tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup

/dev/mapper/centos-root xfs 45G 3.9G 42G 9% /

/dev/mapper/centos-home xfs 101G 37M 101G 1% /home

/dev/sda1 xfs 1014M 185M 830M 19% /boot

tmpfs tmpfs 379M 8.0K 379M 1% /run/user/42

tmpfs tmpfs 379M 0 379M 0% /run/user/0

[root@localhost ~]# vgextend centos /dev/sda4

Volume group "centos" successfully extended

[root@localhost ~]# lvextend -l+100%FREE /dev/centos/home

Size of logical volume centos/home changed from <100.12 GiB (25630 extents) 140.11 GiB
(35869 extents).

Logical volume centos/home successfully resized.

[root@localhost ~]# xfs_info /dev/mapper/centos-home

meta-data=/dev/mapper/centos-home isize=512 agcount=4, agsize=6561280 blks

= sectsz=512 attr=2, projid32bit=1

= crc=1 finobt=0 spinodes=0

data = bsize=4096 blocks=26245120, imaxpct=25

= sunit=0 swidth=0 blks

naming =version 2 bsize=4096 ascii-ci=0 ftype=1

log =internal bsize=4096 blocks=12815, version=2

= sectsz=512 sunit=0 blks, lazy-count=1

realtime =none extsz=4096 blocks=0, rtextents=0

[root@localhost ~]# xfs_growfs /dev/mapper/centos-home -D 26245120

meta-data=/dev/mapper/centos-home isize=512 agcount=4, agsize=6561280 blks

= sectsz=512 attr=2, projid32bit=1

= crc=1 finobt=0 spinodes=0

data = bsize=4096 blocks=26245120, imaxpct=25

= sunit=0 swidth=0 blks

naming =version 2 bsize=4096 ascii-ci=0 ftype=1


log =internal bsize=4096 blocks=12815, version=2

= sectsz=512 sunit=0 blks, lazy-count=1

realtime =none extsz=4096 blocks=0, rtextents=0

data size unchanged, skipping

[root@localhost ~]# xfs_growfs /dev/mapper/centos-home

meta-data=/dev/mapper/centos-home isize=512 agcount=4, agsize=6561280 blks

= sectsz=512 attr=2, projid32bit=1

= crc=1 finobt=0 spinodes=0

data = bsize=4096 blocks=26245120, imaxpct=25

= sunit=0 swidth=0 blks

naming =version 2 bsize=4096 ascii-ci=0 ftype=1

log =internal bsize=4096 blocks=12815, version=2

= sectsz=512 sunit=0 blks, lazy-count=1

realtime =none extsz=4096 blocks=0, rtextents=0

data blocks changed from 26245120 to 36729856

[root@localhost ~]# df -h

S.ficheros Tamaño Usados Disp Uso% Montado en

devtmpfs 1.9G 0 1.9G 0% /dev

tmpfs 1.9G 0 1.9G 0% /dev/shm

tmpfs 1.9G 9.6M 1.9G 1% /run

tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup

/dev/mapper/centos-root 45G 3.9G 42G 9% /

/dev/mapper/centos-home 141G 37M 141G 1% /home

/dev/sda1 1014M 185M 830M 19% /boot

tmpfs 379M 12K 379M 1% /run/user/42

tmpfs 379M 0 379M 0% /run/user/0

[root@localhost ~]# fdisk-l

bash: fdisk-l: no se encontró la orden...

[root@localhost ~]# fdisk -l


Disk /dev/sda: 204.0 GB, 204010946560 bytes, 398458880 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk labeltype: dos

Identificador del disco: 0x000a57fd

Disposit. Inicio Comienzo Fin Bloques Id Sistema

/dev/sda1 * 2048 2099199 1048576 83 Linux

/dev/sda2 2099200 230686719 114293760 8e Linux LVM

/dev/sda3 230686720 314572799 41943040 8e Linux LVM

/dev/sda4 314572800 398458879 41943040 8e Linux LVM

Disk /dev/mapper/centos-root: 48.3 GB, 48318382080 bytes, 94371840 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mapper/centos-swap: 4160 MB, 4160749568 bytes, 8126464 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mapper/centos-home: 150.4 GB, 150445490176 bytes, 293838848 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes


I/O size (minimum/optimal): 512 bytes / 512 bytes

[root@localhost ~]# 26245120

You might also like