Outsourcing /USR files - local disk full

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Post Reply
BiB
Level 1
Level 1
Posts: 5
Joined: Wed Jul 15, 2020 5:26 pm

Outsourcing /USR files - local disk full

Post by BiB »

Dear Linux Pros,

now here is an interesting question. I am not a software engineer or s.th like that / but have been using linux gentoo and mint for a long time.

Now my SSD disk, inside the laptop, is quite small. (as you will see in the terminal).
It is enough for me, and for big things I got external hdd.

Now I want to do video editing and - surprise - need a lot more disk space. That is 2 gigs, which I don't have.

Code: Select all

root@boris-ThinkPad:/home/mint# df -h
Sys. de fichiers Taille Utilisé Dispo Uti% Monté sur
udev               3.8G       0  3.8G   0% /dev
tmpfs              785M    1.7M  783M   1% /run
/dev/sda6          7.0G    4.5G  2.1G  69% /
/dev/sda5          8.6G    6.2G  2.1G  76% /usr
tmpfs              3.9G    186M  3.7G   5% /dev/shm
tmpfs              5.0M    4.0K  5.0M   1% /run/lock
tmpfs              3.9G       0  3.9G   0% /sys/fs/cgroup
/dev/sda7          156G    149G  6.9G  96% /mnt/share
/dev/sda3          8.2G    7.0G  1.2G  86% /home
/dev/sda1          477M    169M  283M  38% /boot
tmpfs              785M     16K  785M   1% /run/user/123
tmpfs              785M     64K  785M   1% /run/user/1000
:arrow: - is it possible to install certain programmes, that I do not use every day, on an external hdd?
:arrow: - how can I get rid of the failed installation of "shotcut" (video editing software package)? It is lying around somewhere on my root partition.. :-/

BTW: Since I am using a laptop only, I also "outsourced" my local email folders of moz-thunderbird. That means, these files are lying on my external hdd (usb drive). That works fine! :lol:

Code: Select all

mint@boris-ThinkPad ~ $ sudo mount /mnt/WDreiser/
...and then start thunderbird. Works. (Does anyone know a more "practical" way?)
Greetings,
and thanks a lot for help,

Boris
carum carvi
Level 6
Level 6
Posts: 1478
Joined: Sun Apr 16, 2017 11:44 pm

Re: Outsourcing /USR files - local disk full

Post by carum carvi »

Have you considered doing a new install and rearranging everything? If you dont want that hassle, could you be so kind to give more information about your hardware so other forummembers perhaps can be of better help to you:

Code: Select all

inxi -Fxz
BiB
Level 1
Level 1
Posts: 5
Joined: Wed Jul 15, 2020 5:26 pm

Re: Outsourcing /USR files - local disk full

Post by BiB »

Thank you!

Yes, this is the output:

Code: Select all

root@boris-ThinkPad:/# inxi -Fxz
System:    Host: boris-ThinkPad Kernel: 5.4.0-42-generic x86_64 bits: 64 compiler: gcc v: 7.5.0 Desktop: MATE 1.22.2 
           Distro: Linux Mint 19.3 Tricia base: Ubuntu 18.04 bionic 
Machine:   Type: Laptop System: LENOVO product: 4291QQ1 v: ThinkPad X220 serial: <filter> 
           Mobo: LENOVO model: 4291QQ1 serial: <filter> UEFI [Legacy]: LENOVO v: 8DET51WW (1.21 ) date: 08/02/2011 
Battery:   ID-1: BAT0 charge: 19.7 Wh condition: 19.7/57.7 Wh (34%) model: LGC 42T4865 status: Full 
CPU:       Topology: Dual Core model: Intel Core i7-2620M bits: 64 type: MT MCP arch: Sandy Bridge rev: 7 L2 cache: 4096 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 21529 
           Speed: 960 MHz min/max: 800/3400 MHz Core speeds (MHz): 1: 829 2: 811 3: 862 4: 1019 
Graphics:  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics vendor: Lenovo driver: i915 v: kernel 
           bus ID: 00:02.0 
           Display: x11 server: X.Org 1.20.8 driver: modesetting unloaded: fbdev,vesa resolution: 1366x768~60Hz 
           OpenGL: renderer: Mesa DRI Intel HD Graphics 3000 (SNB GT2) v: 3.3 Mesa 20.0.8 direct render: Yes 
Audio:     Device-1: Intel 6 Series/C200 Series Family High Definition Audio vendor: Lenovo driver: snd_hda_intel v: kernel 
           bus ID: 00:1b.0 
           Sound Server: ALSA v: k5.4.0-42-generic 
Network:   Device-1: Intel 82579LM Gigabit Network vendor: Lenovo ThinkPad T520 driver: e1000e v: 3.2.6-k port: 5080 
           bus ID: 00:19.0 
           IF: enp0s25 state: up speed: 100 Mbps duplex: full mac: <filter> 
           Device-2: Intel Centrino Ultimate-N 6300 driver: iwlwifi v: kernel port: efa0 bus ID: 03:00.0 
           IF: wlp3s0 state: down mac: <filter> 
           IF-ID-1: wwp0s29u1u4i6 state: down mac: <filter> 
Drives:    Local Storage: total: 223.57 GiB used: 171.52 GiB (76.7%) 
           ID-1: /dev/sda vendor: Toshiba model: Q300. size: 223.57 GiB temp: 29 C 
Partition: ID-1: / size: 6.94 GiB used: 6.32 GiB (91.1%) fs: ext4 dev: /dev/sda6 
           ID-2: /boot size: 476.2 MiB used: 248.4 MiB (52.2%) fs: ext3 dev: /dev/sda1 
           ID-3: /home size: 8.11 GiB used: 7.03 GiB (86.8%) fs: reiserfs dev: /dev/sda3 
           ID-4: /usr size: 8.59 GiB used: 5.88 GiB (68.4%) fs: ext4 dev: /dev/sda5 
Sensors:   System Temperatures: cpu: 51.0 C mobo: N/A 
           Fan Speeds (RPM): cpu: 1959 
Info:      Processes: 255 Uptime: 8m Memory: 7.66 GiB used: 1.97 GiB (25.7%) Init: systemd runlevel: 5 Compilers: gcc: 7.5.0 
           Shell: bash v: 4.4.20 inxi: 3.0.32 
I will consider, rearranging it when I do system setup.
Until then, is there an easy solution?
BiB
Level 1
Level 1
Posts: 5
Joined: Wed Jul 15, 2020 5:26 pm

Re: Outsourcing /USR files - local disk full

Post by BiB »

Code: Select all

Périphérique          Amorçage                       Début                Fin          Secteurs         Taille         Id Type
>>  /dev/sda1                                             2048            1026047           1024000           500M         83 Linux                                      
    /dev/sda2             *                            1026048           91138047          90112000            43G          7 HPFS/NTFS/exFAT
    /dev/sda3                                         91138048          108136447          16998400           8.1G         82 partition d'échange Linux / Solaris
    /dev/sda4                                        108138494          468860927         360722434           172G          5 Étendue
    ├─/dev/sda5                                      108138496          126570495          18432000           8.8G         83 Linux
    ├─/dev/sda6                                      127623168          142548991          14925824           7.1G         83 Linux
    ├─/dev/sda7                                      142551040          468860927         326309888         155.6G          b W95 FAT32
    └─/dev/sda8                                      126572544          127621119           1048576           512M         82 partition d'échange Linux / Solaris

BiB
Level 1
Level 1
Posts: 5
Joined: Wed Jul 15, 2020 5:26 pm

Re: Outsourcing /USR files - local disk full

Post by BiB »

Just wondered, if I can set up an external /opt directory, where I install programs that are not needed at startup.
Such as Skype or zoom, or the one mentioned above.

:?:
User avatar
arvy
Level 6
Level 6
Posts: 1230
Joined: Sat Mar 26, 2016 11:22 am

Re: Outsourcing /USR files - local disk full

Post by arvy »

BiB wrote:
Tue Aug 04, 2020 8:22 am
I will consider, rearranging it when I do system setup.
Until then, is there an easy solution?
When it comes to usage of available free space, user files (docs, images, etc) are often a major culprit and links (see here) may offer at least a partial solution,
System: Asus ROG Maximus XI Code mobo, Intel i9-9900K CPU, Nvidia GTX1080 GPU, 32 GB DDR4-3600 RAM, Sumsung Pro 2x512GB NVMe & 3x1TB SSD, Multiboot
BiB
Level 1
Level 1
Posts: 5
Joined: Wed Jul 15, 2020 5:26 pm

Re: Outsourcing /USR files - local disk full

Post by BiB »

arvy wrote:
Tue Aug 04, 2020 8:38 am
BiB wrote:
Tue Aug 04, 2020 8:22 am
I will consider, rearranging it when I do system setup.
Until then, is there an easy solution?
When it comes to usage of available free space, user files (docs, images, etc) are often a major culprit and links (see here) may offer at least a partial solution,
Okay thanks, but all my files on /home are not on my root fs.
User avatar
arvy
Level 6
Level 6
Posts: 1230
Joined: Sat Mar 26, 2016 11:22 am

Re: Outsourcing /USR files - local disk full

Post by arvy »

Well, what does the Disk Usage Analyzer have to say about it?
System: Asus ROG Maximus XI Code mobo, Intel i9-9900K CPU, Nvidia GTX1080 GPU, 32 GB DDR4-3600 RAM, Sumsung Pro 2x512GB NVMe & 3x1TB SSD, Multiboot
linux-rox
Level 4
Level 4
Posts: 395
Joined: Sun Jul 19, 2020 9:17 pm

Re: Outsourcing /USR files - local disk full

Post by linux-rox »

BiB wrote:
Tue Aug 04, 2020 8:22 am

Code: Select all

Partition: ID-1: / size: 6.94 GiB used: 6.32 GiB (91.1%) fs: ext4 dev: /dev/sda6 
You've made this difficult by trying to get away with such a small root/system partition.
Post Reply

Return to “Installation & Boot”