Claims
- 1. An apparatus for creating a logical volume, comprising:means for generating a partition/aggregate list; means for providing a current feature indicator for each feature of each entry in the partition/aggregate list; and means for applying features to partition/aggregate list entries in accordance with the current feature indicators, wherein the means for applying features to partition/aggregate list entries in accordance with the current feature indicators includes means for applying features to partition/aggregate list entries based on a lowest current feature indicator count of all of the entries in the partition/aggregate list.
- 2. An apparatus for creating a logical volume, comprising:means for generating a partition/aggregate list; means for providing a current feature indicator for each feature of each entry in the partition/aggregate list; and mean for applying features to partition/aggregate list entries in accordance with the current feature indicators, wherein the means for applying features to partition/aggregate list entries in accordance with the current feature indicators includes means for applying all of the features for an entry in a partition/aggregate list entry until an incomplete results is returned and then moving on to a next entry in the partition/aggregate list.
- 3. An apparatus for creating a logical volume, comprising:means for generating a partition/aggregate list; means for providing a current feature indicator for each feature of each entry in the partition/aggregate list, and means for applying features to partition/aggregate list entries in accordance with the current feature indicators, wherein the means for applying features to partition/aggregate list entries includes: means for identifying a current feature indicator count for an entry in the partition/aggregate list; means for attempting to apply a feature, having a current feature indicator corresponding to the current feature indicator count, to the entry; and means for incrementing the current feature indicator count for the entry if the attempt to apply the feature is successful.
- 4. The apparatus of claim 3, wherein the means for generating a partition/aggregate list includes:means for identifying partitions that are part of the logical volume; and means for generating an entry in the partition/aggregate list for each partition that is part of the logical volume based on logical volume data associated with the partition, wherein each entry contains one or more feature identifiers to be applied to the partition.
- 5. The apparatus of claim 3, further comprising:means for identifying a current feature indicator count for a next entry in the partition/aggregate list if the attempt to apply the feature is not successful; and means for attempting to apply a feature, having a current feature indicator corresponding to the current feature indicator count of the next entry in the partition/aggregate list.
- 6. The apparatus of claim 3, wherein the current feature indicator count is not incremented if the attempt to apply the feature is not successful.
- 7. The apparatus of claim 3, further comprising:means for replacing entries in the partition/aggregate list if the attempt to apply the feature is successful and the feature is an aggregator.
- 8. The apparatus of claim 3, further comprising:means for returning to a first entry in the partition/aggregate list if the attempt to apply the feature is successful, wherein the means for identifying, means for attempting, means for incrementing and means for returning repeatedly operate until a stop condition occurs.
- 9. The apparatus of claim 8, wherein if the attempt to apply the feature is not successful, the current feature indicator count for the entry is not incremented and the means for identifying, means for attempting, means for incrementing, and means for returning operate on a next entry in the partition/aggregate list.
- 10. The apparatus of claim 8, wherein the stop condition is one of all of the features for all of the entries in the partition/aggregate list being applied successfully, and a last entry in the partition/aggregate list returning a failure when attempting to apply a feature.
- 11. The apparatus of claim 3, wherein the apparatus includes a logical volume manager.
- 12. A method, in a data processing system, for creating a logical volume, comprising:generating a partition/aggregate list; providing a current feature indicator for each feature of each entry in the partition/aggregate list; and applying features to partition/aggregate list entries in accordance with the current feature indicators, wherein applying features to partition/aggregate list entries in accordance with the current feature indicators includes applying features to partition/aggregate list entries based on a lowest current feature indicator count of all of the entries in the partition/aggregate list.
- 13. A method, in a data processing system, for creating a logical volume, comprising:generating a partition/aggregate list; providing a current feature indicator for each feature of each entry in the partition/aggregate list; and applying features to partition/aggergate list entries in accordance with the current feature indicators, wherein applying features to partition/aggregate list entries in accordance with the current feature indicators includes applying all of the features for an entry in a partition/aggregate list entry until an incomplete result is returned and then moving on to a next entry in the partition/aggregate list.
- 14. A method, in a data processing systems, for creating a logical volume, comprising:generating a partition/aggregate list; providing a current feature indicator for each feature of each entry in the partition/aggregate list; and applying features to partition/aggregate list entries in accordance with the current feature indicators, wherein generating a partition/aggregate list includes: identifying partitions that are part of the logical volume, and generating an entry in the partition/aggregate list for each partition that is part of the logical volume based on logical volume data associated with the partition, wherein each entry contains one or more feature identifiers to be applied to the partition; and wherein applying features to partition/aggregate list entries includes: identifying a current feature indicator count for an entry in the partition/aggregate list; attempting to apply a feature, having a current feature indicator corresponding to the current feature indicator count, to the entry; and incrementing the current feature indicator count for the entry if the attempt to apply the feature is successful.
- 15. The method of claim 14, further comprising:identifying a current feature indicator count for a next entry in the partition/aggregate list if the attempt to apply the feature is not successful; and attempting to apply a feature, having a current feature indicator corresponding to the current feature indicator count of the next entry in the partition/aggregate list.
- 16. The method of claim 14, wherein the current feature indicator count is not incremented if the attempt to apply the feature is not successful.
- 17. The method of claim 14, further comprising:replacing entries in the partition/aggregate list if the attempt to apply the feature is successful and the feature is an aggregator.
- 18. The method of claim 14, further comprising:returning to a first entry in the partition/aggregate list if the attempt to apply the feature is successful; and performing the steps of identifying, attempting, incrementing and returning repeatedly until a stop condition occurs.
- 19. The method of claim 18, wherein if the attempt to apply the feature is not successful, the current feature indicator count for the entry is not incremented and the steps of identifying, attempting, incrementing, and returning are performed for a next entry in the partition/aggregate list.
- 20. The method of claim 18, wherein the stop condition is one of all of the features for all of the entries in the partition/aggregate list being applied successfully, and a last entry in the partition/aggregate list returning a failure when attempting to apply a feature.
- 21. The method of claim 14, wherein the method is implemented in a logical volume manager on the data processing system.
- 22. A computer program product in a computer readable medium for creating a logical volume, comprising:first instructions for generating a partition/aggregate list; second instructions for providing a current feature indicator for each feature of each entry in the partition/aggregate list; and third instructions for applying features to partition/aggregate list entries in accordance with the current feature indicators, wherein applying features to partition/aggregate list entries includes: fourth instructions for identifying a current feature indicator count for an entry in the partition/aggregate list; fifth instructions for attempting to apply a feature, having a current feature indicator corresponding to the current feature indicator count, to the entry; and sixth instructions for incrementing the current feature indicator count for the entry if the attempt to apply the feature is successful.
- 23. The computer program product of claim 22, wherein generating a partition/aggregate list includes:fourth instructions for identifying partitions that are part of the logical volume; and fifth instructions for generating an entry in the partition/aggregate list for each partition that is part of the logical volume based on logical volume data associated with the partition, wherein each entry contains one or more feature identifiers to be applied to the partition.
- 24. The computer program product of claim 22, wherein the third instructions for applying features to partition/aggregate list entries in accordance with the current feature indicators includes instructions for applying features to partition/aggregate list entries based on a lowest current feature indicator count of all of the entries in the partition/aggregate list.
- 25. The computer program product of claim 22, wherein the third instructions for applying features to partition/aggregate list entries in accordance with the current feature indicators includes instructions for applying all of the features for an entry in a partition/aggregate list entry until an incomplete result is returned and then moving on to a next entry in the partition/aggregate list.
- 26. The computer program product of claim 22, further comprising:seventh instructions for identifying a current feature indicator count for a next entry in the partition/aggregate list if the attempt to apply the feature is not successful; and eighth instructions for attempting to apply a feature, having a current feature indicator corresponding to the current feature indicator count of the next entry in the partition/aggregate list.
- 27. The computer program product of claim 22, wherein the current feature indicator count is not incremented if the attempt to apply the feature is not successful.
- 28. The computer program product of claim 22, further comprising:seventh instructions for replacing entries in the partition/aggregate list if the attempt to apply the feature is successful and the feature is an aggregator.
- 29. The computer program product of claim 22, further comprising:seventh instructions for returning to a first entry in the partition/aggregate list if the attempt to apply the feature is successful; and eighth instructions for executing the first, second, third and fourth instructions repeatedly until a stop condition occurs.
- 30. The computer program product of claim 29, wherein if the attempt to apply the feature is not successful, the current feature indicator count for the entry is not incremented and the first, second, third and fourth instructions are executed for a next entry in the partition/aggregate list.
- 31. The computer program product of claim 22, wherein the computer program product is executed in a logical volume manager on a data processing system.
- 32. The computer program product of claim 29, wherein the stop condition is one of all of the features for all of the entries in the partition/aggregate list being applied successfully, and a last entry in the partition/aggregate list returning a failure when attempting to apply a feature.
RELATED APPLICATIONS
The present application is related to commonly assigned and co-pending U.S. patent application Ser. No. 09/697,579 entitled “METHOD AND AN APPARATUS FOR DYNAMIC COMMAND LINE PARSING IN THE PRESENCE OF MULTIPLE PLUG-IN COMPONENTS” and Ser. No. 09/697,449 entitled “METHOD AND AN APPARATUS TO DYNAMICALLY ORDER FEATURES AND TO RESOLVE CONFLICTS IN A MULTIPLE-LAYER LOGICAL VOLUME MANAGEMENT ENVIRONMENT”, filed on even date herewith, and hereby incorporated by reference.
US Referenced Citations (16)
Number |
Name |
Date |
Kind |
5129088 |
Auslander et al. |
Jul 1992 |
A |
5842214 |
Whitney et al. |
Nov 1998 |
A |
5862331 |
Herriot |
Jan 1999 |
A |
5903913 |
Ofer et al. |
May 1999 |
A |
5946685 |
Cramer et al. |
Aug 1999 |
A |
6061743 |
Thatcher et al. |
May 2000 |
A |
6256031 |
Meijer et al. |
Jul 2001 |
B1 |
6381627 |
Kwan et al. |
Apr 2002 |
B1 |
6401183 |
Rafizadeh |
Jun 2002 |
B1 |
6453383 |
Stoddard et al. |
Sep 2002 |
B1 |
6496839 |
Cabrera et al. |
Dec 2002 |
B2 |
6516325 |
Blanchard et al. |
Feb 2003 |
B1 |
6636871 |
Rafanello et al. |
Oct 2003 |
B1 |
6647393 |
Dietterich et al. |
Nov 2003 |
B1 |
6654881 |
Cabrera et al. |
Nov 2003 |
B2 |
6671688 |
Nikols et al. |
Dec 2003 |
B1 |