Am 17. Jul, 2015 schwätzte Stephen M so:
Yes, but when I was trying to shrink the /home to give more to /usr it
was giving that error. Thats why I wanted to know what might be going
on. I know I could do it through a GUI but I want to learn command
line.
What are the original sizes? What sizes are you trying to shrik them to?
Did fsck it after shrinking the filesystem? I think that shouldn't be
necessary, but might as well do a health check :).
What was the actual error message? Error 5 just a bit generic...
You should be able to mount any filesystem that isn't mounted.
Some mounted filesystems can be resized as well, with a higher risk of
testing your disaster recovery procedures.
ciao,
der.hans
On Fri, Jul 17, 2015 at 8:59 PM, James Mcphee <[email protected]> wrote:
Yes. To resize an lv, you do an lvresize and then a resize2fs. you can
grow them without much issue, and newer ones will let you do it online.
just don't try to shrink it online :)
On Fri, Jul 17, 2015 at 8:43 PM, Stephen M <[email protected]> wrote:
Hi Everyone,
I'm trying to learn LVMs. I created a couple LVM partitions and was
trying to resize a /home I made. I use efsck2 to check the disk,
resize2fs to resize it then lvreduce/lvresize but it came out with an
error status 5 code. The partition was unmounted so that wasn't the
issue and I was in a tty using root. Is /home on LVM allowed to be
resized?
--
Stephen Melheim
602-400-7707
[email protected]
---------------------------------------------------
PLUG-discuss mailing list - [email protected]
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss
--
James McPhee
[email protected]
---------------------------------------------------
PLUG-discuss mailing list - [email protected]
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss
--
# http://www.LuftHans.com/ http://www.PhxLinux.org/
# "Communications without intelligence is noise;
# Intelligence without communications is irrelevant."
# Gen. Alfred. M. Gray, USMC
---------------------------------------------------
PLUG-discuss mailing list - [email protected]
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss