How to expand device size with existing data


Hi, how I can expand storage device with data without corrupt.

I have sdb1 sdb2 sdb3. On sdb1 I have real spike data. another two are empty. If I stop spike, then via part util delete sdb2-3 and then change border of sdb1 to the end of the disk and after that start spike, will it be a correct way?


That will work. For added safety, I would zeroize sdb2 and sdb3 first (there are two methods to zeroize mentioned here). An extra precaution may be to take a backup first.