Re: [CentOS] CentOS 7 - xfs shrink & expand

2020-05-16 Thread Frank M. Ramaekers Jr.
"telinit" was what I needed, thanks again! -Frank On 5/13/2020 12:05 PM, Frank M. Ramaekers Jr. wrote: I'll try that...I was using instructions I found on the internet for single-user/maintenance mode.   From the grub screen you enter 'e' and modify the linux16 line...etc. Okay, I'll try

Re: [CentOS] CentOS 7 - xfs shrink & expand

2020-05-13 Thread Mark Milhollan
Correct, XFS filesystems cannot be shrunk (reduced) dynamically, like ext2/3/4 can, only grown. You need to create another, smaller filesystem (XFS too usually) then copy the existing content which can be done with tools like xfsdump & xfsrestore (iff both are XFS), rsync, pax (spax), or tar,

Re: [CentOS] CentOS 7 - xfs shrink & expand

2020-05-13 Thread Jason Edgecombe
Hi, XFS filesystems cannot be shrunk. If you need to shrink an XFS file system, then you have to backup the data, delete the entire filesystem, resize the volume in LVM, then create a new filesystem and restore the data from backup. Ref:

Re: [CentOS] CentOS 7 - xfs shrink & expand

2020-05-13 Thread Frank M. Ramaekers Jr.
I'll try that...I was using instructions I found on the internet for single-user/maintenance mode.   From the grub screen you enter 'e' and modify the linux16 line...etc. Okay, I'll try that next. Thanks Simon! On 5/13/2020 7:28 AM, Simon Matter via CentOS wrote: Hi, Yeah, I tried that

Re: [CentOS] CentOS 7 - xfs shrink & expand

2020-05-13 Thread Simon Matter via CentOS
Hi, > Yeah, I tried that but ran into a problem.  It came up fine in > single-user/maintenance mode.   The mount command shows all of the > mounted file systems, but after I 'chroot /sysroot', the mount failed > (with some problem with mtab, sorry don't have the exact error > message).  So I

Re: [CentOS] CentOS 7 - xfs shrink & expand

2020-05-13 Thread Frank M. Ramaekers Jr.
Yeah, I tried that but ran into a problem.  It came up fine in single-user/maintenance mode.   The mount command shows all of the mounted file systems, but after I 'chroot /sysroot', the mount failed (with some problem with mtab, sorry don't have the exact error message).  So I couldn't mount

Re: [CentOS] CentOS 7 - xfs shrink & expand

2020-05-12 Thread Simon Matter via CentOS
Hi, > I'm having some difficulty finding a method to shrink my /home to expand > my /.  They both correspond to LVMs.  It is my understanding that one > cannot shrink a xfs filesystem.  One must back it up (xfsdump), remove > (lvremove) redefine it and then restore it back (xfsrestore). > > Okay,

Re: [CentOS] CentOS 7 - xfs shrink & expand

2020-05-12 Thread Jack Morgan
Frank, On 5/12/20 5:06 PM, Frank M. Ramaekers Jr. wrote: > I'm having some difficulty finding a method to shrink my /home to > expand my /.  They both correspond to LVMs.  It is my understanding > that one cannot shrink a xfs filesystem.  One must back it up > (xfsdump), remove (lvremove)

[CentOS] CentOS 7 - xfs shrink & expand

2020-05-12 Thread Frank M. Ramaekers Jr.
I'm having some difficulty finding a method to shrink my /home to expand my /.  They both correspond to LVMs.  It is my understanding that one cannot shrink a xfs filesystem.  One must back it up (xfsdump), remove (lvremove) redefine it and then restore it back (xfsrestore). Okay, I'm running