Resize2fs seems to work just fine: resize2fs /dev/mapper/clefos_mfclef00-home resize2fs 1.42.9 (28-Dec-2013) Filesystem at /dev/mapper/clefos_mfclef00-home is mounted on /home; on-line resizing required old_desc_blocks = 3, new_desc_blocks = 4 The filesystem on /dev/mapper/clefos_mfclef00-home is now 8076288 blocks long.
Frank M. Ramaekers Jr. -----Original Message----- From: Linux on 390 Port [mailto:[email protected]] On Behalf Of R P Herrold Sent: Monday, July 9, 2018 4:08 PM To: [email protected] Subject: Re: dasdfmt assistance...next On Mon, 9 Jul 2018, Frank M. Ramaekers wrote: > Okay, I'm now stuck at expanding the logical volume (the whole purpose > of this exercise was to expand the /home mount point). > xfs_growfs /home > xfs_growfs: /home is not a mounted XFS filesystem > > Hmmm....not a XFS, then what is it? 'df' only shows that it is a ext4: xfs is a filesystem. So is ext4 see man mount If you want to expand a mount, I would probably just set up a: 1. new xfs partition of the desired size, and mount it, at say: /tmp/home 2. then rsync the content over: rsync -av /home/. /tmp/home/. 3. run the command twice, 'just in case' 4. umount /home, and /tmp/home 5. manually edit /etc/fstab to point to the new one 6. get SElinux properly set: a. # touch /.autorelabel b. # reboot (the system will relabel) The former [ext4 formated] /home/ partition may be scratched -- Russ herrold ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit https://urldefense.proofpoint.com/v2/url?u=http-3A__www.marist.edu_htbin_wlvindex-3FLINUX-2D390&d=DwIBAg&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts&r=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=WTruvifGwehpeKadN8Hjr_KHkloQdeit0cYMhg0UmyU&s=trgd0qSOesx7mhGQ675iU30E8UbufEs2JzD-hIia1uc&e= ---------------------------------------------------------------------- For more information on Linux on System z, visit https://urldefense.proofpoint.com/v2/url?u=http-3A__wiki.linuxvm.org_&d=DwIBAg&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts&r=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=WTruvifGwehpeKadN8Hjr_KHkloQdeit0cYMhg0UmyU&s=pVKZWs7vwOODYtEYLVhyPLfK_f0UXOggqurU2h22K5g&e= ---------------------------------------------------------------------- This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at [email protected]. ---------------------------------------------------------------------- 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/
