OP
That probably has something to do with the differences between ZFS and fat32 concerning allowable characters in a filename, or other file properties like permissions.I'm getting cp: crown: *** : invalid argument
That is because FAT does not have any idea of owners and groups.monwarez
I'm getting cp: chown: *** : invalid argument
#cp -iprv /tmp/mnt/usr/home/my folder/tmp/mnt1/myfiles
CrivensThat is because FAT does not have any idea of owners and groups.
So this is by design, if you need to preserve these information you need to tar the data together.
cd /media/where/target/isCrivens
be that case it may, how can one manage to get around "readonly" corrupted ssd drive and accomplish what you are suggesting.
+concisely put as your reply was, surely you've got something.
cd /media/where/target/is
tar zcf - /tmp/where/source/is | split -b 1500M
cwsys# zfs list cwsys/export
NAME USED AVAIL REFER MOUNTPOINT
cwsys/export 90.8G 224G 4.28G /export
cwsys#
cwsys# zfs get mountpoint cwsys/export
NAME PROPERTY VALUE SOURCE
cwsys/export mountpoint /export received
cwsys#
cwsys/var/mail /var/mail zfs rw 0 0
My assumption was that the pool was imported under a new root directory. Also, all of that was "from memory", so reading up on the man pages is strongly advised.Otherwise you'll only tar the datasets mounted under the zpool's mountpoint.
Even imported under a new directory, mountpoint properties are still honoured. This won't work without the extra effort of copying those mountpoints separately. The point is this will be painstakingly slow and detailed work.My assumption was that the pool was imported under a new root directory. Also, all of that was "from memory", so reading up on the man pages is strongly advised.
I found lots of how-tos for making a Linux-based, swiss army knife, bootable USB stick. Can you point me to a how-to for doing so with FreeBSD, please? Thank you.Personally, I maintain a bootable USB disk. It's used when recovering from serious problems, like this, plus it's used to restore from backups, allowing me to recreate any of my machines from backup. I also used it to copy my UFS system partitions (/, /usr, /var) and my zpool from my old legacy BIOS MBR laptop to my new UEFI GPT laptop, creating the necessary EFI partiton and copying the data from the old laptop's SSD to the current laptop's NVME SSD. A Swiss Army Knife bootable USB. You need a smidgen of this.
There is no how-to that I know of. I've been working with computers for ~50 years (19 with mainframe, 31+ with UNIX). I cobbled up a disk myself.I found lots of how-tos for making a Linux-based, swiss army knife, bootable USB stick. Can you point me to a how-to for doing so with FreeBSD, please? Thank you.
Thank you and understood. The second paragraph may point the way!There is no how-to that I know of. I've been working with computers for ~50 years (19 with mainframe, 31+ with UNIX). I cobbled up a disk myself.
What you need to do is install onto a USB instead of an internal disk, or clone your FreeBSD O/S (I did this). Then, install some ports. Keep the rest of the USB disk "empty." I maintain backups on the remainder of the disk; in the worst case I can use it to restore my laptop or servers downstairs (using an additional disk for backups).
There is no how-to for FreeBSD. Someone needs to write it. I would except I have way too much other FreeBSD work on my plate.