heres the same basic thing on azure.

$ df
Filesystem     1K-blocks    Used Available Use% Mounted on
udev              321736       0    321736   0% /dev
tmpfs              68328    3216     65112   5% /run
/dev/sda1       29711408 1416484  28278540   5% /
tmpfs             341636       0    341636   0% /dev/shm
tmpfs               5120       0      5120   0% /run/lock
tmpfs             341636       0    341636   0% /sys/fs/cgroup
tmpfs              68328       0     68328   0% /run/user/1000

$ dpkg-query --show cloud-init
cloud-init      0.7.8-49-g9e904bb-0ubuntu1~16.04.2

$ cat /etc/cloud/build.info
build_name: server
serial: 20161213

$ df
Filesystem     1K-blocks    Used Available Use% Mounted on
udev              321736       0    321736   0% /dev
tmpfs              68328    3216     65112   5% /run
/dev/sda1       29711408 1416484  28278540   5% /
tmpfs             341636       0    341636   0% /dev/shm
tmpfs               5120       0      5120   0% /run/lock
tmpfs             341636       0    341636   0% /sys/fs/cgroup
tmpfs              68328       0     68328   0% /run/user/1000

$ grep [sv]db /proc/partitions
   8       16   20971520 sdb
   8       17   13841203 sdb1
   8       18    7129088 sdb2

$ cat /etc/fstab
# CLOUD_IMG: This file was created/modified by the Cloud Image build process
UUID=c50d1651-3fd4-4fae-9d8d-1713e9bb191e       /        ext4   
defaults,discard0 0
/dev/disk/cloud/azure_resource-part1    /mnt2   auto    
defaults,nofail,x-systemd.requires=cloud-init.service,comment=cloudconfig       
0       2
/dev/disk/cloud/azure_resource-part2    none    swap    sw,comment=cloudconfig  
00

$ sudo mount -a

$ df -h /mnt2
Filesystem      Size  Used Avail Use% Mounted on
/dev/sdb1        13G   33M   13G   1% /mnt2

$ free
              total        used        free      shared  buff/cache   available
Mem:         683276      109488      410920        3244      162868      445812
Swap:       7129084           0     7129084

$ grep [vs]db2 /proc/swaps
/dev/sdb2                               partition       7129084 0       -1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1460715

Title:
  MBR disk setup fails because sfdisk no longer accepts M as a valid
  unit

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1460715/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to