Operating System - HP-UX
1836639 Members
1923 Online
110102 Solutions
New Discussion

Re: increase size from sam

 
Fuad_1
Regular Advisor

increase size from sam

I have increase the size of /usr/xxx from sam. But I still see the old size in bdf.
Set goals, and work to achieve them
5 REPLIES 5
Michael Tully
Honored Contributor

Re: increase size from sam


When increasing the size of a logical volume, you also need to extend the size of the filesystem as well.
At a guess, you haven't got online JFS installed, so the increase cannot be done without first unmounting the filesystem.

To check the software
# swlist -l product | grep -i jfs
If it returns only JFS and not Online JFS as well, you cannot extend the filesystem without first unmounting it, whether it is through 'sam' or the command line.

There are two steps to this, first the extension of the logical volume 'lvextend'(/dev/vgxx/mylv) and the second which extends the filesystem 'extendfs'

Regards
Michael
"When I have trouble spelling, it's called fat finger syndrome"
Anyone for a Mutiny ?
T G Manikandan
Honored Contributor

Re: increase size from sam

if you have online jfs then

$ /usr/sbin/swlist -l product | grep -i jfs

you can just do
# lvextend -xxxxL /dev/vgxx/lvol?
# fsadm -F vxfs -b xxxxxx /opt

If you do not have OnlineJFS

then you need to umount the file system and then increase it using

# lvextend -xxxxL /dev/vgxx/lvol?
#extendfs /dev/vgxx/rvol?

Then again mount it.

(assuming that you are extending the non-system file systems )

Thanks
malay boy
Trusted Contributor

Re: increase size from sam

Guru's,

Do you mean that let say I have online JFS I can extend the filesystem (even system filesystem) without umount the filesystem first.

regards
mB
There are three person in my team-Me ,myself and I.
Michael Tully
Honored Contributor

Re: increase size from sam


Yes, if Online JFS is installed there are a number of features you can take advantage of:
increasing filesytem sizes
changing parameters, like changing it to largefile option.
There are some filesystems that you can't which are the ones that are contiguous (/, /stand and primary swap /dev/vg00/lvol2) which cannot) These must be done using 'ignite'.

If you find that you can't unmount your filesystem, there will be processes running. These must be terminated first.
If these are part of the OS (/, /stand, /opt, /usr, /tmp, /var) etc, you will need to find another alternative by using ignite, or booting into single user mode.

Regards
Michael
"When I have trouble spelling, it's called fat finger syndrome"
Anyone for a Mutiny ?
Radhakrishnan Venkatara
Trusted Contributor

Re: increase size from sam

hi,

please check this links

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xdbac79bffde7d4118fef0090279cd0f9,00.html

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xce650b0717d1d5118ff40090279cd0f9,00.html

hope it will be helpful.


regards

radhakrishnan
Negative thinking is a highest form of Intelligence