[Bug 1410835] Re: Azure ephemeral disk and custom mount points

Daniel Watkins daniel.watkins at canonical.com
Fri Jan 16 16:04:06 UTC 2015


Actually, I've realised that I was passing in invalid cloud
configuration data. If I have the following in azure-disk.cfg:

#cloud-config
disk_setup:
    ephemeral0:
        table_type: mbr
        layout: [66, 33]
        overwrite: True
fs_setup:
    - device: ephemeral0.1
      filesystem: ext4
    - device: ephemeral0.2
      filesystem: ext4
mounts:
    - ["ephemeral0.1", "/mnt", "auto", "defaults,nobootwait", "0", "0"]
    - ["ephemeral0.2", "/media", "auto", "defaults,nobootwait", "0", "0"]

and I run:

$ azure vm create ... --custom-data azure-disk.cfg

then I see the following:

$ ssh ubuntu at oddbloke-disk-150116-1555.cloudapp.net df -h
Filesystem      Size  Used Avail Use% Mounted on
...
/dev/sdb1       393G   71M  373G   1% /mnt
/dev/sdb2       203G   60M  192G   1% /media


I think there _is_ a problem with specifying swap partitions (they don't seem to get `mkswap` run on them before a mount is attempted). That will be handled in bug 1374166, so I'm going to mark this as Invalid and we can track the swap issues over there.

** Changed in: cloud-init (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/1410835

Title:
  Azure ephemeral disk and custom mount points

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



More information about the Ubuntu-server-bugs mailing list