Go Back   TechArena Community > Technical Support > Computer Help > Windows Server > Windows Server Help
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , ,

Sponsored Links



Using cluster.exe to create physical disks

Windows Server Help


Reply
 
Thread Tools Search this Thread
  #1  
Old 20-01-2009
bucktaylor100
 
Posts: n/a
Using cluster.exe to create physical disks

I'm trying to write a script that will automate our cluster creation process.
Everything works except sometimes the disk creation command doesn't work.

It creates the physical disk but occasionally gives this error when
assigning the drive letter.

System error 2 has occurred (0x00000002).
The system cannot find the file specified.

These are the commands I am running
cluster resource "Disk R:" /create /group:group1 /type:"Physical Disk"
cluster resource "Disk R:" /priv drive="R:"
cluster resource "Disk R:" /on
Reply With Quote
  #2  
Old 20-01-2009
Edwin vMierlo [MVP]
 
Posts: n/a
Re: Using cluster.exe to create physical disks

check if you can access R:\ before you run your script.
then ensure your cluster group is online on the node where R:\ is

re-try your script,
let us know
HTH,
Edwin.


"bucktaylor100" <bucktaylor100@discussions.microsoft.com> wrote in message
news:7283C557-75F2-4DED-838E-2909DDEAEE56@microsoft.com...
> I'm trying to write a script that will automate our cluster creation

process.
> Everything works except sometimes the disk creation command doesn't work.
>
> It creates the physical disk but occasionally gives this error when
> assigning the drive letter.
>
> System error 2 has occurred (0x00000002).
> The system cannot find the file specified.
>
> These are the commands I am running
> cluster resource "Disk R:" /create /group:group1 /type:"Physical Disk"
> cluster resource "Disk R:" /priv drive="R:"
> cluster resource "Disk R:" /on



Reply With Quote
  #3  
Old 20-01-2009
bucktaylor100
 
Posts: n/a
Re: Using cluster.exe to create physical disks

It's a 2 node cluster and while both can see drive R in my computer only one
server can access it. I guess that's the problem. I guess the question
becomes how do I get the one drive to the other server when the cluster isn't
fully built yet?

"Edwin vMierlo [MVP]" wrote:

> check if you can access R:\ before you run your script.
> then ensure your cluster group is online on the node where R:\ is
>
> re-try your script,
> let us know
> HTH,
> Edwin.
>
>
> "bucktaylor100" <bucktaylor100@discussions.microsoft.com> wrote in message
> news:7283C557-75F2-4DED-838E-2909DDEAEE56@microsoft.com...
> > I'm trying to write a script that will automate our cluster creation

> process.
> > Everything works except sometimes the disk creation command doesn't work.
> >
> > It creates the physical disk but occasionally gives this error when
> > assigning the drive letter.
> >
> > System error 2 has occurred (0x00000002).
> > The system cannot find the file specified.
> >
> > These are the commands I am running
> > cluster resource "Disk R:" /create /group:group1 /type:"Physical Disk"
> > cluster resource "Disk R:" /priv drive="R:"
> > cluster resource "Disk R:" /on

>
>
>

Reply With Quote
  #4  
Old 21-01-2009
John Toner [MVP]
 
Posts: n/a
Re: Using cluster.exe to create physical disks

That's not it. You shouldn't be trying to mount the disk on the other node
or trying to access it.

The error 2 is occurring because for whatever reason, cluster cannot find an
entry in the registry for the R: disk...I'd check the
HKLM/System\CCSet\MountedDevices keys for starters to see if you've got a
\DosDevices\R: entry on the node where you're running these commands. If
not, something in your procedure for creating this volume is not working
properly.

For your cluster.exe script, you could try using the command syntax "cluster
res "Disk R:" /priv Signature=<value>" instead. If the host sees a disk with
this signature, it should work.

Regards,
John

Visit my blog: http://msmvps.com/blogs/jtoner


"bucktaylor100" <bucktaylor100@discussions.microsoft.com> wrote in message
news:27A3E657-E367-485A-8C7C-15EFF22BDA0C@microsoft.com...
> It's a 2 node cluster and while both can see drive R in my computer only

one
> server can access it. I guess that's the problem. I guess the question
> becomes how do I get the one drive to the other server when the cluster

isn't
> fully built yet?
>
> "Edwin vMierlo [MVP]" wrote:
>
> > check if you can access R:\ before you run your script.
> > then ensure your cluster group is online on the node where R:\ is
> >
> > re-try your script,
> > let us know
> > HTH,
> > Edwin.
> >
> >
> > "bucktaylor100" <bucktaylor100@discussions.microsoft.com> wrote in

message
> > news:7283C557-75F2-4DED-838E-2909DDEAEE56@microsoft.com...
> > > I'm trying to write a script that will automate our cluster creation

> > process.
> > > Everything works except sometimes the disk creation command doesn't

work.
> > >
> > > It creates the physical disk but occasionally gives this error when
> > > assigning the drive letter.
> > >
> > > System error 2 has occurred (0x00000002).
> > > The system cannot find the file specified.
> > >
> > > These are the commands I am running
> > > cluster resource "Disk R:" /create /group:group1 /type:"Physical Disk"
> > > cluster resource "Disk R:" /priv drive="R:"
> > > cluster resource "Disk R:" /on

> >
> >
> >



Reply With Quote
  #5  
Old 21-01-2009
bucktaylor100
 
Posts: n/a
Re: Using cluster.exe to create physical disks

I checked the registry key and all the disks exist. If I use the GUI to
create the disks it works just fine every time. I could do it via the disk
signature but I'm attempting to do up to 40 of them via a script. I don't
know of any easy way to get the disk signature and parse it into my script.
It's completelly hit or miss. Sometimes it works flawlessly and other times
it errors out. I'm puzzled on this.

"John Toner [MVP]" wrote:

> That's not it. You shouldn't be trying to mount the disk on the other node
> or trying to access it.
>
> The error 2 is occurring because for whatever reason, cluster cannot find an
> entry in the registry for the R: disk...I'd check the
> HKLM/System\CCSet\MountedDevices keys for starters to see if you've got a
> \DosDevices\R: entry on the node where you're running these commands. If
> not, something in your procedure for creating this volume is not working
> properly.
>
> For your cluster.exe script, you could try using the command syntax "cluster
> res "Disk R:" /priv Signature=<value>" instead. If the host sees a disk with
> this signature, it should work.
>
> Regards,
> John
>
> Visit my blog: http://msmvps.com/blogs/jtoner
>
>
> "bucktaylor100" <bucktaylor100@discussions.microsoft.com> wrote in message
> news:27A3E657-E367-485A-8C7C-15EFF22BDA0C@microsoft.com...
> > It's a 2 node cluster and while both can see drive R in my computer only

> one
> > server can access it. I guess that's the problem. I guess the question
> > becomes how do I get the one drive to the other server when the cluster

> isn't
> > fully built yet?
> >
> > "Edwin vMierlo [MVP]" wrote:
> >
> > > check if you can access R:\ before you run your script.
> > > then ensure your cluster group is online on the node where R:\ is
> > >
> > > re-try your script,
> > > let us know
> > > HTH,
> > > Edwin.
> > >
> > >
> > > "bucktaylor100" <bucktaylor100@discussions.microsoft.com> wrote in

> message
> > > news:7283C557-75F2-4DED-838E-2909DDEAEE56@microsoft.com...
> > > > I'm trying to write a script that will automate our cluster creation
> > > process.
> > > > Everything works except sometimes the disk creation command doesn't

> work.
> > > >
> > > > It creates the physical disk but occasionally gives this error when
> > > > assigning the drive letter.
> > > >
> > > > System error 2 has occurred (0x00000002).
> > > > The system cannot find the file specified.
> > > >
> > > > These are the commands I am running
> > > > cluster resource "Disk R:" /create /group:group1 /type:"Physical Disk"
> > > > cluster resource "Disk R:" /priv drive="R:"
> > > > cluster resource "Disk R:" /on
> > >
> > >
> > >

>
>
>

Reply With Quote
  #6  
Old 23-01-2009
John Toner [MVP]
 
Posts: n/a
Re: Using cluster.exe to create physical disks

That could be why Drive= is a "hidden" value for the LUNs in 2003 ;-)

If you re-try the command, does it work the second time?

You can use dumpcfg to get the signature value of the disk or you could try
diskpart

Regards,
John

Visit my blog: http://msmvps.com/blogs/jtoner

"bucktaylor100" <bucktaylor100@discussions.microsoft.com> wrote in message
news:04C487C3-E8A2-4497-A11C-5E5A7003837E@microsoft.com...
> I checked the registry key and all the disks exist. If I use the GUI to
> create the disks it works just fine every time. I could do it via the disk
> signature but I'm attempting to do up to 40 of them via a script. I don't
> know of any easy way to get the disk signature and parse it into my

script.
> It's completelly hit or miss. Sometimes it works flawlessly and other

times
> it errors out. I'm puzzled on this.
>
> "John Toner [MVP]" wrote:
>
> > That's not it. You shouldn't be trying to mount the disk on the other

node
> > or trying to access it.
> >
> > The error 2 is occurring because for whatever reason, cluster cannot

find an
> > entry in the registry for the R: disk...I'd check the
> > HKLM/System\CCSet\MountedDevices keys for starters to see if you've got

a
> > \DosDevices\R: entry on the node where you're running these commands. If
> > not, something in your procedure for creating this volume is not working
> > properly.
> >
> > For your cluster.exe script, you could try using the command syntax

"cluster
> > res "Disk R:" /priv Signature=<value>" instead. If the host sees a disk

with
> > this signature, it should work.
> >
> > Regards,
> > John
> >
> > Visit my blog: http://msmvps.com/blogs/jtoner
> >
> >
> > "bucktaylor100" <bucktaylor100@discussions.microsoft.com> wrote in

message
> > news:27A3E657-E367-485A-8C7C-15EFF22BDA0C@microsoft.com...
> > > It's a 2 node cluster and while both can see drive R in my computer

only
> > one
> > > server can access it. I guess that's the problem. I guess the question
> > > becomes how do I get the one drive to the other server when the

cluster
> > isn't
> > > fully built yet?
> > >
> > > "Edwin vMierlo [MVP]" wrote:
> > >
> > > > check if you can access R:\ before you run your script.
> > > > then ensure your cluster group is online on the node where R:\ is
> > > >
> > > > re-try your script,
> > > > let us know
> > > > HTH,
> > > > Edwin.
> > > >
> > > >
> > > > "bucktaylor100" <bucktaylor100@discussions.microsoft.com> wrote in

> > message
> > > > news:7283C557-75F2-4DED-838E-2909DDEAEE56@microsoft.com...
> > > > > I'm trying to write a script that will automate our cluster

creation
> > > > process.
> > > > > Everything works except sometimes the disk creation command

doesn't
> > work.
> > > > >
> > > > > It creates the physical disk but occasionally gives this error

when
> > > > > assigning the drive letter.
> > > > >
> > > > > System error 2 has occurred (0x00000002).
> > > > > The system cannot find the file specified.
> > > > >
> > > > > These are the commands I am running
> > > > > cluster resource "Disk R:" /create /group:group1 /type:"Physical

Disk"
> > > > > cluster resource "Disk R:" /priv drive="R:"
> > > > > cluster resource "Disk R:" /on
> > > >
> > > >
> > > >

> >
> >
> >



Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Server > Windows Server Help


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Using cluster.exe to create physical disks"
Thread Thread Starter Forum Replies Last Post
iSCSI SAN Disks not showing on Passive Node in Cluster Nappalm Operating Systems 6 02-10-2010 07:27 AM
Windows 2003 cluster and EMC SAN Disks and DISKPART utility criechton Windows Server Help 1 30-04-2009 02:47 AM
Problem adding disks to a Windows 2003 Cluster Darkhelmet75 Windows Server Help 2 29-08-2008 10:27 PM
add physical disk as cluster resource snazzy Window 2000 Help 0 25-01-2008 01:44 AM
Adding new physical disk resource to cluster ILYA Windows Server Help 5 24-10-2007 07:33 PM


All times are GMT +5.5. The time now is 01:03 PM.