1830940 Members
1791 Online
110017 Solutions
New Discussion

fsadm steps.

 
SOLVED
Go to solution
Idham
Frequent Advisor

fsadm steps.

How is the proper way/steps to use fsadm to increase filesystem..

let say ...
/dev/vg00/lvol10 20971520 18892147 1949460 91% /appl

1469(Free PE)*16(PE Size) = 23504(Free space in vg00)

And I want to increase another 1000MB 'online'...

# lvextend -L 10240 /dev/vg00/lvol10 (do I realy need to run this command???)
# fsadm -F vxfs -b 1000M /appl

Please help & verify.

ps:.wuth online JFS installed.
4 REPLIES 4
Patrick Wallek
Honored Contributor
Solution

Re: fsadm steps.

Yes, you need to run the lvextend command because you need to extend the logical volume BEFORE you extend the file system.

Your LV is currently at 20,971,520 KB, or 20,480 MB. If you want to extend to 21,480 MB, then you must do the following:

# lvextend -L 21480 /dev/vg00/lvol10
(The size here is the size you want the LV to be, NOT how much you want to extend it by. You want it to be 21480 MB, so that is the value you use.)

# fsadm -b 21480m /appl
(Again, you must put the TOTAL size you want the filesystem to be.)

Venkatesh BL
Honored Contributor

Re: fsadm steps.

The 'lvextend' is required to first increase the storage size. 'fsadm' is required to ensure that the filesystem that is using that storage is notified about it so that it can make use of the new size.
Suraj K Sankari
Honored Contributor

Re: fsadm steps.

Hi,

First you have to extend your lv with new size (old size + add on size) then again you have to give fsadm command, if you have Online JFS then you can extend online other wise you have to umount the file system.

Suraj
Johnson Punniyalingam
Honored Contributor

Re: fsadm steps.

Hi Idham,

# lvextend -L 10240 /dev/vg00/lvol10 (do I realy need to run this command???)

(Offcourse , our intention to increase the File system size in your case, by using "lvextend" & followed by "fsadm"(generic) - a file system administration command to take effect of the changes (or) resizing the File system


Please help & verify.

ps:.wuth online JFS installed.

swlist -l product | grep -i jfs
JFS B.11.11 The Base VxFS File System
OnlineJFS B.11.11 Online features of the VxFS File System

(ONLINE - JFS ) very usefull in avoiding downtime , for example
"your database" mount point reached the Threash-hold you d'not aford for downtime of the database , If ONLINE JFS Installed you can resize the File system size with out umount mounting, Usually Mission Cirtical Support system has this facility,

Thanks,
Johnson
Problems are common to all, but attitude makes the difference