Page MenuHomePhabricator

New instances don't have /dev/vdb
Closed, InvalidPublic

Description

I created new instance i-000000e7.eqiad.wmflabs

it doesn't have /dev/vdb

according to template, it should have 20gb storage, however

Disk /dev/vda: 21.5 GB

Device Boot      Start         End      Blocks   Id  System

/dev/vda1 63 15998046 7998992 83 Linux
/dev/vda2 15998976 19998719 1999872 83 Linux
/dev/vda3 19998720 23998463 1999872 82 Linux swap / Solaris

vda1 is mounted as / of size 7.4G
vda2 is mounted as /var of size 1.9G
vda3 is mounted as swap of size 1.9G

10G is lost? o.O

this is really weird...


Version: unspecified
Severity: normal

Details

Reference
bz62219

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:57 AM
bzimport set Reference to bz62219.
bzimport added a subscriber: Unknown Object (MLST).

They do not. The extra space is partitioned by default, on /dev/vda.

You can either partition it (fdisk), or use the labs_lvm class in puppet to manage a volume group which you can then use as needed with labs_lvm::volume

nvm, I just figured it out, for some reason fdisk refused to create partition in that free space, but parted did