disk space shortage, how to migrate to LVM?


 
Thread Tools Search this Thread
Operating Systems AIX disk space shortage, how to migrate to LVM?
# 8  
Old 04-02-2009
Zaxxon,

you can have other volume managers on AIX too - I have plenty of systems running Veritas Volume Manager and Veritas filesystems - and other servers out of any volume manager using ASM ...

Michal,

first of all you should determine if all filesystems you want to extend are in rootvg
# lsvg -l rootvg # shows you your filesystem
# lsvg rootvg # shows you how much space is used/free/available at all
# chfs -a size=+xG # extends your filesystem by x GB
# chfs -a size=-xG # reduces your filesystem by x GB (given using jfs2)
# extendvg rootvg hdiskx # adds a further disk to your vg in case you do not have free space - but since your filesystems appear all to be very tiny, I would not assume that you should have issues extending it anyway

no need for any reboot while working with lvm - and no need to copy anything anywhere ...

you can make more space in /usr by either committing applied packages or just doing nothing - you usually only need more space there while installing new software and with the -X flag during install the filesystem will be automatically extended anyway

you might want to have a look into this redbook since you seem to be very new on AIX anyway ?
http://www.redbooks.ibm.com/redbooks/pdfs/sg245433.pdf

kahoona,

why is it bad style to have mountpoints under existing mountpoints IN ROOTVG - especially when you have your homedirs in automounts its probably the best idea you can have - and when you're creating your submounts the properway /letting ODM know about - not manipulating /etc/filesystems manually - that will never be a problem when you have setup your system thoughtfully?

Kind regards
zxmaus

Last edited by zxmaus; 04-02-2009 at 08:07 PM.. Reason: added link
# 9  
Old 04-04-2009
Quote:
you can have other volume managers on AIX too - I have plenty of systems running Veritas Volume Manager and Veritas filesystems - and other servers out of any volume manager using ASM ...
Ah interessting, that's new to me. Never saw an AIX box or heared of one that had anything else but AIX LVM. Is that just historical grown on your boxes or is there some special need for Veritas Volume Manager etc.?

Also for this "bad style" we refrain usually from mounting into existing mount points since we already had trouble with FS'es that have been added later, causing troubles at boot or at takeover situations in HACMP clusters.
Setting up your systems thoughtfully is one way, but there can offen be different admins on all boxes in our case so we have some simple agreements what to do or not. Just to prevent problems. No mounting into other mountpoints if possible is one of them.
# 10  
Old 04-04-2009
zaxxon,

it was one of the glorious strategic decisions our Enterprise Architects made, to introduce SFRAC in AIX - and the early versions were only running with Veritas filesystems and Veritas Volume Manager underlying - these days we have ASM as an alternative - both is everything but nice to administer but if I have the choice between both solutions, I would still stick with the Veritas-SFRAC solution rather than ASM - disks out of any volumegroup and usage only visible to the DBAs is not what any SA likes to have - especially on Production - it happened twice that one of the SAs not knowing the systems very well, assigned the apparently unused disks forced to a Volumegroup that needed to be extended - and the warning that these disks are already in use by something else had been ignored completely - the immediate death of the ASM RAC cluster ... it ended up with recreation of the devices and restore 2 TB data from tapes ...

Regarding the mounts - we don't do that on any other filesystems than the root ones - since its not very likely that rootvg is exported at all - even we wouldn't do it in any other volumegroup but since our developers need to have the same data no matter on which system they're logged in, it is another strategic decision to have this automounted ... no choice at all ...

Kind regards
zxmaus
# 11  
Old 04-05-2009
I can hear the sarcasm Smilie Sometimes it's very tedious to get in one of those grown environments. When I started about 8,5 years ago in this company here, they had some of those too of course, like most on the world I guess, and we still could not get rid of all of those all these years later hehe.
# 12  
Old 04-06-2009
Quote:
Originally Posted by zxmaus
kahoona,

why is it bad style to have mountpoints under existing mountpoints IN ROOTVG - especially when you have your homedirs in automounts its probably the best idea you can have - and when you're creating your submounts the properway /letting ODM know about - not manipulating /etc/filesystems manually - that will never be a problem when you have setup your system thoughtfully?

Kind regards
zxmaus
It's not bad. I was saying that I would be surprised if his rootvg filesystems were not in a rootvg volume group. I didn't think AIX would natively let someone create filesystems directly on disks. If he's dealing with Veritas, then I have no idea.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Linux

How to migrate a running lvm.?

Hi all, Please explain how do i. Migrate and backup a running lvm..!! Thanks, Sent from my LG-D802 using Tapatalk (3 Replies)
Discussion started by: lordkizzo
3 Replies

2. HP-UX

LVM: is possible to replace a disk?

Scenario1: VG00 lvm,not mirrored,2 disk of 36GB vg size VG00 size is under 30G. Is possible to remove a disk of 36GB and replace "on fly" with a disk of 300GB on VG00? Thanks (6 Replies)
Discussion started by: Linusolaradm1
6 Replies

3. BSD

Migrate a Hard Disk

hi Has anyone already tried to migrate a hard disk with FreeBSD using recoverdisk? (1 Reply)
Discussion started by: ccc
1 Replies

4. AIX

AIX LVM migrate lp

Hi, I have questions about unix AIX's lvm. Is there some problem to do migrate lp into a mirrored vg or should i break the mirror before? Is necessary to run reorgvg after I migrate lp ? thanks (1 Reply)
Discussion started by: alfastar
1 Replies

5. Red Hat

How to Migrate from Single Disk to Many? (RHEL 4.6)

I have a Red Hat Enterprise 4.6 virtual server built on 1 virtual disk running Oracle Applications on VMware ESX 3.5; the performance of the virtual server is not good because of IO bottlenecks. The ESX server is reporting minimal load, it's the virtual server which is struggling with disk IO... (2 Replies)
Discussion started by: home4ktt
2 Replies

6. AIX

Disk I/O Issue using LVM

We have a filesystem which contains 8 hard disks but i am facing disk I/O issue becuase data is not spreading across all the disks.Is there any way i can check how data is spreading and any parameter we need to change to spread ata across all disks. OS--AIX 5.3 (1 Reply)
Discussion started by: ukatru
1 Replies

7. Solaris

Migrate VxVM boot disks to higher capacity disk

Hi, Im getting a downtime of 4 hrs to do porting of bootdisks. Currently, the system is running on Sf4800. 2 internal disk 36G connected to a SE3510 storage. We're getting 72G disks and we want to restore the OS from the current 36G to the 72G disk. System is under veritas volume manager ctrl.... (4 Replies)
Discussion started by: incredible
4 Replies

8. HP-UX

disk adding through lvm

Hi dear(s) Can u explain how to add a disk through lvm with commands. I need to add a 9 gb scsi HS disk to a Hp D class 9000 server. (2 Replies)
Discussion started by: sreekumar.R
2 Replies
Login or Register to Ask a Question