1834346 Members
2205 Online
110066 Solutions
New Discussion

Increasing FS size

 
SOLVED
Go to solution
Reuben Ernest
Occasional Advisor

Increasing FS size

Hi all,
i have posted one message before and I have explained that I migrated from NT to Unix recently. So, here is another studip question.
q) /Home FS needs to to increased. OS = 11 with Advance JFS. The volume is mirrored. So how do I go about it increasing the FS Size. is it SAM->Disk/FS->Logical volumes->actions->increase size? Here do i specify the final space or the amount of space to be increased and should i do something for the mirroring or does SAM handle it automatically. Pardon me if this is a stupid question, but along with the flames i would like to get the answer to my problem too... Thanks in advance

Ben
2 REPLIES 2
Clemens van Everdingen
Honored Contributor

Re: Increasing FS size

Hi,

See yesterday's thread :

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

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
Mark van Hassel
Respected Contributor
Solution

Re: Increasing FS size

Hi,

Just use the command line:

First extend the logical volume:

lvextend -L [new size] /dev/vg*/lvol*

Where size is in Megabytes and is the new total size.

Then use fsadm to extend the file system:

fsadm -b [new size] /home

Where new size is in Kilobytes and is the new total size. Make sure you calculate the KBs with the 1024 factor iso 1000.

The logical volume is extended on both physical volumes automatically.

HtH,

Mark
The surest sign that life exists elsewhere in the universe is that none of it has tried to contact us