Skip to main content
12 events
when toggle format what by license comment
Jun 13, 2019 at 15:10 comment added Eugen Rieck @poke Not all partitioning tools support resizing (most prominently fdisk does not), but all support deleting and recreating, which creates identical results.
Jun 13, 2019 at 14:56 comment added poke What is the reason why sda5 should be deleted and then re-added instead of just re-sizing it?
Jun 22, 2018 at 16:15 comment added Eugen Rieck I have edited my answer: You would have needed to stop the array to avoid a rebuild. Sorry for that, I assumed this was clear, but of course it wasn't
Jun 22, 2018 at 16:14 history edited Eugen Rieck CC BY-SA 4.0
added 240 characters in body
Jun 21, 2018 at 20:07 vote accept damaltor
Jun 21, 2018 at 20:07 comment added damaltor So, after waiting for the resync on both disks everything is working fine now again. the partition is now shrinked, and i made a new one behind it. thanks for helping me!
Jun 21, 2018 at 15:07 comment added damaltor The first resync is done. i have now changed the size of the second partition, which then also got kicked out of the raid, so i added it back in and they are syncing back up now... again. i am pretty sure that there would be a faster way, but this seems to do the trick. will come back after re-expanding the md and the filesystem afterwards.
Jun 21, 2018 at 12:35 comment added damaltor I did so now, i deleted and made the partition new. after reboot, the device was flagged as removed from the raid, so i re-added it. syncing back up now, will update on progress in the comments here.
Jun 20, 2018 at 21:52 comment added Eugen Rieck I definitly mean not removing it from the RAID - just changing the partition size, so that after the reboot the recreated partition with the existing RAID data is used. Superblock 1.2 should be fine.
Jun 20, 2018 at 20:14 comment added damaltor (Also, the Version is 1.2, so the Block should be near the beginning)
Jun 20, 2018 at 20:06 comment added damaltor Just to make sure, you mean deleting/adding the partition AFTER removing it from the raid?
Jun 20, 2018 at 19:55 history answered Eugen Rieck CC BY-SA 4.0