You are not logged in.

#1 2008-09-29 22:03:27

void.pointer
Member
From: Dallas, TX
Registered: 2008-07-30
Posts: 239

Need help setting up LVM

Hi,

I have a single 250GB hard drive. When I use 'df', I get the following results:

robert / $ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3             9.7G  9.7G     0 100% /
none                  481M     0  481M   0% /dev/shm
/dev/sda1             130M   11M  113M   9% /boot
/dev/sda4             221G  200M  210G   1% /home

Notice how 210GB of that space is for /home. I want all of the space reserved for /home to be added to / (root). This should mean that /home shares the space allocated to /.

How can I do this? Thanks.

Last edited by void.pointer (2008-09-30 00:00:32)

Offline

#2 2008-09-29 22:37:29

void.pointer
Member
From: Dallas, TX
Registered: 2008-07-30
Posts: 239

Re: Need help setting up LVM

After a bit more research, I learned of LVM. However, the Archlinux Wiki entry for this isn't very helpful for my specific situation. Do I have to completely reinstall archlinux in order for it to use LVM? Are there better instructions online for setting up LVM?

Offline

#3 2008-09-30 04:39:15

alanhaggai
Member
From: World Wide Web
Registered: 2008-08-15
Posts: 25
Website

Re: Need help setting up LVM

I wrote a very basic introduction to setting LVM up: http://blog.alanhaggai.org/2008/09/intr … -lvm2.html

Hope it is of help to you.


The difference makes the difference.

Offline

#4 2008-09-30 06:15:53

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: Need help setting up LVM

void.pointer wrote:

Do I have to completely reinstall archlinux in order for it to use LVM?

Pretty much. Unless you add another hard drive to your system, set it up to use LVM, migrate from the original hard drive to the new one, then add the original hard drive as part of the new LVM setup. Kinda messy, but possible.

This thread / psot might help you if you want to go that route: http://bbs.archlinux.org/viewtopic.php? … 22#p420322
Step 7 would obviously have to include your LVM setup.

Last edited by fukawi2 (2008-09-30 06:16:33)

Offline

Board footer

Powered by FluxBB