Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #159764
| From | Pascal Hambourg <pascal@plouf.fr.eu.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: How to Rezize Partition on LVM |
| Date | 2015-10-25 16:00 +0100 |
| Message-ID | <qnuW9-4fF-101@gated-at.bofh.it> (permalink) |
| References | <qmVOG-21k-7@gated-at.bofh.it> <qn9eV-4A2-5@gated-at.bofh.it> <qnt3Y-36r-13@gated-at.bofh.it> |
| Organization | Plouf ! |
ray a écrit : > I would like to than everyone for the input. Here is how it was completed: > > Boot into GUI mycomp as root I thought that logging as root was prohibited by GUI display managers. > # df -h > Filesystem Size Used Avail Use% Mounted on (...) > /dev/mapper/mycomp--vg-home 427G 136M 405G 1% /home (...) > root@mycomp:~# resize2fs /dev/mapper/mycomp--vg-home 5G > Filesystem at /dev/mapper/mycomp--vg-home is mounted on /home; on-line resizing required > resize2fs: On-line shrinking not supported You need to unmount /home first. If you're logged as root, it should work. > Rebooting into command line interface for root worked, the /home partition was not mounted. What do you call "command line interface for root" ? Single user mode ? > # lvreduce -L 5G /dev/mapper/mycomp--vg-home > WARNING: Reducing active and open logical volume to 5.00 GiB > THIS MAY DESTROY YOUR DATA (filesystem etc.) > Do you really want to reduce home? [y/n]: y > Size of logical volume mycomp-vg/home changed from 433.32 GiB (110931 extents) to 5.00 GiB (1280 extents). > Logical volume home successfully resized I hope you reran the resize2fs command successfully before doing this. Otherwise you just ruined your /home filesystem.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How to Rezize Partition on LVM ray <ray@aarden.us> - 2015-10-24 03:30 +0200
Re: How to Rezize Partition on LVM Charlie Kravetz <cjk@teamcharliesangels.com> - 2015-10-24 04:40 +0200
Re: How to Rezize Partition on LVM Mario Castelán Castro <marioxcc.MT@yandex.com> - 2015-10-24 04:40 +0200
Re: How to Rezize Partition on LVM Pascal Hambourg <pascal@plouf.fr.eu.org> - 2015-10-24 17:50 +0200
Re: How to Rezize Partition on LVM ray <ray@aarden.us> - 2015-10-25 14:00 +0100
Re: How to Rezize Partition on LVM Pascal Hambourg <pascal@plouf.fr.eu.org> - 2015-10-25 16:00 +0100
Re: How to Rezize Partition on LVM ray <ray@aarden.us> - 2015-10-25 20:10 +0100
Re: How to Rezize Partition on LVM ray <ray@aarden.us> - 2015-10-25 20:30 +0100
Re: How to Rezize Partition on LVM Mario Castelán Castro <marioxcc.MT@yandex.com> - 2015-10-25 20:50 +0100
Re: How to Resize Partition on LVM ray <ray@aarden.us> - 2015-10-26 02:50 +0100
Re: How to Resize Partition on LVM Mario Castelán Castro <marioxcc.MT@yandex.com> - 2015-10-26 03:20 +0100
Re: How to Resize Partition on LVM Pascal Hambourg <pascal@plouf.fr.eu.org> - 2015-10-26 10:00 +0100
Re: How to Resize Partition on LVM Mario Castelán Castro <marioxcc.MT@yandex.com> - 2015-10-26 15:20 +0100
Re: How to Resize Partition on LVM ray <ray@aarden.us> - 2015-10-27 05:10 +0100
csiph-web