Operating System - HP-UX
1848343 Members
8150 Online
104024 Solutions
New Discussion

File extension from 2gb to 3gb

 
SOLVED
Go to solution
Joe Profaizer
Super Advisor

File extension from 2gb to 3gb

# fsadm -F vxfs -b 3145728 /orasys
fsadm: /dev/vg00/rlvol9 is currently 2048000 sectors - size will be increased
write failure at block 7340030 : No such device or address
3 REPLIES 3
John Palmer
Honored Contributor
Solution

Re: File extension from 2gb to 3gb

What size is the actual logical volume?

lvdisplay /dev/vg??/

Regards,

John
Manju Kampli
Trusted Contributor

Re: File extension from 2gb to 3gb

Check the Logical volume size before extending the file system.
use lvdisplay -v /dev/vgxx/lvolx to find out the LV size.
Use lvextend -L 3000 /dev/vgxx/lvolx /dev/dsk/cxtxdx
and use fsadm -F vxfs 3145728 /dev/vgx/rlvolx for extending the file system.
Never stop "LEARNING"
Andrew Fieldsend
Occasional Advisor

Re: File extension from 2gb to 3gb

It's some time since I fell into this trap, but the fsadm -b command needs vxfs internal block counts, not LVM sectors or bdf blocks.

The messages are a bit misleading, and as far as I remember you need to get the vxfs information to get the real vxfs block size for the file system. Then you can work out the number of blocks to pass to the -b option.