Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reallocating a logical volume

Status
Not open for further replies.

KenCunningham

Technical User
Mar 20, 2001
8,475
GB
Hi folks. Being a relative novice in the AIX lvm, I was wondering if there's any easy way to allocate an unused lv (trainlv) between two other logical volumes, live01lv and test01lv? If it helps, below is the output for the lvs in question from smitty:

Code:
datavg:
LV NAME             TYPE       LPs   PPs   PVs  LV STATE      MOUNT POINT
test02lv            jfs2       220   220   1    open/syncd    /dpp/test02
[b]live01lv            jfs2       224   224   1    open/syncd    /dpp/live01[/b]
[b]test01lv            jfs2       224   224   1    open/syncd    /dpp/test01[/b]
oraclelv            jfs2       160   160   1    open/syncd    /tpp/oracle
spoollv             jfs2       80    80    1    open/syncd    /spp/spool
live04lv            jfs2       80    80    1    open/syncd    /dpp/live04
live03lv            jfs2       8     8     1    open/syncd    /dpp/live03
firstlv             jfs2       28    28    2    open/syncd    /app/first
test03lv            jfs2       8     8     1    open/syncd    /dpp/test03
[b]trainlv             jfs2       80    80    1    open/syncd    /dpp/train[/b]

TIA

Alan Bennett said:
I don't mind people who aren't what they seem. I just wish they'd make their mind up.
 
Hi,

lv trainlv has a filesystem on it (mounted on /dpp/train).
While this filesystem exists, you can't do anything.
If your aim is to deallocate space used by lv trainlv and reallocate this space to others, then you have to do :
0 - unmount filesystem /dpp/train
1 - remove the filesystem /dpp/train ( rmfs which deletes the lv train too )
2 - reallocate some physical partitions as you like.

Ali
 
Thanks Ali, /dpp/train is empty/unused so I'll follow your advice.

Alan Bennett said:
I don't mind people who aren't what they seem. I just wish they'd make their mind up.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top