Operating System - HP-UX
1835177 Members
2448 Online
110077 Solutions
New Discussion

Which FileSystem operation is necessary if Logical Volume was extended?

 
SOLVED
Go to solution
cbozlagan
Regular Advisor

Which FileSystem operation is necessary if Logical Volume was extended?

Which FileSystem operation is necessary if Logical Volume was extended?

I extended a logical volume.must I extend the file system mounted on it?

Thank
6 REPLIES 6
Robert-Jan Goossens
Honored Contributor
Solution

Re: Which FileSystem operation is necessary if Logical Volume was extended?

Hi,

With OnlineJFS

Extend logical volume
# lvextend -L xxx /dev/vg00/lvolxx

Extend fileystem
# fsadm -F vxfs -b xxxM /opt

Not OnlineJFS

# lvextend -L xxx /dev/vg00/lvolxx
# extendfs -F vxfs /dev/vgxx/rlvolx

Regards,
Robert-Jan
Fat Scrape
Honored Contributor

Re: Which FileSystem operation is necessary if Logical Volume was extended?

Hi,

Not OnlineJFS

# lvextend -L xxx /dev/vg00/lvolxx

Before you extend the Filesystem you must umount it

# extendfs -F vxfs /dev/vgxx/rlvolx

Mount the Filesystem

Regards,
cbozlagan
Regular Advisor

Re: Which FileSystem operation is necessary if Logical Volume was extended?

Hi,
How can I determine, if JFS online or not?

Thanks
Robert-Jan Goossens
Honored Contributor

Re: Which FileSystem operation is necessary if Logical Volume was extended?

# swlist -l product OnlineJFS

Should display something like:
OnlineJFS B.11.11 Online features of the VxFS File System

Regards
Robert-Jan
Fat Scrape
Honored Contributor

Re: Which FileSystem operation is necessary if Logical Volume was extended?

Hi,

swlist -l fileset |grep OnlineJFS
# OnlineJFS01 4.1.008 Online features of the VxFS File System
OnlineJFS01.VXFS41-AD-RN 4.1.004 Utilities for JFS management

This is the fast mode.

Regards
Srimalik
Valued Contributor

Re: Which FileSystem operation is necessary if Logical Volume was extended?

practically you should extend the FS after extending a LV, else you will not be able to use the whole spce in LV to store files
abandon all hope, ye who enter here..