virtual machines – How to get Azure File Share to work with WordPress multisite domain mapping when file share mounted to wp-content to resolve eorror 520

I am getting an error 520 on my images from sub-sites that domain mapped in wordpress. I am running azure file share with an azure vm that I plan to expand to more vm’s. The File share is mounted to the wp-content blogs.dir folder. If I move the images off the file share to the server everything works fine, but if I remount the file share then the images and content stored on the file share is inaccessible to the sub-sites, they are blocked from loading. This leads me to believe its a cross domain issue with Azure File Share, or an issue with the file share handling the mod rewrite, but that is all I have so far. I can’t figure out how to resolve.

My goal is to setup a scalable server hosting wordpress that I can connect other servers to for load balancing. So the file share would grant site content no matter the server the user connects to.

The main domain works fine ( as well the original wordpress domains unmapped (i.e., if I access the subsites through their original domains the images load and there are no errors. This only happens with a mapped domain ( and when the blogs.dir (running a multi-network) is mounted to the fileshare.

Please help

security – Problem with a sdcard under Android 7.1.2 three partitions can not be mounted / used

Happy New Year

there is a problem with my sdcard under Android 7.1.2 (Custom Rom) (root=true, adb=possible). The vFat Partition can be used, but the rest is not mounted and can not be used.

mmcblk1p1 vfat 183 GB Status : OK

mmcblk1p2 ext4 16 MB android meta Status: not mounted

mmcblk1p3 ext4 64 GB Status: not mounted (primary) (want to use that partition as adoptable Partition for extra internal memory)

mmcblk1p4 ext4 2 GB Status: not mounted (primary) (want to use that partition as SWAP Partition for extra RAM)

Trying to mount the Partition3 (64 GB) gives the error “mount: mounting /dev/block/mmcblk1p3 on /data/sdwyt2 failed: Invalid argument”
i have the apps “Apps2SD Pro” & “Link2SD” but they can’t mount the 3 partitions too.
Does anyone know how i can mount and use the three ext4 partitions?

External SD Card Mounted, Permissions granted, but still Inaccessible on LineageOS

I know there’s a ton of external SD card questions, but my case doesn’t seem to line up with any of them, sorry if this has been asked before and I just couldn’t find it.

I’m running LineageOS 14.1 on a Fire HD 10 Gen 7. When I insert my SD Card the system recognizes it, I go in and make sure that all the apps that need it have permission to access SD card storage, and I enabled Global Namespace in Magisk. But LineageOS only mounts it to /mnt/media_rw/0000-0000 and there is no way to access it without going through the root directory.

Using a root browser I can see all of it’s contents, but I can’t access anything using any other apps. For example, I can see there’s an mp4 file in the file browser, but if I open with VLC via the root browsers VLC immediately crashes. And if I try to go to the SD card via VLC, it isn’t there, the only storage is Internal Memory.

All the other question articles I read were either concerning moving apps to the SD card, which I was able to do with Link2SD when creating an ext4 partition on the card, but the FAT32 partition was still inaccessible even by the apps on the ext4 partition which makes me think the issue isn’t with the SD card (the SD card also works as intended on my PC), or were solved when they enabled permissions for the apps to access external storage, which I have done.

What do I need to do to make the SD Card accessible by apps other than my file browser?

hard drive – MacBook main volume can’t be mounted during boot

MacBook 7.1 (white unibody) from 2010, where I have upgraded to a new SSD some years ago. During startup the MacBook turns off when the loading bar is at about 80%. Booting in verbose mode I can see the error message for about 3sec before the computer switches off (haven’t found out how to stop it from shutting down to have a more detailed look at the output). I took a picture of the error:
Boot Error Message

This is a transcript of the image (some more details appear during shutdown for split of a second, but I haven’t been able to capture it.

disk0s2: I/O error
jnl: disk0s2: update_fs_block: failed to update block 2 (ret 5)
jnl: disk0s2: journal_open: Error replaying the journal!
hfs_mount: journal_open == NULL; couldn't be opened on MacBookSSD
mount_hfs: error on mount(): error = -1.
mount_hfs: Invalid argument
Tue Dec ... localhost <Emergency>: Boot task failed: mount
Tue Dec ... localhost <Emergency>: Shutting down in 3 seconds.

When booting in recovery mode (cmd + r) and starting disk utility, I can’t activate the “MacBookSSD” device by clicking “activate” (just nothing happens). It is shown as “deactivated”.

I have tried to do the “First Aid” and it appeared to be successful: Volume MacBookSSD appears to be ok, Exit-Code 0. However the error remained.

I have further tried the following:

  • Safe start (boot holding SHIFT). Same error appeared during startup.

  • FSCK in recovery mode using terminal:

    fsck_hfs -fy /dev/rdisk0s2
    ** The volume MacBookSSD appears to be OK. 
  • Tried to mount the device manually (same error as above):

    mkdir /tmp/3
    /sbin/mount_hfs /dev/disk0s2  /tmp/3
    mount_hfs: error on mount(): error = -1.
    mount_hfs: Invalid argument
  • Reset NVRAM (cmd + Alt + p + r during startup)

  • Reset SMC (Shift + Alt + Ctrl + Power)

That’s as far as I came with my humble unix/mac knowledge. What could I try next? I did some google research on this specific error, but couldn’t find anything on this specific error. People appear to have similar problems with external hard drives, but not with the main OS volumes. I can’t imagine the SSD being broken since it is comparably new, but who knows…

Edit: next step would probably be to reinstall OSX, but I’d like to rescue some data before…

com.termux linked or mounted on SD (Root Available)

So I’m trying to get more space into my termux to download and use
I’m trying to mount the folder onto the SD does anyone know how to already or done it?
I’ve seen that it isn’t possible but I don’t see why wouldn’t it be especially with root

dnd 5e – When I’m mounted, can I use the Bait and Switch maneuver exchanging the mount and my ally’s position?

Are you swapping your ally onto your mount and hopping down on the ground, or is your mount switching places with your ally? The title suggests the former, but the question itself doesn’t specify. The first case is addressed in another answer, so I’ll cover the second!

RAW, no

From Roll20,

While you’re mounted, you have two options. You can either control the mount or allow it to act independently. Intelligent creatures…act independently.

In this case, the end result is the same regardless of your mounting style (hmm, maybe not the best choice of words…). If your mount is independent,

(B)earing a rider puts no restrictions on the Actions the mount can take, and it moves and acts as it wishes,

but “Bait and Switch” is your maneuver, not your mount’s. An intelligent mount doesn’t get your class features, and therefore can’t swap with an ally.

If your mount isn’t independent, it still can’t swap with your ally, as it

moves as you direct it, and it has only three action options: Dash, Disengage, and Dodge.

dnd 5e – How does the Hunter ranger’s Horde Breaker feature interact with the Mounted Combatant feat’s ability to redirect an attack to the rider?

Roger is a Hunter ranger that has chosen the Horde Breaker option for the Hunter’s Prey class feature (Player’s Handbook, p. 93):

Once on each of your turns when you make a weapon attack, you can make another attack with the same weapon against a different creature that is within 5 feet of the original target and within range of your weapon.

Roger fires an arrow at Michael, a creature with the Mounted Combatant feat who is currently astride a horse. Roger then uses the Horde Breaker feature to fire a second arrow at Michael’s mount. Michael uses the second bullet point of the Mounted Combatant feat (Player’s Handbook, p. 168) to change the target of Roger’s attack:

You can force an attack targeted at your mount to target you instead.

Does Michael get targeted by two attacks? Or is the second attack no longer permitted, because Michael is not a valid target for Roger’s Horde Breaker attack?

fighter – Shielded Stride while Mounted

Pathfinder 2E

I’m building a Human Fighter into a sort of Knight character. I was curious about the 4th-level Class Feat Shielded Stride. The feat reads

When your shield is up, your enemies’ blows can’t touch you. When you have your shield
raised, you can Stride to move half your Speed without triggering reactions that are
triggered by your movement (such as Attacks of Opportunity). You can use Shielded Stride
while Flying or Swimming instead of Striding if you have the corresponding movement type.

This feat is a feature and not a feat that requires an action in order to use it. So my question is, if I

  • Mount a horse (1 action)
  • Raise Shield (2nd action),
  • Command Animal (3rd action, my part)
    • Move/Stride (3rd action, horses part) (only moving half of it’s speed as the feat requires)

Would the horse’s movement trigger any reactions, such as Attacks of Opportunity or would it not because I have taken the Shielded Stride feat?

A similar, but opposing question: can a horse’s movement be used within Combat Feats like Sudden Charge? I would hope so, but if my understanding is correct the horse’s movement has the prerequisite of me using Command Animal to make it move, while Sudden Charge’s movement is included within it’s 2 actions.

linux – df -h shows disk mounted in /mnt but /mnt size doesnt add up

If i run df -h i see the following

Filesystem      Size  Used Avail Use% Mounted on
udev             15G   12K   15G   1% /dev
tmpfs           3.0G  388K  3.0G   1% /run
/dev/xvda1       40G   16G   23G  41% /
none            4.0K     0  4.0K   0% /sys/fs/cgroup
none            5.0M     0  5.0M   0% /run/lock
none             15G     0   15G   0% /run/shm
none            100M     0  100M   0% /run/user
/dev/md0        305G  271G   35G  89% /mnt

You can see that the disk mounted under /mnt is supposed to have 271G of data stored. When i cd into /mnt tho and run find ./ -maxdepth 1 -type d -exec du -sh '{}' ';' to see all file and sizes there is only 8G of data

0   ./crash_dumps
0   ./gor
20K ./varnish
1.9M    ./tmp
72M ./filebeat
436M    ./logstash-forwarder
7.9G    ./nginx
8.4G    ./

What is wrong with my reasoning ? Why am i not seeing 271G of content?

systemd – zfs is mounted after mongod starts: how do I set the boot order?

Fairly simple problem, I think, but I can’t seem to get my head around a fix.

I’m on Ubuntu 18.04.3 and mounting zfs volumes with mongo-data at boot correctly with the config below in /etc/systemd/system/

Description=ZFS startup target


Problem is that this happens after the mongod service is started, making mongod fail.

Description=MongoDB Database Server

ExecStart=/usr/bin/mongod --config /etc/mongod.conf
# file size
# cpu time
# virtual memory size
# open files
# processes/threads
# locked memory
# total threads (user+kernel)
# Recommended limits for for mongod as specified in


I read up about the WantedBy, Requires and After directives, but I’m not confident I understand them well enough to play around with them.