ephemeral device filesystems should be labeled with 'ephemeralX'
Bug #828357 reported by
Scott Moser
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Wishlist
|
Isaku Yamahata |
Bug Description
After bug 827598 is fixed , and there are filesystems already made on the ephemeral devices, it would be a very nice addition to label the filesystems with 'ephemeral0' or 'ephemeral1' corresponding to their block-device-
This would allow you to very easily add entries to fstab like:
LABEL=ephemeral0 /mnt auto defaults 0 0
Rather than dealing with block-device-
Thanks to ~ahasenack for this idea.
Related branches
lp:~yamahata/nova/lp827598
- Brian Lamar (community): Approve
- Vish Ishaya (community): Approve
-
Diff: 240 lines (+137/-5)6 files modifiednova/api/ec2/cloud.py (+24/-2)
nova/db/sqlalchemy/migrate_repo/versions/046_add_instance_swap.py (+48/-0)
nova/db/sqlalchemy/models.py (+2/-0)
nova/tests/test_cloud.py (+3/-1)
nova/virt/disk.py (+41/-0)
nova/virt/libvirt/connection.py (+19/-2)
lp:~smoser/nova/milestone-block-device-mappings
- OpenStack release team: Pending requested
-
Diff: 240 lines (+137/-5)6 files modifiednova/api/ec2/cloud.py (+24/-2)
nova/db/sqlalchemy/migrate_repo/versions/046_add_instance_swap.py (+48/-0)
nova/db/sqlalchemy/models.py (+2/-0)
nova/tests/test_cloud.py (+3/-1)
nova/virt/disk.py (+41/-0)
nova/virt/libvirt/connection.py (+19/-2)
Changed in nova: | |
assignee: | nobody → Isaku Yamahata (yamahata) |
importance: | Undecided → Wishlist |
status: | New → In Progress |
Changed in nova: | |
milestone: | none → 2011.3 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
So what you want is mkfs.ext3 -L ephemeral<N> <target device/file>
It's easy.