Actions
action #80956
closedupdate osd VM root disk VM config and resize root disk on osd
Start date:
2020-12-10
Due date:
% Done:
0%
Estimated time:
Description
Same as in #57680 for o3 we should increase the size for osd root disk to have a bit more headroom
Updated by okurz almost 4 years ago
- Subject changed from resize root disk on osd to update osd VM root disk VM config and resize root disk on osd
today I conducted maintenance on osd disks with gschlotter as he informed me some days ago that the configuration for the disk in libvirt should be updated from
<disk type='file' device='disk'>
<driver name='qemu' type='raw' cache='none'/>
<source file='/dev/mapper/3600a098054344a77432b4550736e7850'/>
<backingStore/>
<target dev='vdd' bus='virtio'/>
<alias name='virtio-disk3'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
</disk>
to
<disk type='block' device='disk'>
<driver name='qemu' type='raw' cache='none'/>
<source dev='/dev/disk/by-id/dm-uuid-mpath-3600a098051764a2d345d436b4a445669'/>
<backingStore/>
<target dev='vdc' bus='virtio'/>
<alias name='virtio-disk2'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
</disk>
On 2020-12-10 he conducted the change while osd VM was powered down and we confirmed that the machine booted up correctly afterwards, e.g. no disk identifiers changed.
While we were at it we also resized the root disk from 10GB to 20GB.
Updated by okurz almost 4 years ago
- Status changed from In Progress to Resolved
did the change with
swapoff /dev/vda2
parted /dev/vda
mkswap /dev/vda2
swapon /dev/vda2
resize2fs /dev/vda1
# df -h /
Filesystem Size Used Avail Use% Mounted on
/dev/vda1 20G 6.5G 12G 36% /
Actions