Operating System - HP-UX
1838655 Members
3762 Online
110128 Solutions
New Discussion

Re: subtype: error getting VxFS type, errno 2

 
SOLVED
Go to solution
Jason Dinsdale
Frequent Advisor

subtype: error getting VxFS type, errno 2

People,

Just installed a fresh HPUX v11.0 + patch bundle (Jun2001) and am creating some filesystems. During this process I'm getting a re-occuring error:

subtype: error getting VxFS type, errno 2

It doesnt *seem* to affect any commands as such, but is repeated constantly. For example, on a freshly created LV within a new VG (where LV creation successful):

testbed# newfs /dev/vg01/rtest
subtype: error getting VxFS type, errno 2
newfs: /etc/default/fs is used for determining the file system type
subtype: error getting VxFS type, errno 2
version 3 layout
4190208 sectors, 4190208 blocks of size 1024, log size 1024 blocks
unlimited inodes, 4190208 data blocks, 4188064 free data blocks
128 allocation units of 32768 blocks, 32768 data blocks
last allocation unit has 28672 data blocks
first allocation unit starts at block 0
overhead per allocation unit is 0 blocks

testbed# mkdir /test

testbed#
mount /dev/vg01/test /test
subtype: error getting VxFS type, errno 2

testbed# df
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 143360 38765 98099 28% /
/dev/vg00/lvol1 83733 14360 60999 19% /stand
/dev/vg00/lvol8 512000 370973 132278 74% /var
/dev/vg00/lvol7 745472 642033 96995 87% /usr
/dev/vg00/lvol4 65536 1157 60357 2% /tmp
/dev/vg00/lvol6 307200 195336 104928 65% /opt
/dev/vg00/lvol5 20480 4609 14892 24% /home
/dev/vg01/test 4190208 2128 3926332 0% /test

testbed# uname -a
HP-UX testbed B.11.00 A 9000/801 2004895994 two-user license

testbed# grep 2 /usr/include/sys/errno.h
/* $Header: errno.h,v 1.37.106.2 97/07/12 22:11:35 kcs Exp $ */
#define ENOENT 2 /* No such file or directory */


As you can see the filesystem is created and mounted successfully regardless of the error being reported at both stages.

I've done a web search on this and searched in the groups, but to no avail.

Anybody know the answer to this one?

Thanks,

Jason
If a man talks in a forest and there is no woman to hear, is he still wrong?
3 REPLIES 3
Jason Dinsdale
Frequent Advisor

Re: subtype: error getting VxFS type, errno 2

FYI, the file /etc/default/fs exists and contains the following:

LOCAL=vxfs

Thanks,

Jason
If a man talks in a forest and there is no woman to hear, is he still wrong?
S.K. Chan
Honored Contributor
Solution

Re: subtype: error getting VxFS type, errno 2

Check if ths device file is missing ..

# ll /dev/vxportal

Recreate it if missing ..

# mknod /dev/vxportal c 97 0x000000
Jason Dinsdale
Frequent Advisor

Re: subtype: error getting VxFS type, errno 2

You sir, are spot on.

Thanks - and it's only been 10 minutes since I submitted the question to the group!

10 points well deserved.

Jason
If a man talks in a forest and there is no woman to hear, is he still wrong?