psm321 Posted January 25, 2019 Share Posted January 25, 2019 So I've read various pages and see that the recommended method to replace a data drive with a larger one is to simply unassign the old one, assign the new one, and let it rebuild onto it. My question, out of curiosity, is how the filesystem is grown (since there don't seem to be any instructions for it and people seem to say that it "just works"). I would assume that the kernel-level unraid md driver only literally rebuilds the disk image. Does emhttpd throw some magic on top of that that edits the partition table and grows the fs after the rebuild is done or something? Just want to understand exactly what I'm doing before I proceed (I'm a nerd!) Quote Link to comment
JonathanM Posted January 25, 2019 Share Posted January 25, 2019 Sort of. I think the way it's implemented is that array devices are expanded as part of the mount process. I'm pretty sure I've seen the messages in the syslog about that, so maybe take a look and see what you see? 1 Quote Link to comment
psm321 Posted January 26, 2019 Author Share Posted January 26, 2019 Thanks! I see that it does xfs_growfs on every disk it mounts And runs sgdisk to create a new partition table on some subset of disks, seems most likely newly-added ones. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.