Move a hard drive with the PostgreSQL data folder to another server

I am running a NAS server with an SD card mounted as / and low mounted RAID-1 storage / media / hdd. / etc The folder is on the SD card. The PostgreSQL data folder is on the RAID-1 disk.

/ - +
+ - etc
| + - postgres
| + - 10
| + - mycluster
|
+ - media
|
+ - hdd
+ - pgsql
+ - data
+ - mycluster

If I want to move the RAID-1 disks to a different box, what is the correct way to recreate a PostgreSQL cluster using the output data folder? Suppose I stopped the cluster, turned off the system, removed the hard drives and connected them to another box. Can I create a new cluster in that box using the existing data folder on the attached hard drives?

Thanks in advance.

Unity WebGL Build: Why does it only show an empty folder?

I'm trying to build my game, done in Unity 2018.3, and I'm trying to build it in WebGL, but the problem is that: it was built correctly, but the Folder is still empty, and here's the problem: I hope you can read it

This has never happened to me before. Does anyone know how to fix it?

windows – win10 does not have access to this folder takes a long time

Having SSD from another PC that has win10 home installed on it, there is no problem with the disk. I turn it off from my PC and also from Win10 Home, so I simply copy the files from the My Documents folder of that SSD. In doing so, the disk appears as a J: drive and I can navigate towards J: Users No problem.

When I try to enter the only user folder Juan under User out of that SSD I get the You do not have access to this folder. arise. I'm an administrator on my home PC, I click on continue to give me permission to access the Juan Folder of the other disk.

Why does it take so long to get into that folder? And my PC basically locks it up, very infuriating.

dual boot: how to encrypt the NTFS folder so that it is accessible from Linux and Windows

I have a dual-boot Ubuntu / Windows system with each operating system that has its own "private" partition and a common "shared" NTFS "data" partition between both systems.

I would like to encrypt one of the directories in the "data" partition so that it is still accessible from both systems.

my.ini – How to change the MySQL 8.0 data folder. Can I use OneDrive folders?

I'm trying to create a database for a very small program that only I and 2 other friends use, so the database will be small.

What I want to do is share this database with these 2 friends, so I thought about storing the data in a shared OneDrive folder.

At this moment, I am using a txt file as a "database". That is placed in a shared OneDrive folder, so that when my friends run the program, they can read the data from there and turn it into a kind of "online" in real time.

The thing is that I can not find the my.ini file in my

C:  Program Files  MySQL  MySQL Server 8.0  

Directory, so I can not change the data folder.

Another problem I have is that I do not have the data folder in that directory either, but I found it in this:

C:  Program Files  MySQL  MySQL Workbench 8.0 CE

Is it possible to do what I want to do? And how should I proceed?

Do you think I should be using the MySQL 5.x version?

Thank you

search engine – How do I get Automator to move a folder to Appname.app/Contents/etc?

I am trying to create a Quick Automator Action to move a selected folder to the Resources folder of an application, by clicking on Show package contents in the Applications folder.

There does not seem to be a way to move the folder there. I tried Move search engine elements, but it does not allow me to select the content of an application package.

The closest I've been to is simply dragging the folder to Automator, and then storing it in a variable, but for some reason, storing a value in one variable also stores it in the other, which is really strange and prevents me using this method .

Is there a way to do this, and if so, how would it be done?

update – Directory / folder path?

Trying to update from 2.3 -> 2.3.1

Using the subject luma.

Error message I received after entering the passwords & # 39; The invalid response line returned from the server: HTTP / 2 401 & # 39 ;.

I have been recommended to create a curl.php file and save it in lib / internal / Magento / Framework / HTTP / Client / Curl.php.

I do not have this directory path, mine is that I do not have this path on my system, mine is lib / internal {GnuFreeFont / LinLibertineFont}.

Do I create the path of the folder?

internal storage: is it safe to delete the logcat.txt files or the entire psysinfo folder to make more space on my Android phone?

I have an Android phone and the space in the sdcard is increasingly scarce …
(I do not understand how Android works, just a simple user).
In the following directory: mnt> sdcard

There's a psysinfo folder, which is 3.02 GB …
And in this folder there are subfolders like log6, log5
and so.
In these subfolders, there are some logcat.txt files and three of them have a size of 1 GB.

Will my Android phone work well if I just delete these files and free space (3.02 GB)?
I see the folders with & # 39; ES File Explorer & # 39; and I'm thinking of deleting these files using the same application. This application says that the previous folder and the logcat.txt files are the largest on my phone. My version of Android is 4.1.2.

I searched online to find what [ …> psysinfo ] The folder on Android is, but I could not find any information about it and then I looked for the removal of the logcat.txt files, but the information available seems to be for people like developers. I really could not understand it.

THANK YOU!

lvm – ls and find is hung in a folder. What to do?

I have a proxmox cluster with two nodes (s1 and s2). In s2, a given directory hangs forever (as in this question):

$> strace -vf ls -l / etc / pve / nodes / s2
[...]
open ("/ etc / pve / nodes / s2", O_RDONLY | O_NONBLOCK | O_DIRECTORY | O_CLOEXEC) = 3
fstat (3, {st_dev = makedev (0, 48), st_ino = 5, st_mode = S_IFDIR | 0755, st_nlink = 2, st_uid = 0, st_gid = 33, st_blksize = 4096, st_blocks = 0, st_size = 0, st_atime = 2017-06-19T18: 59: 35 + 0300, st_mtime = 2017-06-19T18: 59: 35 + 0300, st_ctime = 2017-06-19T18: 59: 35 + 0300}) = 0
getdents (3,

Find also hangs

$> cd / etc / pve / nodes / s2
$> strace -vf find.
[...]
openat (AT_FDCWD, ".", O_RDONLY | O_NOCTTY | O_NONBLOCK | O_DIRECTORY | O_NOFOLLOW) = 4
fcntl (4, F_GETFD) = 0
fcntl (4, F_SETFD, FD_CLOEXEC) = 0
fstat (4, {st_dev = makedev (0, 48), st_ino = 5, st_mode = S_IFDIR | 0755, st_nlink = 2, st_uid = 0, st_gid = 33, st_blksize = 4096, st_blocks = 0, st_size = 0, st_atime = 2017-06-19T18: 59: 35 + 0300, st_mtime = 2017-06-19T18: 59: 35 + 0300, st_ctime = 2017-06-19T18: 59: 35 + 0300}) = 0
fcntl (4, F_GETFL) = 0x38800 (flags O_RDONLY | O_NONBLOCK | O_LARGEFILE | O_DIRECTORY | O_NOFOLLOW)
fcntl (4, F_SETFD, FD_CLOEXEC) = 0
newfstatat (AT_FDCWD, ".", {st_dev = makedev (0, 48), st_ino = 5, st_mode = S_IFDIR | 0755, st_nlink = 2, st_uid = 0, st_glys = 0, st_blksize = 4096, st_blocks = 0, st_blocks = 0, st_atime = 2017-06-19T18: 59: 35 + 0300, st_mtime = 2017-06-19T18: 59: 35 + 0300, st_ctime = 2017-06-19T18: 59: 35 + 0300}, AT_SYMLINK_NOFOLLOW) = 0
fcntl (4, F_DUPFD, 3) = 5
fcntl (5, F_GETFD) = 0
fcntl (5, F_SETFD, FD_CLOEXEC) = 0
getdents (4,

I have a physical volume of LVM:

$> pvdisplay
--- Physical volume ---
Name PV / dev / sda3
VG Name pve
Size PV 1.82 TiB / not usable 3.07 MiB
Yes assignable
Size PE 4.00 MiB
Total PE 476859
Free PE 4039
Assigned PE 472820
PV UUID fcuPa5-Wscw-wQI2-YXjI-SoMc-nQPe-1orltO

that's part of the pve group

$> pvs
PV VG Fmt Attr PSize PFree
/ dev / sda3 pve lvm2 to-- 1.82t 15.78g

which has some logical volumes:

$> lvscan
ACTIVE & # 39; / dev / pve / swap & # 39; [8.00 GiB] inherit
ACTIVE & # 39; / dev / pve / root & # 39; [96.00 GiB] inherit
ACTIVE & # 39; / dev / pve / data & # 39; [1.70 TiB] inherit
ACTIVE & # 39; / dev / pve / vm-401-disk-1 & # 39; [4.00 GiB] inherit
  [...]

the mountain shows that / dev / fuse is mounted on / etc / pve

$> df / etc / pve / nodes / s2
/ dev / fuse 30720 36 30684 1% / etc / pve

I see some errors in dmesg I like this:

[  483.990347]    INFO: task lxc-pve-presta: 4588 blocked for more than 120 seconds.
[  483.990554]       Stained: P IO 4.15.18-16-pve # 1
[  483.990721] "echo 0> / proc / sys / kernel / hung_task_timeout_secs" disables this message.
[  483.990943] lxc-pve -render D 0 4588 4587 0x00000000
[  483.990945] Call Trace:
[  483.990947]  __schedule + 0x3e0 / 0x870
[  483.990949]  ? path_parentat + 0x3e / 0x80
[  483.990951]  schedule + 0x36 / 0x80
[  483.990953]  rwsem_down_write_failed + 0x208 / 0x390
[  483.990955]  call_rwsem_down_write_failed + 0x17 / 0x30
[  483.990957]  ? call_rwsem_down_write_failed + 0x17 / 0x30
[  483.990959]  down_write + 0x2d / 0x40
[  483.990961]  filename_create + 0x7e / 0x160
[  483.990963]  SyS_mkdir + 0x51 / 0x100
[  483.990965]  do_syscall_64 + 0x73 / 0x130
[  483.990967]  entry_SYSCALL_64_after_hwframe + 0x3d / 0xa2
[  483.990968] RIP: 0033: 0x7ff84077a687
[  483.990969] RSP: 002b: 00007fff343b4a98 EFLAGS: 00000246 ORIG_RAX: 0000000000000053
[  483.990971] RAX: ffffffffffffffda RBX: 000055ab07c8d010 RCX: 00007ff84077a687
[  483.990972] RDX: 0000000000000014 RSI: 00000000000001ff RDI: 000055ab0b26of70
[  483.990973] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000001
[  483.990974] R10: 000055ab0b0e1f38 R11: 0000000000000246 R12: 000055ab084ced58
[  483.990975] R13: 000055ab0b222fd0 R14: 000055ab0b26de70 R15: 00000000000001ff

My emails sent go to the spam folder

Many of my messages sent from Gmail seem to be received in the spam folder of the recipient, since they do not respond until I notify them.
Is there any reason for that?