I am working on a backup script that mounts single drive pool in a hot swap drive caddy, and for some the drive does not show up when I do
Here is what I did:
Does anyone have any idea as to why this might be happening, and more importantly how I can fix it?
Thanks in advance for any assistance/hits/suggestions. Happy to provide additional information if need - just let me know what you need to know.
glabel status
even though I have a pool mounted that is functioning correctly. I am hoping someone could tell me why/how to fix this.Here is what I did:
- I inserted an unformatted disk into the drive in the machine and spun it up
- Did a
zpool create BACKUP02 /dev/ada3
(The pool is correctly mounted as /BACKUP02)
(which is what I want in this application-don't want the GUI managing/touching it in any way)
touch /BACKPUP02/junkfile
successfully creates a filezpool status
reports the pool as online with no errors.- smartctl -a /dev/ada3 also works as expected.
glabel status
reports the presence of all the other drives (da0p2, da1p2, da2p2, da3p2, da4p2, da5p2, da6p2, da7p2, ada0p2, ada1p2, ada2p1) on the system correctly.Does anyone have any idea as to why this might be happening, and more importantly how I can fix it?
Thanks in advance for any assistance/hits/suggestions. Happy to provide additional information if need - just let me know what you need to know.