(08-25-2010 03:29 AM)kilburn Wrote: Quote:/dev/mapper/datacenterdb-var 2,8G 2,7G 0 100% /var
A mi me parece que no. Tienes la particion /var llenita a rebosar.
Además, no sé quién carajos te hizo el particionado, pero te complicó bastante la vida. Esencialmente te dejó 133G para /home (de los que solo usas un 1%) y sólo 2,8G para /var (que es lo que más gasta el ispcp).
Para ir bien deberías invertir la situación, pero con lo verde que te veo me da miedo recomendarte que empieces a trastear con el particionado (lo más probable es que te quedes sin datos). Aun así, esto es lo que haría yo:
1. Iniciar desde rescue-system, livecd, o lo que sea que no implique iniciar el sistema "normalmente".
2. Copiar las cosas que hay en la particion /home a la particion /tmp
3. Destruir el volumen de la particion /home
4. Crear un nuevo volumen para /home de 10G y montarlo
5. Copiar lo que tienes en /var al nuevo /home (de 10gb)
6. Destruir el volumen de /var actual
7. Crear un nuevo volumen var con todo el espacio libre que quede y montarlo
8. Mover lo del nuevo /home al nuevo /var (para recuperar lo que tenias en el /var original)
9. Mover lo del antiguo /home (que ahora esta en /tmp) al nuevo /home
Y con eso tendrías el problema arreglado...
@Marc
You have not more easy lol.
That for why LVM is good...
Code:
root@mdev:/home/nuxwin# pvdisplay
--- Physical volume ---
PV Name /dev/sda6
VG Name virtualbox
PV Size 29,30 GiB / not usable 4,00 MiB
Allocatable yes (but full)
PE Size 4,00 MiB
Total PE 7499
Free PE 0
Allocated PE 7499
PV UUID 3FuGC4-bvCQ-Kwap-Ef7w-uNWf-e95E-e1eW4h
--- Physical volume ---
PV Name /dev/sda5
VG Name programs
PV Size 9,77 GiB / not usable 4,00 MiB
Allocatable yes (but full)
PE Size 4,00 MiB
Total PE 2499
Free PE 0
Allocated PE 2499
PV UUID UUBHFB-wfyS-R6uA-WmNR-XL0l-xKU7-DLvY70
--- Physical volume ---
PV Name /dev/sda2
VG Name mdev
PV Size 46,57 GiB / not usable 959,50 KiB
Allocatable yes (but full)
PE Size 4,00 MiB
Total PE 11921
Free PE 0
Allocated PE 11921
PV UUID sniGFP-jdV9-kRQ6-cx6e-n8q2-0GNj-9Wclpx
root@mdev:/home/nuxwin# vgdisplay
--- Volume group ---
VG Name virtualbox
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 2
VG Access read/write
VG Status resizable
MAX LV 256
Cur LV 1
Open LV 1
Max PV 256
Cur PV 1
Act PV 1
VG Size 29,29 GiB
PE Size 4,00 MiB
Total PE 7499
Alloc PE / Size 7499 / 29,29 GiB
Free PE / Size 0 / 0
VG UUID ciGHlW-cDns-YjMs-9qD0-w4Vv-fO0s-ZcGnbs
--- Volume group ---
VG Name programs
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 2
VG Access read/write
VG Status resizable
MAX LV 256
Cur LV 1
Open LV 1
Max PV 256
Cur PV 1
Act PV 1
VG Size 9,76 GiB
PE Size 4,00 MiB
Total PE 2499
Alloc PE / Size 2499 / 9,76 GiB
Free PE / Size 0 / 0
VG UUID yUbEoz-CeOv-4hGj-1sIu-olaT-TAz1-3oJ8U5
--- Volume group ---
VG Name mdev
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 23
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 6
Open LV 6
Max PV 0
Cur PV 1
Act PV 1
VG Size 46,57 GiB
PE Size 4,00 MiB
Total PE 11921
Alloc PE / Size 11921 / 46,57 GiB
Free PE / Size 0 / 0
VG UUID CTFMaQ-JUqB-6ufm-tCdv-n4WD-mmtA-oMhv4V
root@mdev:/home/nuxwin# lvdisplay
--- Logical volume ---
LV Name /dev/virtualbox/virtualbox
VG Name virtualbox
LV UUID FfnOyS-ClWt-sKvK-QSsk-zK6j-znCk-I0H16f
LV Write Access read/write
LV Status available
# open 1
LV Size 29,29 GiB
Current LE 7499
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:1
--- Logical volume ---
LV Name /dev/programs/programs
VG Name programs
LV UUID YwyqT5-Efim-bx3K-jU3x-iYQf-jzSx-zFqysW
LV Write Access read/write
LV Status available
# open 1
LV Size 9,76 GiB
Current LE 2499
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:2
--- Logical volume ---
LV Name /dev/mdev/swap
VG Name mdev
LV UUID O6m8IA-Ed6k-I1Ve-P9xv-3iG4-Y5kL-5l3x5U
LV Write Access read/write
LV Status available
# open 1
LV Size 1,86 GiB
Current LE 476
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:3
--- Logical volume ---
LV Name /dev/mdev/racine
VG Name mdev
LV UUID ztBtkS-6t7z-r3ls-HU2E-f60z-Ju70-igggbv
LV Write Access read/write
LV Status available
# open 1
LV Size 4,66 GiB
Current LE 1192
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:0
--- Logical volume ---
LV Name /dev/mdev/tmp
VG Name mdev
LV UUID nIjejJ-jAKZ-H0oZ-s5W1-ThFL-eGg6-Vextur
LV Write Access read/write
LV Status available
# open 1
LV Size 1,86 GiB
Current LE 476
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:4
--- Logical volume ---
LV Name /dev/mdev/usr
VG Name mdev
LV UUID Kc6w1P-w5Of-5N9p-b8yD-B8T0-2ZEr-WQyeL6
LV Write Access read/write
LV Status available
# open 1
LV Size 13,98 GiB
Current LE 3579
Segments 2
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:5
--- Logical volume ---
LV Name /dev/mdev/var
VG Name mdev
LV UUID J2W8ZB-BnYj-Tgvs-OLTE-x0w7-M3hH-NJiuEI
LV Write Access read/write
LV Status available
# open 1
LV Size 13,97 GiB
Current LE 3576
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:6
--- Logical volume ---
LV Name /dev/mdev/home
VG Name mdev
LV UUID Yn43wA-WDy8-Ltxd-YCZH-BTkx-71X7-rY8T8P
LV Write Access read/write
LV Status available
# open 1
LV Size 10,24 GiB
Current LE 2622
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:7
root@mdev:/home/nuxwin#
It's easy to solve the problem like here with LVM. That for why we should recommend it.