Apologies in advance if my questions are fundamental. First, some history to illustrate my knowledge level. I have been using FreeBSD for years as a desktop (since version 5.something or 6) and generally keeping the system and ports updated (with a foray or two into fixing an occasional broken port update), but that's about as far as my FreeBSD knowledge goes. Haven't been using a printer, USB drives, or doing anything fancy with disks (different filesystems, raid arrays, etc).
In the past, when I've done a complete reinstall to a new disk, I would set the old disk up in a separate machine, boot the older FreeBSD, and transfer my files via FTP to the new machine, keeping the old disk as a sort of backup when I was finished copying the files to the new machine. However, that is very cumbersome and time-consuming, and I'd like to avoid it this time if possible.
Recently, I found myself woefully behind on updating, so I've just installed Release 12.0 on a new 1tb SSD. The old disk was in a hot swappable bay I've had in the computer for a couple of years (installed due to paranoia after a burglary, so I could keep the disk with me), but I pulled the old disk out while I installed 12.0 on the new SSD, because I was worried about messing up and choosing the wrong drive to install on.
So, to cut to the chase, I have a machine with a new SSD with the OS (12.0 Release) and programs on it, 2 hot swap bays in the machine (just added another), and two 1tb drives (both with older bootable FreeBSD systems, the most recent has my personal data and configuration files that I'd like to keep). I would like to keep the SSD limited to the OS and programs for now if possible, and use the other two drives as my personal storage, one disk for regular use, and one to do backups on. My questions relate to this setup and how to achieve it. I have tried to look this up, and all the directions I have found refer to either adding a new disk to be partitioned, or adding a disk with existing data to a ZFS pool or RAID, neither of which seem to apply to my situation. (Yes, I have RTFM, too, many times.)
edit: Having written this out, I don't think this is all that complicated and I may have figured it out, but I also may be being somewhat blinded by my concern over keeping the data. Or I may be overthinking it, since I've been known to do that too.
I'd like either some reassurance that I'm going about this in the right way, some redirection where I may be going wrong, or suggestions for a better way I haven't thought of. I really just want to keep this as simple as possible (and the data safe, of course).
How do I add the older drives? Is it as simple as just plugging them into the bays, making sure the BIOS (or UEFI, I suppose) sees them, then booting the new 12.0 drive and making sure FreeBSD sees the older ones as it runs through its bootup?
Then I would have to mount them before I could access them, I'm sure (never done much mounting). And I should add them to /etc/fstab to have them mounted at boot automatically, right? If I removed the oldest one (being used as the backup drive), would it be a problem to have it automatically mounted at boot but then suddenly it's not there? I guess I could comment out that line before I shut down, when I was plannng to remove it, right?
I guess it might be helpful to label these disks so I can be sure which ones I'm accessing and so the names don't change around? Is this a good set of instructions to follow: Labeling partitions done right on modern computers?
I don't know what partitioning scheme is on the two older drives, so I don't know if they can be labeled with that method. It would be whatever the default partitioning scheme was at the time I originally installed those systems, with the oldest in 2014, I think, and the newer maybe around 2016. Is there a way to find that out from the drives?
Once they're mounted, is there any chance FreeBSD will get confused since there is currently an entire system on both of those drives, so it would see three /usr/homes, three /'s, etc? (There's definitely a chance that I might get confused.) Is there something I should do to avoid either possibility?
What would be the best way to use them the most transparently, that is, with the minimum amount of fuss? Maybe have symbolic links from my 12.0 home directory, i.e. ~.old and ~/older? And if I had symbolic links named something like that, maybe having a label wouldn't matter as much because the link name would make it clear?
Then, I suppose it will be ok to delete the OS from the previous drives, once I'm sure I won't need to boot off that drive, and as long as I make sure of which drives I'm deleting the OS from? Might be good to keep it on the newer one (of the two old drives), just in case?
Thanks for your thoughts and any answers, and also for all the answers I've gotten over the years without ever having to post and ask for them. ?
In the past, when I've done a complete reinstall to a new disk, I would set the old disk up in a separate machine, boot the older FreeBSD, and transfer my files via FTP to the new machine, keeping the old disk as a sort of backup when I was finished copying the files to the new machine. However, that is very cumbersome and time-consuming, and I'd like to avoid it this time if possible.
Recently, I found myself woefully behind on updating, so I've just installed Release 12.0 on a new 1tb SSD. The old disk was in a hot swappable bay I've had in the computer for a couple of years (installed due to paranoia after a burglary, so I could keep the disk with me), but I pulled the old disk out while I installed 12.0 on the new SSD, because I was worried about messing up and choosing the wrong drive to install on.
So, to cut to the chase, I have a machine with a new SSD with the OS (12.0 Release) and programs on it, 2 hot swap bays in the machine (just added another), and two 1tb drives (both with older bootable FreeBSD systems, the most recent has my personal data and configuration files that I'd like to keep). I would like to keep the SSD limited to the OS and programs for now if possible, and use the other two drives as my personal storage, one disk for regular use, and one to do backups on. My questions relate to this setup and how to achieve it. I have tried to look this up, and all the directions I have found refer to either adding a new disk to be partitioned, or adding a disk with existing data to a ZFS pool or RAID, neither of which seem to apply to my situation. (Yes, I have RTFM, too, many times.)
edit: Having written this out, I don't think this is all that complicated and I may have figured it out, but I also may be being somewhat blinded by my concern over keeping the data. Or I may be overthinking it, since I've been known to do that too.
I'd like either some reassurance that I'm going about this in the right way, some redirection where I may be going wrong, or suggestions for a better way I haven't thought of. I really just want to keep this as simple as possible (and the data safe, of course).
How do I add the older drives? Is it as simple as just plugging them into the bays, making sure the BIOS (or UEFI, I suppose) sees them, then booting the new 12.0 drive and making sure FreeBSD sees the older ones as it runs through its bootup?
Then I would have to mount them before I could access them, I'm sure (never done much mounting). And I should add them to /etc/fstab to have them mounted at boot automatically, right? If I removed the oldest one (being used as the backup drive), would it be a problem to have it automatically mounted at boot but then suddenly it's not there? I guess I could comment out that line before I shut down, when I was plannng to remove it, right?
I guess it might be helpful to label these disks so I can be sure which ones I'm accessing and so the names don't change around? Is this a good set of instructions to follow: Labeling partitions done right on modern computers?
I don't know what partitioning scheme is on the two older drives, so I don't know if they can be labeled with that method. It would be whatever the default partitioning scheme was at the time I originally installed those systems, with the oldest in 2014, I think, and the newer maybe around 2016. Is there a way to find that out from the drives?
Once they're mounted, is there any chance FreeBSD will get confused since there is currently an entire system on both of those drives, so it would see three /usr/homes, three /'s, etc? (There's definitely a chance that I might get confused.) Is there something I should do to avoid either possibility?
What would be the best way to use them the most transparently, that is, with the minimum amount of fuss? Maybe have symbolic links from my 12.0 home directory, i.e. ~.old and ~/older? And if I had symbolic links named something like that, maybe having a label wouldn't matter as much because the link name would make it clear?
Then, I suppose it will be ok to delete the OS from the previous drives, once I'm sure I won't need to boot off that drive, and as long as I make sure of which drives I'm deleting the OS from? Might be good to keep it on the newer one (of the two old drives), just in case?
Thanks for your thoughts and any answers, and also for all the answers I've gotten over the years without ever having to post and ask for them. ?