Using ncpcon to display volume ID's
This document (7008689) is provided subject to the disclaimer at the end of this document.
Environment
Novell Open Enterprise Server 11 (OES 11) Linux
Novell Cluster Services
Novell Business Continuity Clustering
Situation
As NCS is not aware that a cluster may be a peer in a BCC environment, it will always assign the next available volid when creating a new resource.
To list the available volumes the administrator ideally would have use the 'ncpcon volume' command but that does not list any volid's.
For example :
77160:/ # ncpcon volumes
... Executing " volumes"
Mounted Volumes
SYS
ADMIN
_ADMIN
VDNS
VDATA2
VDST
VGWISE
VIFOLDER
VDFS
VDATA
10 volumes mounted.
... completed OK [elapsed time = 501 usecs]
77160:/ #
To find out the volid for any given volume, the administrator would now have to go in and verify the 'ncpcon volume <volume_name>' command for each individual volume available to that server :
For example :
77160:/ # ncpcon volume vdata
... Executing " volume vdata"
Volume: VDATA
Status: online mounted NSS Long "cluster resource"salvageable
Mount point: /media/nss/VDATA
Shadow Mount point: (null)
Capacity: 29.90 GB
ID: 254
GUID: 0742964c-6e82-01e1-80-00-11e44cf2ebe8
Pool name: PDATA
... completed OK [elapsed time = 406 usecs]
77160:/ #
The larger and more dynamic the customer environment will be, the more cumbersome the volid management becomes.
Resolution
To find out the volid for any of the volumes available on a server, the administrator will now be able to use one single 'ncpcon volumes /v' command :
For example :
77160:/ # ncpcon volumes /v
... Executing " volumes /v"
Mounted Volumes NCP Volume ID
-----------------------------------------------------
SYS 0
ADMIN 1
_ADMIN 2
VDNS 248
VDATA2 249
VDST 250
VGWISE 251
VIFOLDER 252
VDFS 253
VDATA 254
10 volumes mounted.
... completed OK [elapsed time = 457 usecs]
77160:/ #
Additional Information
A solution for OES2 has been targeted for a upcoming patch release following this date.
Disclaimer
This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7008689
- Creation Date:05-JUN-12
- Modified Date:05-JUN-12
- NovellBusiness Continuity ClusteringCluster ServicesOpen Enterprise Server
Did this document solve your problem? Provide Feedback