Hi everyone,
Due to errors with the boot drive and despite it still working fine I decided to clone it to a brand new drive with a larger capacity using ...
The cloning completed successfully and I extended the disk using this page ...
https://www.freebsd.org/doc/handbook/disks-growing.html
The new drive successfully boots to a login prompt and no errors are seen. However MySQL refuses to start. The only thing I could find was regarding the location of the "MySQL.sock" file which was missing in the /tmp directory. On the original hard drive the "MySQL.sock" file is there and is of type "socket".
Does this mean
Due to errors with the boot drive and despite it still working fine I decided to clone it to a brand new drive with a larger capacity using ...
pv -tpreb /dev/ada0 | dd of=/dev/ada2 bs=1G conv=noerror
The cloning completed successfully and I extended the disk using this page ...
https://www.freebsd.org/doc/handbook/disks-growing.html
The new drive successfully boots to a login prompt and no errors are seen. However MySQL refuses to start. The only thing I could find was regarding the location of the "MySQL.sock" file which was missing in the /tmp directory. On the original hard drive the "MySQL.sock" file is there and is of type "socket".
Does this mean
DD
isn't copying files of this type or if that isn't relevant how do I recreate this "socket" file so I can start MySQL.