Come recuperare spazio nella root?
Inviato: mer 16 dic 2015, 21:29
Scusate ho la root praticamente intasata al punto che oggi allo startx non mi si avviava l'interfaccia grafica per una serie di errori legati appunto al fatto che nella root del mio filesystem lo spazio era uguale a zero byte!! cosi alla buona ho cancellato delle vecchie directory di kernel:
Dopo questi due comandi ho recuperato oltre 3 giga e permettendo alla macchina di avviarsi. Adesso mi chiedo, come posso recuperare spazio nella root? visto che la partizione originaria è di 20 giga. Mi dite cosa posso eliminare? ad esempio sotto /tmp mi ritrovo oltre 3 giga di dati, e non capisco se sono cose che posso eliminare o meno. Una delle directory sotto /tmp che ha più file è una directory chiamata "common release" di circa 3 giga di roba. comunque posto sotto la mia attuale situazione:
Questa nello specifico la situazione dentro /tmp:
Potete darmi una mano a recuperare spazio?
Codice: Seleziona tutto
rm -fr /usr/src/linux-3.12.1Codice: Seleziona tutto
rm -fr /usr/src/linux-3.16.1Codice: Seleziona tutto
bash-4.3# df -h
File system Dim. Usati Dispon. Uso% Montato su
/dev/root 20G 16G 3,3G 83% /
devtmpfs 3,9G 0 3,9G 0% /dev
tmpfs 3,9G 1,1M 3,9G 1% /run
tmpfs 3,9G 194M 3,7G 5% /dev/shm
cgroup_root 3,9G 0 3,9G 0% /sys/fs/cgroup
cgmfs 100K 0 100K 0% /run/cgmanager/fs
/dev/sda9 36G 26G 8,3G 76% /homeCodice: Seleziona tutto
bash-4.3# for i in /*; do echo $i; find $i |wc -l; done
/bin
203
/boot
632
/dev
718
/etc
2384
/home
find: "/home/tano/.gvfs": Permesso negato
128598
/lib
13314
/lib64
217
/lost+found
1
/media
23
/mnt
11
/opt
1
/proc
find: WARNING: Hard link count is wrong for "/proc/fs" (saw only st_nlink=8 but we already saw 6 subdirectories): this may be a bug in your file system driver. Automatically turning on find's -noleaf option. Earlier results may have failed to include directories that should have been searched.
294735
/root
633
/run
590
/sbin
291
/srv
3
/sys
27109
/tmp
308421
/usr
337782
/var
7163Codice: Seleziona tutto
bash-4.3# for i in /tmp/*; do echo $i; find $i |wc -l; done
/tmp/7zO35E37E3E
2
/tmp/7zO68B968F6
2
/tmp/7zO7D0C4139
2
/tmp/7zODA61BA61
2
/tmp/7zODA667FF1
2
/tmp/CRX_75DAF8CB7768
4
/tmp/Italy_SKL_Price_List.pdf
1
/tmp/MPlayer-svn35107-x86_64-2_Sam.txz
1
/tmp/MozillaMailnews
1
/tmp/SBo
16856
/tmp/audacity-tano
1
/tmp/awesome-3.5.2-x86_64-1_SBo.tgz
1
/tmp/blueman-applet-0
1
/tmp/blueman-applet-1000
1
/tmp/build
7965
/tmp/buildpkgs
118225
/tmp/checkout-ffmpeg-HEAD.tar.xz.log
1
/tmp/clipboardcache
1
/tmp/clipboardcache-1
1
/tmp/clipboardcache-2
1
/tmp/clipboardcache-3
1
/tmp/comm-release
163296
/tmp/compton-0.1_beta2-x86_64-1_SBo.tgz
1
/tmp/configure-MPlayer.log
1
/tmp/conky-1.9.0-x86_64-1_SBo.tgz
1
/tmp/efibootmgr
5
/tmp/efibootmgr-0.5.4-x86_64-1.txz
1
/tmp/error-MPlayer.log
1
/tmp/gpg-AetYPZ
2
/tmp/gpg-AkFKjo
2
/tmp/gpg-NNPdDF
2
/tmp/gpg-eUU8aO
2
/tmp/icedteaplugin-tano
481
/tmp/icedteaplugin-tano-NIRmDS
4
/tmp/icedteaplugin-tano-NcneMU
4
/tmp/install-MPlayer.log
1
/tmp/lgi-0.7.1-x86_64-1_SBo.tgz
1
/tmp/libxdg-basedir-1.2.0-x86_64-1_SBo.tgz
1
/tmp/lua-5.1.5-x86_64-1_SBo.tgz
1
/tmp/make-MPlayer.log
1
/tmp/mozilla-firefox-40.0.2-x86_64-1ro.tgz
1
/tmp/package-seamonkey
2
/tmp/package-xfce4-power-manager
1
/tmp/pulse-wZcvYiuTTctT
1
/tmp/qtsingleapp-hometa-6757-3e8-lockfile
1
/tmp/qtsingleapp-ldso-7cc4-3e8-lockfile
1
/tmp/refind-bin-0.7.4
152
/tmp/repackage-mozilla-firefox
105
/tmp/screenfetch-3.0.5-noarch-1_SBo.tgz
1
/tmp/skype-11023
2
/tmp/skype-11954
2
/tmp/skype-12157
2
/tmp/skype-1221
2
/tmp/skype-1225
2
/tmp/skype-12520
2
/tmp/skype-1289
2
/tmp/skype-1323
2
/tmp/skype-13387
2
/tmp/skype-1363
2
/tmp/skype-1369
2
/tmp/skype-1400
2
/tmp/skype-1406
2
/tmp/skype-1423
2
/tmp/skype-1435
2
/tmp/skype-1513
2
/tmp/skype-1521
2
/tmp/skype-1524
2
/tmp/skype-1529
2
/tmp/skype-1560
2
/tmp/skype-15690
2
/tmp/skype-15879
2
/tmp/skype-1665
2
/tmp/skype-1674
2
/tmp/skype-1676
2
/tmp/skype-1688
2
/tmp/skype-1697
2
/tmp/skype-1709
2
/tmp/skype-1715
2
/tmp/skype-1751
2
/tmp/skype-1762
2
/tmp/skype-1779
2
/tmp/skype-1820
2
/tmp/skype-18272
2
/tmp/skype-18559
2
/tmp/skype-1943
2
/tmp/skype-2026
2
/tmp/skype-20495
2
/tmp/skype-2054
2
/tmp/skype-2061
2
/tmp/skype-2104
2
/tmp/skype-2130
2
/tmp/skype-2149
2
/tmp/skype-2151
2
/tmp/skype-2161
2
/tmp/skype-2213
2
/tmp/skype-2224
2
/tmp/skype-2251
2
/tmp/skype-2262
2
/tmp/skype-2340
2
/tmp/skype-2349
2
/tmp/skype-2408
2
/tmp/skype-2436
2
/tmp/skype-2459
2
/tmp/skype-2464
2
/tmp/skype-2469
2
/tmp/skype-2498
4
/tmp/skype-2510
2
/tmp/skype-2539
2
/tmp/skype-2571
2
/tmp/skype-2573
2
/tmp/skype-2575
2
/tmp/skype-2579
2
/tmp/skype-2641
2
/tmp/skype-2681
2
/tmp/skype-2707
2
/tmp/skype-2726
2
/tmp/skype-27905
2
/tmp/skype-2795
2
/tmp/skype-2834
2
/tmp/skype-2845
2
/tmp/skype-2978
2
/tmp/skype-2981
2
/tmp/skype-3048
2
/tmp/skype-3093
2
/tmp/skype-3443
2
/tmp/skype-3507
2
/tmp/skype-3604
2
/tmp/skype-3655
2
/tmp/skype-3708
6
/tmp/skype-3715
2
/tmp/skype-3920
2
/tmp/skype-4228
2
/tmp/skype-4312
2
/tmp/skype-4322
2
/tmp/skype-4330
2
/tmp/skype-4403
2
/tmp/skype-4428
2
/tmp/skype-4473
2
/tmp/skype-4552
2
/tmp/skype-4595
2
/tmp/skype-5079
2
/tmp/skype-5119
2
/tmp/skype-5308
2
/tmp/skype-5322
2
/tmp/skype-5690
2
/tmp/skype-5844
2
/tmp/skype-5960
2
/tmp/skype-6016
4
/tmp/skype-6244
2
/tmp/skype-6330
2
/tmp/skype-6432
2
/tmp/skype-6480
2
/tmp/skype-6483
2
/tmp/skype-6734
2
/tmp/skype-6769
2
/tmp/skype-6807
2
/tmp/skype-7350
2
/tmp/skype-7542
2
/tmp/skype-8589
2
/tmp/skype-8992
2
/tmp/skype-9358
2
/tmp/slackpkg.PwAVJg
1
/tmp/ssh-4kWTciABItF3
2
/tmp/ssh-VOHMtYW5QWbj
2
/tmp/ssh-dFUR9c552wkA
2
/tmp/ssh-jiCZw4HkDFWW
2
/tmp/tano
4
/tmp/usb
1
/tmp/wlsbuild
1
/tmp/wxGTK-2.8.12-x86_64-3_SBo.tgz
1
/tmp/xfce4-power-manager-1.4.4
365