When adding disks to mountpoint /, you have to update zipl.conf, se below.
Example of cmds we have used in a RHEL6: 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 edit /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 !! Tore Agblad Infrastructure Architect - Mainframe zOpen HCL Technologies Ltd. DA1S Gunnar Engellaus väg 3, 418 78 Gothenburg, Sweden Direct: +46 31 3233569 Mob: +46 76 5533569 www.hcltech.com www.hcl.com ::DISCLAIMER:: The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects.. -----Original Message----- From: Linux on 390 Port [mailto:[email protected]] On Behalf Of Michael Weiner Sent: den 17 november 2016 12:55 To: [email protected] Subject: Expanding disk Hi group! I have created an LVM on root root and about a month ago I expanded / resized it using yast. I formatted the DASD CreAted the partition Added the volume to vgroot Expanded the LVM and finished. Today I went to bring up the machine and it was complaining about lvroot that it was missing a disk. If I followed the above process, why would the disk be missing? Did I miss something? Thanks!!! Mike Sent from my iPhone ---------------------------------------------------------------------- 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/
