Вы находитесь на странице: 1из 3

AUMENTANDO O FILESYSTEM /VAR

jornada [/] #shutdown 0 -> Para ficar em monousuario

jornada [/] #
jornada [/] #bdf -> lista o tamanho dos filesystem
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 1024000 161208 856064 16% /
/dev/vg00/lvol8 4710400 4580704 129536 97% /var
/dev/vg00/lvol7 3334144 1364016 1954784 41% /usr
/dev/vg00/lvol5 7479296 2782312 4660352 37% /opt
jornada [/] #vgdisplay v -> mostra as informações dos VG
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 8
Open LV 8
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4350
VGDA 2
PE Size (Mbytes) 8 ->quantidade de filesystem no vg00
Total PE 4340
Alloc PE 2959
Free PE 1381 -> tamanho de cada filesystem (m
ultiplicar com a
Total PVG 0 quantidade para ter o total do e
spaço)
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 304
Current LE 38
Allocated PE 38
Used PV 1
LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 4096
Current LE 512
Allocated PE 512
Used PV 1
LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 1000
Current LE 125
Allocated PE 125
Used PV 1
LV Name /dev/vg00/lvol4
LV Status available/syncd
LV Size (Mbytes) 608
Current LE 76
Allocated PE 76
Used PV 1
LV Name /dev/vg00/lvol5
LV Status available/syncd
LV Size (Mbytes) 7304
Current LE 913
Allocated PE 913
Used PV 1
LV Name /dev/vg00/lvol6
LV Status available/syncd
LV Size (Mbytes) 2504
Current LE 313
Allocated PE 313
Used PV 1
LV Name /dev/vg00/lvol7
LV Status available/syncd
LV Size (Mbytes) 3256
Current LE 407
Allocated PE 407
Used PV 1
LV Name /dev/vg00/lvol8 -> endereço do /var
LV Status available/syncd
LV Size (Mbytes) 4600 -> tamanho atual do /var
Current LE 575
Allocated PE 575
Used PV 1

--- Physical volumes ---


PV Name /devjornada [/] #
jornada [/] #
jornada [/] #
jornada [/] #
jornada [/] #
jornada [/] #
jornada [/] #umount /var -> desmontando o /var
jornada [/] #lvextend -L 8000 /dev/vg00/lvol8
Logical volume "/dev/vg00/lvol8" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.con
f
jornada [/] #
jornada [/] #
jornada [/] #extendfs /dev/vg00/rlvol8
jornada [/] #bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 1024000 161208 856064 16% /
/dev/vg00/lvol7 3334144 1364016 1954784 41% /usr
/dev/vg00/lvol5 7479296 2782312 4660352 37% /opt
jornada [/] #mount a -> montando todos os filesystem
mount: /dev/vg00/lvol7 is already mounted on /usr
mount: /dev/vg00/lvol5 is already mounted on /opt
jornada [/] #bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 1024000 161208 856064 16% /
/dev/vg00/lvol7 3334144 1364016 1954784 41% /usr
/dev/vg00/lvol5 7479296 2782312 4660352 37% /opt
/dev/vg00/lvol8 8192000 4580816 3583824 56% /var
/dev/vg00/lvol6 2564096 902944 1653784 35% /tmp
/dev/vg00/lvol4 622592 2296 615464 0% /home
/dev/vg00/lvol1 298928 45520 223512 17% /stand
jornada [/] #
jornada [/] #
jornada [/] #
jornada [/] #shutdown Ry 0

Вам также может понравиться