Novell Cool Solutions

Error: Volume NCP could not be created, error 22



By:

September 12, 2007 3:17 pm

Reads:6,316

Comments:0

Score:Unrated

Print/PDF

Problem:

NCP volume creation on OES 2.0 server is failing by giving error as “Volume NCP could not be created, error 22.”

Solution:

You will be trying to create a NCP volume which was exiting before assuming you have removed the volume by deleting the path to which it was mounted.

E.G.: run ncpcon volume on the linux console, you will see both NSS and NCP volumes existing on that server. Assume there is a ncp volume by name the NCP existing.

path /ncp/ is mounted to NCP volume. (NCP is a volume name)
remove /ncp/ by running command rm -fr /ncp/

Now, if you run the ncpcon volume command, you will not be able to see NCP under volumes since the mount point is removed.

Since the volume name does not exists in the list, if you try to create a volume with the same name as NCP you will get the above error:

The solution is to remove the volume by running:

ncpcon remove volume <ncp volume name> 

command from the linux console. Once it deletes the volume successfully, try to create the same.

Please see the example for detailed info.

Example:

systst-ts-164:/ # ncpcon volume
... Executing " volume"

Mounted Volumes
        SYS
        NCPVOL1
        _ADMIN
        COOL
        FUN
        NSS
        NSS1
        NSS2
        NSS3

9 volumes mounted.

... completed OK [elapsed time = 1 msecs 462 usecs]
======> In the above command NCP is not listed since I have
removed the path to which it was mounted.  
Now I am trying to create the volume.  Note the error ...
systst-ts-164:/ # ncpcon create volume NCP /ncp/
... Executing " create volume NCP /ncp/"
Volume NCP could not be created, error 22.

... completed OK [elapsed time = 809 usecs]
=========> Now I am try to remove the volume 
systst-ts-164:/ # ncpcon remove volume NCP
... Executing " remove volume NCP"
Volume NCP has been removed.

... completed OK [elapsed time = 27 msecs 335 usecs]
========> Now I am creating the volume again.
systst-ts-164:/ # ncpcon create volume NCP /ncp/
... Executing " create volume NCP /ncp/"
Volume NCP has been created.

... completed OK [elapsed time = 1 Second 41 msecs 597 usecs]
==========> Listing the volumes.
systst-ts-164:/ # ncpcon volume
... Executing " volume"

Mounted Volumes
        SYS
        NCPVOL1
        _ADMIN
        COOL
        FUN
        NSS
        NCP
        NSS1
        NSS2
        NSS3

10 volumes mounted.
=========> NCP got created.
... completed OK [elapsed time = 752 usecs]
systst-ts-164:/ #
0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.
Loading...Loading...

Categories: Uncategorized

0

Disclaimer: This content is not supported by Novell. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.

Comment

RSS