I started a zpool with three filesystems (in /dev/) ada0p4, ada1p1, ada2p1.
ZFS is very new to me so I probably made mistakes. I first made these partitions on the corresponding devices with a filesystem type freebsd-zfs (Is this step necessary?). Then I ran
I think one of my disks is malfunctioning so I bought a 10tb hdd to copy everything over and then look for the faulty drive. I put this in the PC and connected it. I just now noticed that it seems one of my zpool partitions appears to not exist anymore.
In /dev, both ada0p4 and ada1p1 are present. However ada2p1 is not. I now have ada2 and ada3 and I'm not sure which one is the new hdd.
If I run
However the zpool appears to be fine! I haven't tried accessing any of the files yet but if I run zpool status and I get:
So what is going on? Where is my 3rd partition? I see that diskid/DISK-S1XWJX0B300492p1 is in /dev, but why does gpart show nothing?
ZFS is very new to me so I probably made mistakes. I first made these partitions on the corresponding devices with a filesystem type freebsd-zfs (Is this step necessary?). Then I ran
zpool create storage /dev/ada0p4 /dev/adad1p1 /dev/ada2p1
. I'm not sure of the differences between partitions, slices, or even filesystems for that matter, but everything seemed to be working for the most part.I think one of my disks is malfunctioning so I bought a 10tb hdd to copy everything over and then look for the faulty drive. I put this in the PC and connected it. I just now noticed that it seems one of my zpool partitions appears to not exist anymore.
In /dev, both ada0p4 and ada1p1 are present. However ada2p1 is not. I now have ada2 and ada3 and I'm not sure which one is the new hdd.
If I run
gpart show ada2
I get gpart: No such geom: ada2
and similarly for ada3.However the zpool appears to be fine! I haven't tried accessing any of the files yet but if I run zpool status and I get:
Code:
pool: storage
state: ONLINE
scan: scrub repaired 0 in 7h2m with 0 errors on Wed Nov 22 07:04:03 2017
config:
NAME STATE READ WRITE CKSUM
storage ONLINE 0 0 0
ada0p4 ONLINE 0 0 0
ada1p1 ONLINE 0 0 0
diskid/DISK-S1XWJX0B300492p1 ONLINE 0 0 0
errors: No known data errors