Operating System - HP-UX
1833792 Members
2279 Online
110063 Solutions
New Discussion

Re: Online JFS Question on HPUX v2 and V3

 
mbarak
Occasional Contributor

Online JFS Question on HPUX v2 and V3

Hello Forum,

 

After installing Online JFS on HPUX-V2, I tried to extend the /tmp up to 3 GB.(original size was 2GB)

There is a lot of free space on the disk.

However I am getting the below error:

 

# fsadm -F vxfs -b 3000000 /tmp
UX:vxfs fsadm: ERROR: V-3-25811: cannot expand /dev/vg00/rlvol4 more than size of the underlying device - 2048000 sectors

 

Is this normal? did I miss anything?

 

Thank you.

3 REPLIES 3
Kris_Knigga
Trusted Contributor

Re: Online JFS Question on HPUX v2 and V3

Here's what I'd do:

Find out the exact size of the lvol in MB:

 

# lvdisplay /dev/vg00/lvol4 | grep "LV Size"
LV Size (Mbytes)            3000

 

 

Then find out how many KB that is.

 

# echo 3000*1024 | bc -l
3072000

 

 

Now use that number for your fsadm command.

 

# fsadm -F vxfs -b 3072000 /tmp

 


Kris Knigga
Kris_Knigga
Trusted Contributor

Re: Online JFS Question on HPUX v2 and V3

Oh, I just noticed that your /dev/vg00/lvol4 is only 2000 MB big (the fsadm error says 2048000 sectors).

 

You need to grow the LV before you can grow the filesystem.

 

# lvextend -L 3000 /dev/vg00/lvol4

 


Kris Knigga
mbarak
Occasional Contributor

Re: Online JFS Question on HPUX v2 and V3

OK thank you for your reply.