1829260 Members
2100 Online
109988 Solutions
New Discussion

repartition

 
Fadia Almarei
Super Advisor

repartition

dear all
i have a have a hard disk divided in to many partitions , one of these partitions reach 100% and i have no free space on the hard disk and i can not add new one ,i want to reduce the size of one of the partitions and add space to the previous partition without loosing the data on the second partition , what should i do ,is there is solution
BR,
fadia
fadia.marei
7 REPLIES 7
Franky_1
Respected Contributor

Re: repartition

Hi,

to reduce FS

fsadm â d â D â e â E
fsadm â F vxfs â b
lvreduce â L /dev/vgxx/lvolx

to extend FS

lvextend â L /dev/vgxx/lvolx
fsadm â F vxfs â b
Don't worry be happy
Fadia Almarei
Super Advisor

Re: repartition

thanks franky
but please retype the command again i can not understand them
fadia.marei
Mohanasundaram_1
Honored Contributor

Re: repartition

Hi Fadia,

Do you have OnineJFS installed on your system?

Otherwise reducing an existing lvol may result in a data loss.

Cheers,
Mohan
Attitude, Not aptitude, determines your altitude
Fadia Almarei
Super Advisor

Re: repartition

how can i check if i have OnineJFS on my system
fadia.marei
YoungHwan, Ko
Valued Contributor

Re: repartition

The esaist way is using Online JFS.
But it is not recommanded reduce file system.
It may cause data false.
If you have Online JFS, you can use lvreduce and lvextend without umount file system.
If you didn't have Online JFS, backup file system which is intend to reduce.
After Backup lvremove to remove file system.
And then recreate file system appropriate size.
After remake file system recover data.
And then umount file system, which you intend to extend file system.
And lvextend file system, mount...
YoungHwan, Ko
Valued Contributor

Re: repartition

Check method if your system have OnlineJfs

# swlist

If output is below

B3929CA B.11.11 HP OnLineJFS

you can use Onlie JFS
Fadia Almarei
Super Advisor

Re: repartition

no i have not , but i want from you the steps in details, about removing the logical volume is it needed to umount it before deleting or not , please in details
fadia.marei