Categories
Linux Mastering Development

Synology – `du -sh .` takes forever on the NAS but no time when mounted on Mac

My NAS has seemed slow and I’m not sure what tests to run to prove this. But this example I’m about to describe has happened and something has really gone bad. I’m hoping for answers for what I need to do to fix this and / or any troubleshooting I can perform. I mounted a […]

Categories
Linux Mastering Development Ubuntu

Error while copying files to external hard drive

I am trying to copy image files to an external hard drive. The file names are like “2020-03-25 09:21:27 624.jpg“. I have previously copied a similar data set to the same hard drive in Windows 10. However, when I try to do that in Ubuntu 18.04, the following error is displayed. I tried copying form […]

Categories
Linux Mastering Development Ubuntu

Cannot access ext drive properly (rwx problems)

When auto-mounted the drive is not read- or writable so I remount using: mount -o remount,uid=1000,gid=1000,rw /dev/.. mount says: rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2 Afaik uid 0 is root? As an example as to what I do: sudo su rm -f filename Now the file disappears from the folder as I intended, as soon as I reload the folder, […]

Categories
Mastering Development System & Network

Need salt difference between two servers [Need help in getting a workable bash script]

login_server1: ———- ID: sudoers Function: file.managed Name: /etc/sudoers Result: None Comment: The file /etc/sudoers is set to be changed Started: 16:20:19.495358 Duration: 34.495 ms Changes: ———- mode: 0400 ———- ID: autofs_direct Function: file.managed Name: /etc/auto.direct Result: None Comment: The file /etc/auto.direct is set to be changed Started: 16:20:19.686555 Duration: 19.359 ms Changes: ———- diff: — […]

Categories
User Help

How to expand partition and avoid erasing boot loader

I would like the help of someone more experienced to expand the partition where my Manjaro is installed. That’s how it looks like currently: I have three OSs installed: Windows, Manjaro and PopOS. I would like to completely erase PopOS, but I’m not sure how to find out where is it located. If I’m not […]

Categories
Android User Help

Mount USB OTG to specific destination folder Nexus 6

I have an app that looks for videos in a specific folder videos. I’m trying to get my fat flash drive to mount on the folder videos under sdcard internal storage Nexus 6 (no sdcard slot) lineageos 16 android 9 Tired su -mm 1|:/ # mount -o bind “/mnt/sdcard/videos” “/mnt/media_rw/A064A9EB64A9C3FE :/ # Did not work […]

Categories
Mastering Development System & Network

Need salt difference between two servers

login_server1: ———- ID: sudoers Function: file.managed Name: /etc/sudoers Result: None Comment: The file /etc/sudoers is set to be changed Started: 16:20:19.495358 Duration: 34.495 ms Changes: ———- mode: 0400 ———- ID: autofs_direct Function: file.managed Name: /etc/auto.direct Result: None Comment: The file /etc/auto.direct is set to be changed Started: 16:20:19.686555 Duration: 19.359 ms Changes: ———- diff: — […]

Categories
Linux Mastering Development Ubuntu

Ubuntu 18 NTFS Logical Drives Permission Denied

I am unable to get into the second (NTFS) drive on my Ubuntu machine. When I click on the drive icon, I get an error about not having enough permissions. This is what the FSTAB file looks like (of interest are those NTFS entries) # /etc/fstab: static file system information. # # <file system> <mount […]

Categories
Linux Mastering Development Ubuntu

/lib is not writable even for root

What can cause /lib not being accessible even for root? I can’t install new packages because almost every package wants to write to /lib. Someone suggested antivirus, but I have none. The only thing I remember installing is LXD. Description: Ubuntu 18.04.3 LTS # mount sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc type […]

Categories
Linux Mastering Development Ubuntu

copy on files which are binded and mount on linux fails

I am playing around with binding individual files and perform mount on them. I am following the same steps on 2 devices, one is an embedded Linux device and another on Ubuntu 16.04 machine. Following are the steps which I followed mkdir test cd test/ touch test.txt mount –bind test.txt /data/test/test.txt mount -o remount,rw,exec /data/test/test.txt […]