Operating System - HP-UX
1827807 Members
2746 Online
109969 Solutions
New Discussion

Problem with VXFS filesystem in HP-UX 10.20

 
Ramesh Velu
Occasional Contributor

Problem with VXFS filesystem in HP-UX 10.20

Have anyone come across vxfs filesystem mount problem in HP-UX 10.20?

I am trying to create a vxfs filesystem on a 10.20 system which has no vxfs filesystems currently mounted. All filesystems are HFS.
Able to create the vxfs FS without error, but when I try to mount the filesystem I receive the following error
1. Command line mount "mount -F vxfs /dev/vg01/testlv /testlv"
mount: vxfs : Invalid argument
followed by mount command usage.......
2. Try to mount after adding the entry in /etc/fstab "mount /testlv", i receive
vxfs mount: /dev/vg01/vrhlv no such device or write-protected

If I create HFS filesystem, don't have any problem in mounting. The following filesets are installed and committed same as another server where vxfs FS are created and mounted..
JournalFS.VXFS-BASE-KRN B.10.20 The Base VxFS File System Kernel files
JournalFS.VXFS-BASE-RUN B.10.20
JournalFS.VXFS-PRG B.10.20 Subproduct contains the n
ecessary header files for prog env


Any idea what is causing the problem?
3 REPLIES 3
Bill Hassell
Honored Contributor

Re: Problem with VXFS filesystem in HP-UX 10.20

The mount options for VxFS filesystems are quite different than HFS. Your fstab file may have HFS options listed for the VxFS filesystem. To avoid errors due to fstab, explicitly mount the new filesystem by supplying the source and the destination:

mount /dev/vg001/testlv /mnt1

The -F is almost never needed since mount figures out what kind of filesystem you are using. If that works OK, then change fstab to use standard options something like:

/dev/vg01/testlv /someplace vxfs rw,nosuid,delaylog 0 4

or replace rw,nosuid,delaylog with just the word defaults as in:

/dev/vg01/testlv /someplace vxfs defaults 0 4

Don't use VxFS for production work unless you are up to date on LVM patches (relatively speaking since 10.20 is obsolete and unsupported). There are a number of bugs and performance fixes in VxFS for 10.20.


Bill Hassell, sysadmin
Ramesh Velu
Occasional Contributor

Re: Problem with VXFS filesystem in HP-UX 10.20

This problem is already addressed by document ID: KBRC00009525.
Fix is to enable vxbase driver in kernel.
Anil C. Sedha
Trusted Contributor

Re: Problem with VXFS filesystem in HP-UX 10.20

Ramesh,

Did you do this while creating the filesystem and mounting it.

lvcreate -L MBsize -n testlv /dev/vg01

newfs -F vxfs /dev/vg01/rtestlv (note the "r" in front of testlv)


vi /etc/fstab
/dev/vg01/testlv /testlv vxfs delaylog 0 2
save & exit


mount -a

This should be all that you need to do.

Regards,
Anil
If you need to learn, now is the best opportunity