Hi,
I have 2 ssds in a zfs mirror 500gb for my rpool. One disk failed recently (consumer cosair - only lasted about 5 months) I bought two enterprise ssds to replace the failed one. These are only 480gb (didn't check when ordering so my fault!)
Ideally I do not want to have to reinstall as its a live server. Is it possible to resize the rpool down by 30gb? There is plenty of free space. I am happy to use gparted or clonezilla as have used them in the past in this situation just never done on it on zfs and not sure if shriking zfs is even possible? I have googled and found quite a bit of conflicting information so wanted to co check here.
thanks!
rpool detail
I have 2 ssds in a zfs mirror 500gb for my rpool. One disk failed recently (consumer cosair - only lasted about 5 months) I bought two enterprise ssds to replace the failed one. These are only 480gb (didn't check when ordering so my fault!)
Ideally I do not want to have to reinstall as its a live server. Is it possible to resize the rpool down by 30gb? There is plenty of free space. I am happy to use gparted or clonezilla as have used them in the past in this situation just never done on it on zfs and not sure if shriking zfs is even possible? I have googled and found quite a bit of conflicting information so wanted to co check here.
thanks!
rpool detail
Code:
root@pve:~# zpool status rpool
pool: rpool
state: ONLINE
scan: resilvered 373G in 0 days 02:53:51 with 0 errors on Tue Mar 24 19:42:15 2020
config:
NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
ata-Samsung_SSD_850_EVO_500GB_S2RBNXBH240712B-part3 ONLINE 0 0 0
ata-CT500MX500SSD1_1920E2032341-part3 ONLINE 0 0 0
errors: No known data errors