Eu tenho o Debian Lenny dentro de uma máquina virtual (vmware) e preciso aumentar o espaço de / para continuar a atualização para o Squeeze.
Posso aumentar o tamanho de "/"? Eu tenho outro disco com 250GB. Qual a melhor solução? Obrigado por levar seu tempo comigo.
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 327M 291M 20M 94% /
tmpfs 4.0G 0 4.0G 0% /lib/init/rw
udev 10M 76K 10M 1% /dev
tmpfs 4.0G 0 4.0G 0% /dev/shm
/dev/sda9 4.7G 138M 4.3G 4% /home
/dev/sda7 373M 11M 343M 3% /tmp
/dev/sda5 4.6G 848M 3.6G 20% /usr
/dev/sda8 23G 15G 7.3G 66% /var
fdisk -l
Disk /dev/sda: 248.6 GB, 248617369600 bytes
255 heads, 63 sectors/track, 30226 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0005199d
Device Boot Start End Blocks Id System
/dev/sda1 * 1 43 345366 83 Linux
/dev/sda2 44 5221 41592285 5 Extended
/dev/sda5 44 651 4883728+ 83 Linux
/dev/sda6 1017 1568 4433908+ 82 Linux swap / Solaris
/dev/sda7 1569 1617 393561 83 Linux
/dev/sda8 1618 4608 24025176 83 Linux
/dev/sda9 4609 5221 4923891 83 Linux
Disk /dev/sdb: 268.4 GB, 268435456000 bytes
255 heads, 63 sectors/track, 32635 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x35532143
Device Boot Start End Blocks Id System
/dev/sdb1 1 32635 262140606 8e Linux LVM
Monte
/dev/sda1 on / type ext3 (rw,errors=remount-ro)
tmpfs on /dev type tmpfs (rw,size=10M,mode=0755)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/sda9 on /home type ext3 (rw)
/dev/sda7 on /tmp type ext3 (rw)
/dev/sda5 on /usr type ext3 (rw)
/dev/sda8 on /var type ext3 (rw)
E fstab
proc /proc proc defaults 0 0
/dev/sda1 / ext3 errors=remount-ro 0 1
/dev/sda9 /home ext3 defaults 0 2
/dev/sda7 /tmp ext3 defaults 0 2
/dev/sda5 /usr ext3 defaults 0 2
/dev/sda8 /var ext3 defaults 0 2
/dev/sda6 none swap sw 0 0
/dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0