System Administration

Filesystem extension issues in HP-UX

 
gnana prakasam
Advisor

Filesystem extension issues in HP-UX

I am getting the below error when extending the filesystem on HP-UX .

UX:vxfs fsadm: ERROR: V-3-20340: attempt to resize /dev/vgtest/rlvtest1 failed with errno 16.

What could be the issue here  ?

 

25 REPLIES 25
Steven Schweda
Honored Contributor

Re: Filesystem extension issues in HP-UX

> I am getting the below error when extending the filesystem [...]

   As usual, showing an actual command can be more helpful than a vague
description.

> [...] on HP-UX .

      uname -a

> [...] errno 16.
>
> What could be the issue here  ?

   I know nothing, but errno 16 is EBUSY, "Mount device busy".

Patrick Wallek
Honored Contributor

Re: Filesystem extension issues in HP-UX

If you are trying to use the 'extendfs' command on the LV, then you must first unmount the LV.

Bill Hassell
Honored Contributor

Re: Filesystem extension issues in HP-UX

If the mountpoint you are extending has been exported using NFS or SAMBA, it will be marked as busy. The mountpoint must un-exported before you can extend it.



Bill Hassell, sysadmin
gnana prakasam
Advisor

Re: Filesystem extension issues in HP-UX

Hi All,

Here the command used to extend the filesystem and failure message.

root@testserv1[/] # lvextend -L 35840M /dev/vgtest/lvtest1
Logical volume "/dev/vgtest/lvtest1" has been successfully extended.
Volume Group configuration for /dev/vgtest has been saved in /etc/lvmconf/vgtest.conf
root@testserv1[/] # fsadm -F vxfs -b 35840M /test1
UX:vxfs fsadm: ERROR: V-3-20340: attempt to resize /dev/vgtest/rlvtest1 failed with errno 16
root@testserv1[/] #

This Filesystem is not shared as NFS & Samba. I am using lvextend & fsadm to extend the filesystem.

HP-UX Version is B.11.31.

This filesystem snaped with other filesystem. Please let me know the procedure to extend .

root@testserv1[/] # mount -v |grep -i test1
/dev/vgtest/lvtest1 on /test1 type vxfs ioerror=mwdisable,largefiles,delaylog,dev=80000003 on Sat Feb 6 13:08:11 2016
/dev/vgtest/backuptest1 on /backuptest1 type vxfs ro,ioerror=mwdisable,largefiles,snapof=/dev/vgtest/lvtest1,snapsize=13000000,dev=80000006 on Sun Feb 14 00:30:05 2016
root@testserv1[/] #

Aplogies for the late reply

 

 

 

 

rescuehp17
Frequent Advisor

Re: Filesystem extension issues in HP-UX

What is the solution for this error, I notice someone faced the same issue.

(root) @/> fsadm -F vxfs -b 330227968 /oracle
UX:vxfs fsadm: ERROR: V-3-20340: attempt to resize /dev/vgoracle/rlvoracle failed with errno 16
(root) @/>

Defragmented, still no help..

Thank you in advance!

Torsten.
Acclaimed Contributor

Re: Filesystem extension issues in HP-UX

The error means device busy. Sure you have OnlineJFS?

 


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
rescuehp17
Frequent Advisor

Re: Filesystem extension issues in HP-UX

Yes, have online JFS as I was able to do 5 filesystems and other 5 filesystems failed with the same error mentioned above. 

rescuehp17
Frequent Advisor

Re: Filesystem extension issues in HP-UX

(root) @/> swlist -l product | grep -i online
AONLINEJFS B.05.00.02 OnlineJFS Integration Product
OnlineJFS01 5.0.1 Online features of the VxFS File System
(root)@/>

All the ten file systems are from one volume group, and out of 10 successfully I was able to extend FS size on five and the other five failed with error 16. 

Help is appreciated.

Bill Hassell
Honored Contributor

Re: Filesystem extension issues in HP-UX

Your command:

fsadm -F vxfs -b 330227968 /oracle

is to resize the /oracle mountpoint to 330 million sectors. Is that correct?
Or did you mean 330 GB? If so, you'll need to use a suffix such as -b 330G.

Also, is /oracle a top level filesystem or does it contain other lvols or NFS mounts?
      hint:    bdf   /oracle
That will show the source lvol for the mountpoint.

And did you first increase the source lvol size first using lvextend?

 



Bill Hassell, sysadmin