Salve,
Ho quasi esaurito lo spazio nella cartella /usr montata su /dev/sd2
con il comando:
#cat /etc/fstab
ottengo
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# systemd generates mount units based on this file, see systemd.mount(5).
# Please run 'systemctl daemon-reload' after making changes here.
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during installation
UUID=a949fa83-aef5-4148-adbd-44d1d98424f6 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=A98A-C3E4 /boot/efi vfat umask=0077 0 1
# /home was on /dev/sda6 during installation
UUID=03dc926d-785b-4885-a9f0-1a0fc04cf815 /home ext4 defaults 0 2
# /tmp was on /dev/sda7 during installation
UUID=6f5216bc-578a-49d4-996c-44b51c0276aa /tmp ext4 defaults 0 2
# /var was on /dev/sda3 during installation
UUID=27326325-e196-41c8-bbce-18c64f6fbc97 /var ext4 defaults 0 2
# swap was on /dev/sda4 during installation
UUID=29d0466b-da88-45ff-a2c5-a19cf83a1c24 none swap sw 0 0
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
con il comando:
#blkid
ottengo:
/dev/sda4: UUID="29d0466b-da88-45ff-a2c5-a19cf83a1c24" TYPE="swap" PARTUUID="fca7c0ac-4a9e-4a40-88ff-ac41d20d79e7"
/dev/sda2: UUID="a949fa83-aef5-4148-adbd-44d1d98424f6" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="8cb4ef13-eec4-4d9e-b9df-f9df15bffe47"
/dev/sda9: UUID="2dce8af5-711e-436d-88d5-0b6c4897b79f" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="ee77c26c-0ad4-fc49-891c-7c2ed8873b5a"
/dev/sda7: UUID="6f5216bc-578a-49d4-996c-44b51c0276aa" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="4307ab7b-07ae-42c5-bb41-74cab60e5e01"
/dev/sda5: UUID="741812e2-c6d3-4502-86a6-8b01ae29e7f2" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="9c6521cf-b903-49da-81c1-5d67209c4ee4"
/dev/sda3: UUID="27326325-e196-41c8-bbce-18c64f6fbc97" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="0b504d78-0feb-48df-a81c-3b17cdc5e2b7"
/dev/sda1: UUID="A98A-C3E4" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="e3d53b1a-8cd4-40d6-a756-51e6c14c239c"
/dev/sda8: UUID="ce44720e-e640-452c-8bdc-64d0ba31f481" TYPE="swap" PARTUUID="f4fc395f-0f36-4a18-91c7-ff4c00152b80"
/dev/sda6: UUID="03dc926d-785b-4885-a9f0-1a0fc04cf815" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="702f3546-2319-4f6f-a85b-91a97ab700f0"
con il comando:
#df
ottengo
File system 1K-blocchi Usati Disponib. Uso% Montato su
udev 1899524 0 1899524 0% /dev
tmpfs 389168 1796 387372 1% /run
/dev/sda2 23854928 21605352 1012484 96% /
tmpfs 1945828 29336 1916492 2% /dev/shm
tmpfs 5120 8 5112 1% /run/lock
/dev/sda7 11999536 1136 11367616 1% /tmp
/dev/sda3 9510080 5444380 3561024 61% /var
/dev/sda6 111937812 40825940 65352896 39% /home
/dev/sda1 523244 5976 517268 2% /boot/efi
tmpfs 389164 136 389028 1% /run/user/1000
Siccome ho nella partizione /dev/sda9 49GB liberi come faccio a spostare tutto da /dev/sda2 a /dev/sda9 senza compromettere il sistema?