Verified Commit 80377272 authored by anarcat's avatar anarcat 💥
Browse files

note sdc corner case when resizing ganeti

parent 2199a04d
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -346,9 +346,18 @@ sda 8:0 0 20G 0 disk
└─sda1   8:1    0  10G  0 part /
sdb      8:16   0   2G  0 disk [SWAP]
sdc      8:32   0  40G  0 disk /srv

```

If `sdc` is the resized disk, the kernel might not have noticed the
size change, and you might need to kick it. There might be easier
ways, but a reboot would sure do it:

    reboot

And in that case, the partition is *already* resized, so you do not
need to go through the `fdisk` process below and jump straight to the
last `resize2fs` step.

We use fdisk on the device:

```