Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I followed Growing a local datastore from the command line to grow my local datastore from the command line. Everything went fine, except Step 11.

In my case:

 vmkfstools --growfs /vmfs/devices/disks/naa.5000c5004dd693ca:3 /vmfs/devices/disks/naa.5000c5004dd693ca:3 

It says:

Error: No such file or directory

However the file definitely exists:

/dev/disks # ls -Al
-rw-------    1 root     root      1000204886016 Oct  8 18:43 naa.5000c5004dd693ca
-rw-------    1 root     root          939524096 Oct  8 18:43 naa.5000c5004dd693ca:1
-rw-------    1 root     root         4293918720 Oct  8 18:43 naa.5000c5004dd693ca:2
-rw-------    1 root     root       892567249408 Oct  8 18:43 naa.5000c5004dd693ca:3
-rw-------    1 root     root            4177920 Oct  8 18:43 naa.5000c5004dd693ca:4
-rw-------    1 root     root          262127616 Oct  8 18:43 naa.5000c5004dd693ca:5
-rw-------    1 root     root          262127616 Oct  8 18:43 naa.5000c5004dd693ca:6
-rw-------    1 root     root          115326976 Oct  8 18:43 naa.5000c5004dd693ca:7
-rw-------    1 root     root          299876352 Oct  8 18:43 naa.5000c5004dd693ca:8

Why do I get the No such file or directory or directory error?

share|improve this question
    
The example in the article has double quotes around the filenames. Did you try your command with double quotes? –  jftuga Oct 8 '12 at 18:57
    
Why are you doing this from the command line? –  Chopper3 Oct 8 '12 at 19:14
    
I also tried with double quotes, same error –  markus Oct 8 '12 at 19:41
    
@Chopper3 Is there another way doing it? –  markus Oct 8 '12 at 19:43
    
@markus So you've extended the underlying logical drive right? why wouldn't you just use the VSClient/GUI to extend the DS? –  Chopper3 Oct 8 '12 at 19:47

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.