dreadpirate roberts
Cadet
- Joined
- Jan 5, 2014
- Messages
- 5
First time posting here, though I've had an (incorrectly configured) freenas home server for about 3.5 years. I first started with just one HDD, then (thought) I had a mirror with the addition of 2nd HDD after initial setup/config. About 1.5 years ago, I added 3rd HDD, believing I'd get a RAID5 equivalent config, with ultimate goal of adding 4th HDD to get 2x mirrored vdevs. Well, only when I finally tried to add 4th HDD (all HDDs are WD Red 3TB) last week via volume manager, and got following message:
... did I realize my first 3 disks were not configured like I thought (entirely my fault as I hadn't bothered to check carefully after each HDD addition). In particular, I have no idea how I ended up with a ZIL (too much time has passed so I can't honestly remember the exact steps I took, other than using volume manager to add the 2nd and 3rd disks). I realize I need to remove the ZIL per info I found here. Since this is a ZIL, I should be able to remove without affecting my current 2 disk striped vdev, right?
I found steps here and here with info on how to change a single disk stripe into a mirror. It's not clear to me whether the steps in the links would work for my 2 disk stripe. I'd appreciate any/all suggestions on how best to convert the 2 disk stripe to a 2 disk mirror, assuming it can be done.
If it cannot be done, I'm guessing I would need to use the (recovered) 3rd HDD, along with 4th HDD to create a new mirrored vdev and then copy the data over from my current 2 disk stripe, before wiping the stripe and then reconfigure that as a 2nd mirror, before adding both mirrors to a zpool? Or is it better to create a new zpool at same time as I create the new mirrored vdev (using 3rd/4th HDDs) and add the 2nd mirrored vdev to the zpool? Sorry if I'm asking a very obvious question, but, as you can see, I've not created/used a zpool before.
Thanks in advance.


... did I realize my first 3 disks were not configured like I thought (entirely my fault as I hadn't bothered to check carefully after each HDD addition). In particular, I have no idea how I ended up with a ZIL (too much time has passed so I can't honestly remember the exact steps I took, other than using volume manager to add the 2nd and 3rd disks). I realize I need to remove the ZIL per info I found here. Since this is a ZIL, I should be able to remove without affecting my current 2 disk striped vdev, right?
I found steps here and here with info on how to change a single disk stripe into a mirror. It's not clear to me whether the steps in the links would work for my 2 disk stripe. I'd appreciate any/all suggestions on how best to convert the 2 disk stripe to a 2 disk mirror, assuming it can be done.
If it cannot be done, I'm guessing I would need to use the (recovered) 3rd HDD, along with 4th HDD to create a new mirrored vdev and then copy the data over from my current 2 disk stripe, before wiping the stripe and then reconfigure that as a 2nd mirror, before adding both mirrors to a zpool? Or is it better to create a new zpool at same time as I create the new mirrored vdev (using 3rd/4th HDDs) and add the 2nd mirrored vdev to the zpool? Sorry if I'm asking a very obvious question, but, as you can see, I've not created/used a zpool before.
Thanks in advance.