Hi here is from my 'nice to have notes' :-)
/*****************************************************************************/
/* increasing root LVM disk in a RHEL / RedHat */
/*****************************************************************************/
Subject: Modified instruction for increasing / ( root LVM disk ) !!
1009 vmcp link zlin1092 206 206 mr
1010 chccwdev -e 206
1014 dasdfmt -y -b 4096 -f /dev/disk/by-path/ccw-0.0.0206
1019 fdasd -a /dev/disk/by-path/ccw-0.0.0206
1021 joe /etc/dasd.conf
1022 pvscan
1023 pvcreate /dev/disk/by-path/ccw-0.0.0206-part1
1025 vgextend rootvg /dev/disk/by-path/ccw-0.0.0206-part1
1027 pvdisplay /dev/disk/by-path/ccw-0.0.0206-part1 | grep "Free PE"
1028 lvextend --extents +2000 /dev/rootvg/homevol
1029 lvextend --extents +1500 /dev/rootvg/optvol
1030 lvextend --extents +542 /dev/rootvg/rootvol
1031 resize2fs -p /dev/rootvg/homevol
1032 resize2fs -p /dev/rootvg/optvol
1033 resize2fs -p /dev/rootvg/rootvol
joe /etc/zipl.conf add rd_DASD=0.0.0206 to list of disk for root !!
parameters="root=/dev/mapper/rootvg-rootvol rd_DASD=0.0.0200 rd_DASD=0.0.0205
rd_DASD=0.0.0206
run zipl !!
If not booting properly and not able to login even via Terminal Server:
To get in via terminal server (You need to have thos one setup before)
login via z/VM x3270, login as root and run:
/usr/bin/iucvtty hvc1 -- /bin/login
Then you can login via
-----Original Message-----
From: Linux on 390 Port [mailto:[email protected]] On Behalf Of Tom
Duerbusch
Sent: den 20 augusti 2013 8:00
To: [email protected]
Subject: Re: Expanding disk space.
Mark:
Sorry for the delay. I sent this Sunday. Today I find out my posts to
LINUX-390 haven't been going thru because I haven't subscribed.
So I think my DROID has a different email address (outgoing), however I get all
my emails that I use to get.
So, now I'm off subscribing to all the listservs thru my Droid.
Anyway, following is a repost of my comment:
Tom Duerbusch
THD Consulting
What I gathered from the original post was not being able to apply maintenance
due to being out of disk space. Well if the failure is caused by memory/swap
filling up, increase virtual memory instead of adding a real 3390 to swap for
temporary problems.
I run many small, very small Linux guests that I do have to increase virtual
storage when I apply maintenance. The smallest zLinux machine I ever got real
work out of was a 24 MB machine using IUCV for IP connectivity to VM's TCPIP
machine. It was just a router. Currently, my smallest machines are 48 MB (ftp
servers), and you just can't apply maintenance anymore (yast with connection to
a vswitch) in a 48 MB machine <G>. Memory is cheap, until you have to buy it.
Tom Duerbusch
THD Consulting
Sent from my Verizon Wireless 4G LTE DROID
Mark Post <[email protected]> wrote:
>>> On 8/16/2013 at 11:40 AM, "Duerbusch, Tom" <[email protected]>
>>> wrote:
> I have also occasionally had that kind of problem.
>
> I'm under VM, so I IPL the guest and specify another 512 MB of virtual
> storage.
> Run my maintenance.
> Then reipl with the normal amount of memory for that guest.
Just curious as to what this has to do with adding disk space?
Mark Post
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/
>>> On 8/16/2013 at 11:40 AM, "Duerbusch, Tom" <[email protected]>
>>> wrote:
> I have also occasionally had that kind of problem.
>
> I'm under VM, so I IPL the guest and specify another 512 MB of virtual
> storage.
> Run my maintenance.
> Then reipl with the normal amount of memory for that guest.
Just curious as to what this has to do with adding disk space?
Mark Post
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/