Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Which partition? Can you umount it over ssh and then resize it? E.G. If you log in as root, and init to single user mode, you can umount the /home partition. Root doesn't need the /home partition and in single user mode, no other use is logged in who does.
This is something that is probably safer to do locally.
Which partition? Can you umount it over ssh and then resize it? E.G. If you log in as root, and init to single user mode, you can umount the /home partition. Root doesn't need the /home partition and in single user mode, no other use is logged in who does.
This is something that is probably safer to do locally.
sorry, I meant root(/) partition. Or is it possible to install LVM over ssh and then resize and make new partitions over ssh?
Anything is possible.
Would you do it to a system you care about ??? ... that may be entirely different.
Most filesystems probably allow online enlarging these days. Personally I don't do it. Reducing the size online - hmmm ...
LVM is irrelevant to this discussion - the filesystem still has to support resizing.
I suspect single user won't work over ssh - last I looked at a Ubuntu system, it didn't load the network in runlevel 1.
Last edited by syg00; 03-20-2009 at 02:52 AM.
Reason: init 1
Anything is possible.
Would you do it to a system you care about ??? ... that may be entirely different.
Most filesystems probably allow online enlarging these days. Personally I don't do it. Reducing the size online - hmmm ...
LVM is irrelevant to this discussion - the filesystem still has to support resizing.
I suspect single user won't work over ssh - last I looked at a Ubuntu system, it didn't load the network in runlevel 1.
it is my parents desktop computer(Ubuntu) in another town. They have a netbook as well so it is nothing catastrophic if the desktop computer is out of order for a while. This Ubuntu desktop computer has three partitions: 1GB swap, 49GB /home and 150GB root(/) partition. The problem is that this /home partition has become full(mostly backups of movies, nothing critical). On the other hand, the root partition has 50GB of free space. I would like to copy the content of /home partition into a / partition. Then delete /home partition and finally extend / partition. Is it possible to install LVM now or is my only possibility to try partitioning over ssh?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.