rooting – TWRP: Could not mount / data (even after formatting data / changing the file system)

I try to root a Vernee M5. I installed TWRP – what worked – and tried to install Magisk – what did not work (my guess is encryption)?

Now the phone always boots into Recovery / TWRP and I want to install the factory ROM so I can try routing it again.

However, installing TWRP ROM fails with the following error:

(...)
Updating partition details...
Failed to mount '/data' (Invalid argument)
...done

Restarting the device will reopen TWRP.

I tried wipe -> format data -> yes, which also fails:

(...)
Updating partition details...
Failed to mount '/data' (Invalid argument)
...done
Unable to mount storage

I also tried Wipe -> Advanced Wipe -> Data -> Repair or Change File System. Changing the file system fails with the above error message. The repair also leads to an error:

/sbin/e2fsck -fp /dev/block/mmcblk0p48 process ended with ERROR: 8

Some additional information: TWRP no longer asks for a password when booting. Internal memory is displayed as 0 MB during install, but still contains a folder structure. The console also shows that full SELinux support is in place and MTP is enabled.

How can I fix these errors and install the factory ROM?

Focus – Reason for offset in lens / sensor and triode mount?

I've found that my Canon Powershot G11 tripod mount is more in the center of the camera body and is not aligned with the lens / sensor. Is there a reason for that? When I turn the camera around the horizontal axis, the lens / sensor is not the center of the imaginary circle. I can not explain my concern exactly, but the fact that the lens / sensor is out of focus, that the focus of the circle is offset, bothers me.

mount – Runs ZFS as non-root

I am using Debian 10 on a VM (with KVM) and want to use ZFS as a non-root user. Here is what I did.

I added this line to my sources.list file

deb http://deb.debian.org/debian buster-backports main contrib non-free

Here is my full sources.list file

deb http://deb.debian.org/debian buster main contrib non-free
deb-src http://deb.debian.org/debian buster main contrib non-free

deb http://deb.debian.org/debian-security/ buster/updates main contrib non-free
deb-src http://deb.debian.org/debian-security/ buster/updates main contrib non-free

deb http://deb.debian.org/debian buster-updates main contrib non-free
deb-src http://deb.debian.org/debian buster-updates main contrib non-free

deb http://deb.debian.org/debian buster-backports main contrib non-free

I have ZFS installed

sudo apt install zfs-dkms zfsutils-linux -y

Then I got the following error message during the installation

Failed to start Mount ZFS filesystems

And I solved my problem by running

sudo /sbin/modprobe zfs
sudo apt upgrade -y

I have inserted the following line in the table /etc/modules

zfs

There are 2 hard drives connected to my VM:

I have created a pool

sudo zpool create -f mypool mirror /dev/vda /dev/sdb

See, my zpool list

$ sudo zpool list
NAME     SIZE  ALLOC   FREE  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH  ALTROOT
mypool  9.94G   291K  9.94G         -     0%     0%  1.00x  ONLINE  -

And mine zpool status

$ sudo zpool status
  pool: mypool
 state: ONLINE
  scan: none requested
config:

    NAME        STATE     READ WRITE CKSUM
    mypool      ONLINE       0     0     0
      mirror-0  ONLINE       0     0     0
        vda     ONLINE       0     0     0
        sdb     ONLINE       0     0     0

errors: No known data errors

Then I tried to delegate ZFS permissions.
So I added a new user:

sudo adduser zfsuser

I have changed the permissions of /mypool/

sudo chown zfsuser:zfsuser /mypool -R
sudo chmod u+rwx /mypool -R
sudo chmod go-rwx /mypool -R

Then I gave the permission

sudo zfs allow -u zfsuser create,destroy,mount mypool

Here is the result of zfs allow mypool

$ sudo zfs allow mypool
---- Permissions on mypool -------------------------------------------
Local+Descendent permissions:
    user zfsuser create,destroy,mount

But when I sign up as zfsuser

su zfsuser

The user can not mount even if I have given the permission in a previous command

$ /sbin/zfs create mypool/test
filesystem successfully created, but it may only be mounted by root

What do I miss?
Should I edit my fstab file so that zfsuser can be deployed? How am I supposed to do that

Many thanks

rabbitmq cubernetes with NFS mount

With the help of this tutorial, I've tried to set up a Rabbitmq cluster in a cubic NFS PVs environment. Unfortunately, it seems that the hare wants to change the owner of /usr/lib/rabbitmqbut if I put an NFS directory there, I get an error:

 $ kubectl logs rabbitmq-0 -f
chown: /var/lib/rabbitmq: Operation not permitted
chown: /var/lib/rabbitmq: Operation not permitted

I guess I have two options: disassembling the Rabbitmq and removing the chown, creating my own images, or making Kubernetes / NFS work well. I do not want to build my own fork and running Kubernetes / NFS does not sound like it should be my problem. Any other ideas?

backup – How can I mount a sparse bundle from a NAS?

I am in a difficult situation. I backed up my MacBook Pro with Time Machine on my QNAP NAS before I got a new MacBook Pro from my employer. Both were running Mojave. I have administrator rights, but they are somehow limited. Note that the option to manage this computer is grayed out.

Enter image description here

When I got the computer for the first time and tried to access the backup stored on my NAS, I was able to mount the Time Machine backup drive in my Finder and successfully pull some smaller files out of the backup folders into my new folder. However, when I tried to move my 40 GB photo library file to my new computer, it quit with the -50 error code.
I can not remember the exact wording of the error, but it was something like the operation can not be completed Error code -50.

Now I can not even mount the Time Machine backup drive in my Finder.

Was the sparsebundle somehow damaged?
Is my lack of full rights to my new computer a problem?
Is there another way to deploy the backup drive?

Many thanks. I hope I have provided enough information.

mount – question about cifs, fstab and automount

I'm relatively new to Linux / Ubuntu. I looked high and low in this article, and the next articles I found are:

Fstab mount smbfs share for user noauto, who asks for the password via the GUI

I try to reach the following:

  • Attempts to automatically activate a network drive at boot time.
  • I'm just running 19.10
  • all components installed correctly
  • processed /etc/stab To record: //servername/sharename /media/windowsshare cifs credentials=/home/ubuntuusername/.smbcredentials,iocharset=utf8,sec=ntlm 0 0
  • created /home/ubuntuusername/.smbcredentials right with usernamme= and password=
  • tested by running sudo mount -a on a terminal in my account and it hangs the drive perfectly
  • However, the drive is not automatically mounted at boot time. The only way to mount is to sign in and run my account sudo mount -a manually

Did I miss a step somewhere? Do I have to change that? /home/ubuntuusername/.smbcredentials File (currently at 600)

I've also read from the above article where a gentleman has suggested including an /etc/rc.local file. I tried, but did not work (chmod 755).

All instructions / instructions would be very grateful.

How do I bind mount libunionfs?

Samsung introduced a feature in its default ROM that transfers content from social media apps (such as WhatsApp) to the SD card and then links the two folders together.

I ran the following command in Termux:

$su
#mount | grep -i "whatsapp"

The following output has been returned:

libunionfs /mnt/runtime/default/emulated/0/WhatsApp fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
libunionfs /storage/emulated/0/WhatsApp fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
libunionfs /mnt/runtime/read/emulated/0/WhatsApp fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
libunionfs /mnt/runtime/write/emulated/0/WhatsApp fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0

I learned that from the net libunionfs is a virtual file system. How did Samsung create bindmounts for this system? normal #mount -o bind did not work.

What's the little thing about a Nikon lens mount?

It is simply used to adjust the auto iris (af) on older lenses. Using the manual iris, using the iris ring and speed as desired to learn the actual photography has no practical purpose.

A recommendation for learning manual photography (manual adjustment of sensitivity, ISO, aperture and focus) and forgetting the actual mechanics of the camera and lenses, unless you want to be camera repair.

Today, most digital photographers place a high value on using digital cameras to give a decent picture of what they wanted and not what the camera wanted.

For the latter, I would advise anyone to buy an iPhone 11 Pro, save a few bucks, and buy an automatic camera with much better AI than any other professional camera on the market today and for the foreseeable future, and one of the best if not the best smartphone in the market.

Can I mount a ring flash on the kit lens of the Olympus OM-D E-M10 Mark II?

I have an Olympus OM-D E-M10 Mark II and for some of the photos I want to take, I have reasons to believe that a ring flash would be a good option. I want to buy a cheap one and play with it, but I have never done that before. Is it possible to attach one to the kit lens? How is it mounted? How do I find compatible?

The lens shows Olympus 14-42 mm 1: 3.5-5.6 EZ ED MSC 0.2 m.

dnd 5e – Replace control of a mount

This is a situation that has recently occurred in a game in which I play. Two player characters rode an elephant in combat. The elephant acted as a controlled mount under the control of one of the riders whose order of initiative was higher than that of the second. During her turn, the controlling rider caused the elephant to move part of its speed and take the evasive action. Then they gave the other rider the reins and dismounted.

What should the second driver be able to do? In our game, the second rider made the elephant move the rest of his speed and gave him no new action. I think this is appropriate, but I'm curious if the rules can be read to give more specific instructions for situations in which the ruler of a mount changes during combat. In particular, does the initiative order of the first controller, the second controller, and the mount affect what and how it can happen?