Discussion:
[Libstoragemgmt-devel] How to test pool_create
Tony Asleson
2014-04-08 16:18:22 UTC
Permalink
Gris,

I'm trying to figure out how to test pool create functionality on actual
arrays. How do I determine which disks I can use to create a pool via
pool_create_from_disks?

Also, weren't we going to put some attribute(s) on pool so that we could
know what we could create from them? eg. Volumes, FileSystem, Pool etc.?

Thanks,
Tony
Gris Ge
2014-04-09 12:12:10 UTC
Permalink
Post by Tony Asleson
Gris,
I'm trying to figure out how to test pool create functionality on actual
arrays. How do I determine which disks I can use to create a pool via
pool_create_from_disks?
No design yet.
I can only think about two places could a disk be used:
1. Assemble the pool.
2. Spare disk.

Let me investigate out the spare disk things and discuss this next week.
Post by Tony Asleson
Also, weren't we going to put some attribute(s) on pool so that we could
know what we could create from them? eg. Volumes, FileSystem, Pool etc.?
Pool.optional_data.element_type: (Bit map)
ELEMENT_TYPE_UNKNOWN
ELEMENT_TYPE_POOL
ELEMENT_TYPE_VOLUME
ELEMENT_TYPE_FS
ELEMENT_TYPE_SYS_RESERVED
Post by Tony Asleson
Thanks,
Tony
--
Gris Ge
Loading...