Ocena wątku:
  • 0 głosów - średnia: 0
  • 1
  • 2
  • 3
  • 4
  • 5
Dysk 2 TB - jaki podział na partycje?
#11
0
Po przejrzeniu katalogu timeshift wyświetliło się prawie 42 GB zajętego miejsca.

[Obrazek: QJG3CRdl.png]

Po wykonaniu komendy:

Kod:
sudo apt-get autoremove --purge

ilość zajętego miejsca spadała do 16.9 GB.

[Obrazek: NH1Fecel.png]

[Obrazek: OAdMT6Nl.png]

Kod poniżej pokazuje co zostanie usunięte.

Kod:
użytkownik@użytkownik:~$ sudo apt-get autoremove --purge
[sudo] hasło użytkownika użytkownik:       
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności... Gotowe
Odczyt informacji o stanie... Gotowe 
Następujące pakiety zostaną USUNIĘTE:
  freeglut3* libc++1* libc++1-14* libc++abi1-14* libcg* libcggl*
  libgdk-pixbuf-xlib-2.0-0* libgdk-pixbuf2.0-0* libpango1.0-0* libunwind-14*
  libwmf0.2-7* libwpe-1.0-1* libwpebackend-fdo-1.0-1*
  linux-headers-5.15.0-100* linux-headers-5.15.0-100-generic*
  linux-headers-5.15.0-101* linux-headers-5.15.0-101-generic*
  linux-headers-5.15.0-102* linux-headers-5.15.0-102-generic*
  linux-headers-5.15.0-78* linux-headers-5.15.0-78-generic*
  linux-headers-5.15.0-79* linux-headers-5.15.0-79-generic*
  linux-headers-5.15.0-82* linux-headers-5.15.0-82-generic*
  linux-headers-5.15.0-83* linux-headers-5.15.0-83-generic*
  linux-headers-5.15.0-84* linux-headers-5.15.0-84-generic*
  linux-headers-5.15.0-86* linux-headers-5.15.0-86-generic*
  linux-headers-5.15.0-87* linux-headers-5.15.0-87-generic*
  linux-headers-5.15.0-88* linux-headers-5.15.0-88-generic*
  linux-headers-5.15.0-89* linux-headers-5.15.0-89-generic*
  linux-headers-5.15.0-91* linux-headers-5.15.0-91-generic*
  linux-headers-5.15.0-92* linux-headers-5.15.0-92-generic*
  linux-headers-5.15.0-94* linux-headers-5.15.0-94-generic*
  linux-headers-5.15.0-97* linux-headers-5.15.0-97-generic*
  linux-headers-6.2.0-26-generic* linux-headers-6.2.0-31-generic*
  linux-headers-6.2.0-32-generic* linux-headers-6.2.0-33-generic*
  linux-headers-6.2.0-34-generic* linux-headers-6.2.0-35-generic*
  linux-headers-6.2.0-36-generic* linux-headers-6.5.0-14-generic*
  linux-headers-6.5.0-15-generic* linux-headers-6.5.0-17-generic*
  linux-headers-6.5.0-18-generic* linux-headers-6.5.0-21-generic*
  linux-headers-6.5.0-25-generic* linux-headers-6.5.0-26-generic*
  linux-hwe-6.2-headers-6.2.0-26* linux-hwe-6.2-headers-6.2.0-31*
  linux-hwe-6.2-headers-6.2.0-32* linux-hwe-6.2-headers-6.2.0-33*
  linux-hwe-6.2-headers-6.2.0-34* linux-hwe-6.2-headers-6.2.0-35*
  linux-hwe-6.2-headers-6.2.0-36* linux-hwe-6.5-headers-6.5.0-14*
  linux-hwe-6.5-headers-6.5.0-15* linux-hwe-6.5-headers-6.5.0-17*
  linux-hwe-6.5-headers-6.5.0-18* linux-hwe-6.5-headers-6.5.0-21*
  linux-hwe-6.5-headers-6.5.0-25* linux-hwe-6.5-headers-6.5.0-26*
  linux-image-5.15.0-100-generic* linux-image-5.15.0-101-generic*
  linux-image-5.15.0-102-generic* linux-image-5.15.0-78-generic*
  linux-image-5.15.0-79-generic* linux-image-5.15.0-82-generic*
  linux-image-5.15.0-83-generic* linux-image-5.15.0-84-generic*
  linux-image-5.15.0-86-generic* linux-image-5.15.0-87-generic*
  linux-image-5.15.0-88-generic* linux-image-5.15.0-89-generic*
  linux-image-5.15.0-91-generic* linux-image-5.15.0-92-generic* 
linux-image-5.15.0-94-generic* linux-image-5.15.0-97-generic*
  linux-image-6.2.0-26-generic* linux-image-6.2.0-31-generic*
  linux-image-6.2.0-32-generic* linux-image-6.2.0-33-generic*
  linux-image-6.2.0-34-generic* linux-image-6.2.0-35-generic*
  linux-image-6.2.0-36-generic* linux-image-6.2.0-37-generic*
  linux-image-6.5.0-14-generic* linux-image-6.5.0-15-generic*
  linux-image-6.5.0-17-generic* linux-image-6.5.0-18-generic*
  linux-image-6.5.0-21-generic* linux-image-6.5.0-25-generic*
  linux-image-6.5.0-26-generic* linux-modules-5.15.0-100-generic*
  linux-modules-5.15.0-101-generic* linux-modules-5.15.0-102-generic*
  linux-modules-5.15.0-78-generic* linux-modules-5.15.0-79-generic*
  linux-modules-5.15.0-82-generic* linux-modules-5.15.0-83-generic*
  linux-modules-5.15.0-84-generic* linux-modules-5.15.0-86-generic*
  linux-modules-5.15.0-87-generic* linux-modules-5.15.0-88-generic*
  linux-modules-5.15.0-89-generic* linux-modules-5.15.0-91-generic*
  linux-modules-5.15.0-92-generic* linux-modules-5.15.0-94-generic*
  linux-modules-5.15.0-97-generic* linux-modules-6.2.0-26-generic*
  linux-modules-6.2.0-31-generic* linux-modules-6.2.0-32-generic*
  linux-modules-6.2.0-33-generic* linux-modules-6.2.0-34-generic*
  linux-modules-6.2.0-35-generic* linux-modules-6.2.0-36-generic*
  linux-modules-6.2.0-37-generic* linux-modules-6.5.0-14-generic*
  linux-modules-6.5.0-15-generic* linux-modules-6.5.0-17-generic*
  linux-modules-6.5.0-18-generic* linux-modules-6.5.0-21-generic*
  linux-modules-6.5.0-25-generic* linux-modules-6.5.0-26-generic*
  linux-modules-extra-5.15.0-100-generic*
  linux-modules-extra-5.15.0-101-generic*
  linux-modules-extra-5.15.0-102-generic*
  linux-modules-extra-5.15.0-78-generic*
  linux-modules-extra-5.15.0-79-generic*
  linux-modules-extra-5.15.0-82-generic*
  linux-modules-extra-5.15.0-83-generic*
  linux-modules-extra-5.15.0-84-generic*
  linux-modules-extra-5.15.0-86-generic*
  linux-modules-extra-5.15.0-87-generic*
  linux-modules-extra-5.15.0-88-generic*
  linux-modules-extra-5.15.0-89-generic*
  linux-modules-extra-5.15.0-91-generic*
  linux-modules-extra-5.15.0-92-generic*
  linux-modules-extra-5.15.0-94-generic*
  linux-modules-extra-5.15.0-97-generic* linux-modules-extra-6.2.0-26-generic*
  linux-modules-extra-6.2.0-31-generic* linux-modules-extra-6.2.0-32-generic*
  linux-modules-extra-6.2.0-33-generic* linux-modules-extra-6.2.0-34-generic*
  linux-modules-extra-6.2.0-35-generic* linux-modules-extra-6.2.0-36-generic*
  linux-modules-extra-6.2.0-37-generic* linux-modules-extra-6.5.0-14-generic*
  linux-modules-extra-6.5.0-15-generic* linux-modules-extra-6.5.0-17-generic*
  linux-modules-extra-6.5.0-18-generic* linux-modules-extra-6.5.0-21-generic*
  linux-modules-extra-6.5.0-25-generic* linux-modules-extra-6.5.0-26-generic*
  nvidia-cg-dev* nvidia-cg-toolkit* nvidia-firmware-535-535.129.03*
  nvidia-firmware-535-535.146.02* nvidia-firmware-535-535.154.05*
  nvidia-firmware-535-535.161.07* nvidia-firmware-535-535.54.03*
  nvidia-firmware-535-535.86.05*
0 aktualizowanych, 0 nowo instalowanych, 174 usuwanych i 2 nieaktualizowanych.
Po tej operacji zostanie zwolnione 20,4 GB miejsca na dysku.
Kontynuować? [T/n]

Bardzo dziękuję za pomoc. Smile

Zastanawiam się, czy można jeszcze usunąć jakąś część zawartości timeshift, bo wygląda na to, że zajmuje sporo miejsca.
Odpowiedz
#12
0
Usuń starsze/zbędne migawki.
Odpowiedz
#13
0
Z poziomu konsoli nie ma niczego do usunięcia, ale w katalogach widać zajęte miejsce.
Katalogi snapshots i timeshift są puste, dopiero w katalogu backup jest sporo zajętego miejsca.

[Obrazek: ba3fiakl.png]

[Obrazek: KeQzvzwl.png]

Na poniższym zrzucie katalog 5633 jest pusty, 5450 zajmuje 17 GB.
Zakładam, że wszystkie pliki w katalogu 5450 i w podkatalogach to kopie zapasowe i można je usunąć.
Czy można usunąć cały katalog 5450 i czy da się to zrobić? Jeśli tak, w jaki sposób?

[Obrazek: zZthgHRl.png]
Odpowiedz
#14
0
W programie timeshift nie widać żadnych migawek?
Ten katalog 5450 wygląda na pierwszą migawkę, która jest pełną kopią i bez niej nie będziesz miał możliwości cofania zmian.
Ewentualnie jak usuniesz ten katalog 5450 (np. poprzez usunięcie tej migawki z poziomu programu timeshift lub ręcznie jako root) to trzeba będzie znowu wykonać pełną migawkę.
Odpowiedz
#15
0
W programie Timeshift była jedna migawka, usunąłem ją. Czy to normalne, że migawki są tak duże (liczone w GB)?
Na zrzutach ekranu przechodzę po kolei w systemie plików. We właściwościach widać, jaką pojemność zajmuje i ile plików zawiera konkretny katalog.

[Obrazek: AoMRjtal.png]

[Obrazek: HWtmFeNl.png]

[Obrazek: ufxgUa1l.png]

[Obrazek: rQ06ppol.png]

[Obrazek: M7yc790l.png]
Odpowiedz
#16
0
Pierwsza migawka to pełna kopia, kolejne to już tylko różnice.
Odpowiedz
#17
0
(02-05-2024, 22:01)mati75 napisał(a): Z /usr/lib/modules zacząłbym od wykonania:
Kod:
sudo apt-get autoremove --purge

(02-05-2024, 17:02)Xan666 napisał(a): Od razu mówię jeśli będziesz używał flatpaków to radzę ROOT zrobić większy z 100-200GB (wiem z doświadczenia bo sam dałem 50GB i powoli myślę by przesunąć rozmiar z home Wink

Od 15 lat mam partycje root 20GB i nigdy nie miałem problemu z miejscem.

Kod:
flatpak list --show-details
… … … Wersja      Gałąź        Architektura Pochodzenie      Instalacja Odniesienie                                                Aktywne zatwierdzenie Najnowsze zatwierdzenie Rozmiar po instalacji …
… … … 1.11.1      stable       x86_64       flathub          system     com.github.Matoking.protontricks/x86_64/stable             99009ef46ff6          -                        65,9 MB              …
… … … 2.2.0       stable       x86_64       flathub          system     com.github.tchx84.Flatseal/x86_64/stable                   26f23464f567          -                         1,6 MB              …
… … … 7.1.6       stable       x86_64       flathub          system     com.github.wwmm.easyeffects/x86_64/stable                  8e3e2248317e          -                        81,3 MB              …
… … … v2.14.1     stable       x86_64       flathub          system     com.heroicgameslauncher.hgl/x86_64/stable                  2174c57155d9          -                       446,8 MB              …
… … … 30.1.2      stable       x86_64       flathub          system     com.obsproject.Studio/x86_64/stable                        71d974e21fd9          -                       545,8 MB              …
… … … 0.20.0 Beta stable       x86_64       flathub          system     io.freetubeapp.FreeTube/x86_64/stable                      febac7f664c6          -                       274,8 MB              …
… … …             master       x86_64       webcamoid-origin system     io.github.webcamoid.Webcamoid/x86_64/master                a63927c05c0f          -                        19,3 MB              …
… … … 9.0.0       stable       x86_64       flathub          system     io.github.webcamoid.Webcamoid/x86_64/stable                3c32b00fe0c3          -                        16,5 MB              …
… … … 0.90.3      23.08        x86_64       flathub          system     org.freedesktop.LinuxAudio.Plugins.Calf/x86_64/23.08       8c6f837ef7c9          -                        16,6 MB              …
… … … 1.2.15      23.08        x86_64       flathub          system     org.freedesktop.LinuxAudio.Plugins.LSP/x86_64/23.08        48d3e1d09484          -                        72,8 MB              …
… … … 1.2.10      23.08        x86_64       flathub          system     org.freedesktop.LinuxAudio.Plugins.MDA/x86_64/23.08        cd6f700da423          -                         3,2 MB              …
… … … 4.2         23.08        x86_64       flathub          system     org.freedesktop.LinuxAudio.Plugins.ZamPlugins/x86_64/23.08 db29f627423e          -                       158,4 MB              …
… … … 23.08.17    23.08        x86_64       flathub          system     org.freedesktop.Platform/x86_64/23.08                      ab9602713e7b          -                       597,0 MB              …
…  …             23.08        x86_64       flathub          system     org.freedesktop.Platform.Compat.i386/x86_64/23.08          c69fdd5de1d0          -                       265,4 MB              …
… … … 21.3.9      21.08        x86_64       flathub          system     org.freedesktop.Platform.GL.default/x86_64/21.08           307acd90a918          -                       381,6 MB              …
… … … 24.0.4      22.08        x86_64       flathub          system     org.freedesktop.Platform.GL.default/x86_64/22.08           94fb8568fd83          -                       442,1 MB              …
… … … 24.0.4      22.08-extra  x86_64       flathub          system     org.freedesktop.Platform.GL.default/x86_64/22.08-extra     2dad3c1371cb          -                       442,1 MB              …
… … … 24.0.6      23.08        x86_64       flathub          system     org.freedesktop.Platform.GL.default/x86_64/23.08           d8be2926866b          -                       495,0 MB              …
… … … 24.0.6      23.08-extra  x86_64       flathub          system     org.freedesktop.Platform.GL.default/x86_64/23.08-extra     0ebaef70a4bf          -                       495,0 MB              …
…  …             1.4          x86_64       flathub          system     org.freedesktop.Platform.GL.nvidia-535-161-07/x86_64/1.4   7ad50c4e6612          -                         2,1 MB              …
…  …             1.4          x86_64       flathub          system     org.freedesktop.Platform.GL.nvidia-535-171-04/x86_64/1.4   1dd9e0639b1f          -                         2,1 MB              …
… … … 24.0.6      23.08        x86_64       flathub          system     org.freedesktop.Platform.GL32.default/x86_64/23.08         d7ee5d03f9dd          -                       525,6 MB              …
… … … 24.0.6      23.08-extra  x86_64       flathub          system     org.freedesktop.Platform.GL32.default/x86_64/23.08-extra   ad6f7262a33e          -                       525,6 MB              …
…  …             1.4          x86_64       flathub          system     org.freedesktop.Platform.GL32.nvidia-535-129-03/x86_64/1.4 f6b0cefed748          -                         1,8 MB              …
…  …             1.4          x86_64       flathub          system     org.freedesktop.Platform.GL32.nvidia-535-146-02/x86_64/1.4 41732b224a66          -                         1,8 MB              …
…  …             1.4          x86_64       flathub          system     org.freedesktop.Platform.GL32.nvidia-535-154-05/x86_64/1.4 2133b58124d5          -                         1,8 MB              …
…  …             1.4          x86_64       flathub          system     org.freedesktop.Platform.GL32.nvidia-535-161-07/x86_64/1.4 fc6867b8c834          -                         1,8 MB              …
…  …             1.4          x86_64       flathub          system     org.freedesktop.Platform.GL32.nvidia-535-171-04/x86_64/1.4 ea51f38c738c          -                         1,8 MB              …
… … … 2.1.0       2.0          x86_64       flathub          system     org.freedesktop.Platform.openh264/x86_64/2.0               bdc77b1e945d          -                       778,2 kB              …
… … … 2.1.0       2.2.0        x86_64       flathub          system     org.freedesktop.Platform.openh264/x86_64/2.2.0             bf24f23f3ba3          -                       790,0 kB              …
… … … 2.4.1       2.4.1        x86_64       flathub          system     org.freedesktop.Platform.openh264/x86_64/2.4.1             50b21d3fc221          -                       763,9 kB              …
… … … 2.2.0       stable       x86_64       flathub          system     org.gabmus.gfeeds/x86_64/stable                            e235ae5de253          -                       193,1 MB              …
… … …             44           x86_64       flathub          system     org.gnome.Platform/x86_64/44                               27a9dc43ac14          -                       864,9 MB              …
… … …             45           x86_64       flathub          system     org.gnome.Platform/x86_64/45                               48547c7581a7          -                         1,0 GB              …
… … …             46           x86_64       flathub          system     org.gnome.Platform/x86_64/46                               2554ce6b3f3e          -                       917,5 MB              …
…  …             45           x86_64       flathub          system     org.gnome.Platform.Compat.i386/x86_64/45                   a039dbb4cec4          -                       518,2 MB              …
… … …             3.22         x86_64       flathub          system     org.gtk.Gtk3theme.Mint-Y-Aqua/x86_64/3.22                  1fd2e450d5c0          ?                       423,9 kB              …
… … …             3.22         x86_64       flathub          system     org.gtk.Gtk3theme.Mint-Y-Dark/x86_64/3.22                  fb3daff8d0ca          ?                       424,4 kB              …
… … …             3.22         x86_64       flathub          system     org.gtk.Gtk3theme.Mint-Y-Dark-Aqua/x86_64/3.22             472f9722a56f          ?                       424,4 kB              …
… … …             5.15-21.08   x86_64       flathub          system     org.kde.Platform/x86_64/5.15-21.08                         b3c12682ae9d          -                       855,3 MB              …
… … …             5.15-22.08   x86_64       flathub          system     org.kde.Platform/x86_64/5.15-22.08                         617d94de873c          -                       864,6 MB              …
… … …             5.15-23.08   x86_64       flathub          system     org.kde.Platform/x86_64/5.15-23.08                         8e08931f3586          -                       910,1 MB              …
… … …             6.6          x86_64       flathub          system     org.kde.Platform/x86_64/6.6                                1fdc2eaf2d75          -                       898,2 MB              …
… … …             6.7          x86_64       flathub          system     org.kde.Platform/x86_64/6.7                                ecf38ae3d616          -                       902,9 MB              …
… … … 2.7.8       stable       x86_64       flathub          system     org.keepassxc.KeePassXC/x86_64/stable                      ff056bcc994f          -                        46,9 MB              …
… … … 0.7.1       stable       x86_64       flathub          system     org.rncbc.qpwgraph/x86_64/stable                           f1edf19d94af          -                         1,1 MB              …
… … … 2.3         stable-23.08 x86_64       flathub          system     org.winehq.Wine.DLLs.dxvk/x86_64/stable-23.08              9008b59ecebf          -                        22,7 MB              …
… … …             stable-23.08 x86_64       flathub          system     org.winehq.Wine.gecko/x86_64/stable-23.08                  3e3881bfe962          -                       109,1 MB              …
… … …             stable-23.08 x86_64       flathub          system     org.winehq.Wine.mono/x86_64/stable-23.08                   6319c57ce0e4          -                       238,0 MB   

Kod:
flatpak list --app
Nazwa                               Identyfikator programu                    Wersja               Gałąź           Pochodzenie               Instalacja
Janne Pulkkinen                     com.github.Matoking.protontricks          1.11.1               stable          flathub                   system
Martin Abente Lahaye                com.github.tchx84.Flatseal                2.2.0                stable          flathub                   system
Easy Effects                        com.github.wwmm.easyeffects               7.1.6                stable          flathub                   system
Heroic Games Launcher               com.heroicgameslauncher.hgl               v2.14.1              stable          flathub                   system
OBS Project                         com.obsproject.Studio                     30.1.2               stable          flathub                   system
Preston                             io.freetubeapp.FreeTube                   0.20.0 Beta          stable          flathub                   system
Webcamoid                           io.github.webcamoid.Webcamoid                                  master          webcamoid-origin          system
Webcamoid                           io.github.webcamoid.Webcamoid             9.0.0                stable          flathub                   system
Feeds                               org.gabmus.gfeeds                         2.2.0                stable          flathub                   system
KeePassXC Team                      org.keepassxc.KeePassXC                   2.7.8                stable          flathub                   system
rncbc aka. Rui Nuno Capela          org.rncbc.qpwgraph                        0.7.1                stable          flathub                   system

[Obrazek: FZ6tEd4l.png]

wykorzystanie SSD:
[Obrazek: pOJ5Z04l.png]

A jednak flatpaczki Wink

Dodano po pewnym czasie:
To co głównie usunąłeś patrząc na to co napisałeś to cała masa kerneli Smile (jąder). A co do migawek: zaplanuj sobie je mądrze i ustal jakieś wygodniejsze miejsce docelowe jeśli nie chcesz ich mieć na głównej partycji. Ja do tego używam zupełnie innego SSDka - ogólnie wyznaję zasadę (i Tobie też polecam) - lepiej mieć więcej niż mniej kopii, a już na pewno KOPIE (l.mn.) mieć musisz - w razie "wypadków" szybko wrócisz do działającego systemu (tutaj są sami fajnie goście i experci, który wciągają mnie nosie - oni jak coś Ci pomogą). Zdrówka i pozdrawiam.
Born to be root... not to reboot. Dodgy
Odpowiedz
#18
0
Kilka lat temu przeszedłem na Linux i przyznam szczerze, nie zagłębiam się zbytnio w jego budowę i działanie, tyle tylko co jest potrzebne.
Zastanawiałem się, czy te wszystkie aktualizacje, kernele itd. usuwają się same automatycznie, czy trzeba to robić ręcznie.
Komenda
Kod:
sudo apt-get autoremove --purge
bardzo się przydała, sporo nieaktualnych plików zostało usunięte. Na pewno będę jej częściej używać.

Przeraża i zarazem zastanawia mnie tak duża ilość miejsca zajmowanego przez migawki, muszę przejrzeć, czy czegoś nie można wykluczyć w ustawieniach Timeshift. Dysk mam w miarę pojemny i przy następnej instalacji systemu zrobię większą partycję. Być może dodam jeszcze jeden dysk M.2, bo jest drugie gniazdo na płycie głównej.
Dziękuję wszystkim za przyjazną, rzeczową atmosferę i pomoc. Smile
Odpowiedz
#19
0
Zasada jest standardowo taka, że jądra (kernele) zwykle trzymane są 2 - używany obecnie i 1 poprzedni - oczywiście, możesz to zmienić. Komenda, którą wpisałeś usuwa te ponadmiarowe najstarsze. I jeszcze jedno jeśli masz ustawione LVM to dynamicznie możesz zmienić wielkość partycji jednak kosztem drugiej albo opcja numer 2 (jeśli nie masz tak jak ja np.) to odpalasz linucha z liveCD/pena, odpalasz Gparted i możesz też zmienić jedną kosztem drugiej (tu pytanie do adminów - czy jest to bezpieczne? Pytam bo bym sobie root kosztem home nieco powiększył). Pozdawiam i 3mta się tam.
Born to be root... not to reboot. Dodgy
Odpowiedz


Skocz do:




Użytkownicy przeglądający ten wątek: 1 gości