May 18, 2015

Veritas Cluster: UX:vxfs mkfs: ERROR: V-3-20003

Posted in Veritas at 2:50 pm by alessiodini

Today I was installing and configuring VCS CFS-HA 6.0.5 on two nodes running HP-UX 11.31.
I made a couple of shared diskgroups, I made some volumes and I tried to run mkfs obtaining the following error:

/opt/VRTS/bin/mkfs -F vxfs /dev/vx/rdsk/testdg/stage
UX:vxfs mkfs: ERROR: V-3-20003: Cannot open /dev/vx/rdsk/testdg/stage: No such device or address
UX:vxfs mkfs: ERROR: V-3-20275: cannot open /dev/vx/rdsk/testdg/stage

This is error is due to missed activation of the volume access!
What i’m talkin about?
Let’s read this link, the option in my case was

shared-write (sw) – The node has write access to the disk group.
So the correct procedure is:

– import the shared diskgroup
– start all volumes on the diskgroup
– set the activation with the command: vxdg -g testdg set activation=sw
– run mkfs

all worked great šŸ˜€

Advertisements

2 Comments »

  1. Thank you – hit a similar issue with HP-UX “native” LVM, OnlineJFS and a damaged volume – the benefit of having superior FS and Volume Manager, sometimes comes with a prise – VM operations and configs come first, the FS is a “bystander” :):):)
    BTW – follownig the blog – you publish really cool stuff!

    • alessiodini said,

      Hi!
      Thank you for your message, I hope to share interesting infos for our job šŸ™‚
      Have a good day
      Alessio


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: