I am writing a script to facilitate the partial automation of backups, and I have a single drive pool that goes in a hot swap on ada3.
Assuming a pool name BACKUP01 is there any reason for me not to manually import the pool with
This command defaults to mounting the pool as /BACKUP01 instead of under /mnt and it doesn't show up in the GUI, which is fine with me. Under normal circumstances only my scripts should interact with this pool, and I prefer the command line for this type of work since I can achieve a high degree of automation.
(I am hoping to automate to the point where offline backups are "load drive, run script, answer a couple of confirming questions, wait for backup to finish, check the output for errors and then remove the drive.)
Possible bug alert:
FreeNAS 11.1: I used the GUI to import, and then after use export three pools BACKUP01, BACKUP02, and BACKUP03 all on /dev/ada3. I noticed sometime later that I had a warning flashing in the GUI, and FreeNAS was complaining about not being able to mount ada3! (I cleanly exported each pool with the GUI, and got no error messages.) The message disappeared when I rebooted FreeNAS.
Assuming a pool name BACKUP01 is there any reason for me not to manually import the pool with
zpool import BACKUP01
? This command defaults to mounting the pool as /BACKUP01 instead of under /mnt and it doesn't show up in the GUI, which is fine with me. Under normal circumstances only my scripts should interact with this pool, and I prefer the command line for this type of work since I can achieve a high degree of automation.
(I am hoping to automate to the point where offline backups are "load drive, run script, answer a couple of confirming questions, wait for backup to finish, check the output for errors and then remove the drive.)
Possible bug alert:
FreeNAS 11.1: I used the GUI to import, and then after use export three pools BACKUP01, BACKUP02, and BACKUP03 all on /dev/ada3. I noticed sometime later that I had a warning flashing in the GUI, and FreeNAS was complaining about not being able to mount ada3! (I cleanly exported each pool with the GUI, and got no error messages.) The message disappeared when I rebooted FreeNAS.
Last edited: