Increase mirrored pool capacity reddit / freebsd ---------------------------------------------------------------------- orutrasamreb · 2023-08-30 07:33 I replaced my disks in my mirrored pool with a higher capacity disk (from 4TB to 8TB). My question, after replacing all the disks, do I need to set autoexpand=on and "zpool online -e /dev/ /dev/ ......" or just the "zpool online -e" for the new disk space to be available to the pool? Thanks in advance ---------------------------------------------------------------------- timvandijknl · 2023-08-30 09:06 I would say... assuming your pool is called **pool** and **ada1** \+ **ada2** are the disks: 1. Enable growth: `zpool set autoexpand=on pool` 2. Replace the first disk and let it resilver 1. take disk 1 offline with `zpool offline pool /dev/ada1` 2. replace the physical disk 3. put disk 1 online with `zpool replace pool /dev/ada1` and `zpool online pool /dev/ada1` 4. let it resilver. 3. repeat this for /dev/ada2, except use `zpool online -e pool /dev/ada2` so it can expand. After both disks have resilvered, it should be grown to the new size ---------------------------------------------------------------------- UnatkozoKollund · 2023-08-30 18:23 saved this for later use. thanks! ---------------------------------------------------------------------- cmic37 · 2023-08-31 07:55 in cas you forgat to set autoexepand before changing the hds, don't worry. After changing the 2 hds (aka providers) do this: zpool online -e mymirror /dev/ada1 zpool online -e mymirror /dev/ada2 tested ---------------------------------------------------------------------- cmic37 · 2023-08-31 08:15 Out of topic. How come your code is in written in red in your post ? (Reddit noob writer..). I know there is a sub to practice reddit editing, but i can't remember which sub. ---------------------------------------------------------------------- timvandijknl · 2023-08-31 09:56 highlight the text in your message and hit that `` button, or if you use markdown mode, put the text between \` \` , just like in shell scripting 😏 ---------------------------------------------------------------------- cmic37 · 2023-08-31 17:15 ? button ?? Sorry to be so.. Noob. ---------------------------------------------------------------------- timvandijknl · 2023-08-31 19:09 Yeah... below the field where you type your text... there's buttons for making text bold, italic, inserting a link, etc.. there's also one that looks like **** for inserting "inline code". It might be hidden under the 3-dotted option though. ---------------------------------------------------------------------- cmic37 · 2023-09-01 06:22 I get it. Thank you for your kindness. ---------------------------------------------------------------------- timvandijknl · 2023-09-01 07:35 This is the way 😀🤜🤛😀