Re: [gentoo-user] Installing 2005.0 with LVM2

2005-05-03 Thread Neil Bothwick
On Sun, 01 May 2005 19:18:02 +0800, William Kenworthy wrote:

 Yes, unless its a non-core partition and can be unmounted, and even then
 it would probably still be safer to do from a livecd.

Unless it is XFS, which can only be resized when mounted.


-- 
Neil Bothwick

Things which must be shipped together as a set, aren't.


pgpfD7sb4JuYD.pgp
Description: PGP signature


Re: [gentoo-user] Installing 2005.0 with LVM2

2005-05-01 Thread Mrugesh Karnik
OK. Installation complete. Everything went fine (well, I'm a lier ;) ). 
Anyways, just a few more queries...

During the installation, I extended one of the volumes by 2GB. But if I 
run df -hT, it still shows me the previous value. Why is this? How do I 
solve this?

Also, after installation, now, if I want to expand a volume, do I have 
to do it from the LiveCD?

Thanks,
Mrugesh Karnik
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Installing 2005.0 with LVM2

2005-05-01 Thread William Kenworthy
Did you grow the filesystem into the space you made with LVM ?

Yes, unless its a non-core partition and can be unmounted, and even then
it would probably still be safer to do from a livecd.

BillK


On Sun, 2005-05-01 at 11:11 +0530, Mrugesh Karnik wrote:
 OK. Installation complete. Everything went fine (well, I'm a lier ;) ). 
 Anyways, just a few more queries...
 
 During the installation, I extended one of the volumes by 2GB. But if I 
 run df -hT, it still shows me the previous value. Why is this? How do I 
 solve this?
 
 Also, after installation, now, if I want to expand a volume, do I have 
 to do it from the LiveCD?
 
 Thanks,
 Mrugesh Karnik
-- 
William Kenworthy [EMAIL PROTECTED]
Home!

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Installing 2005.0 with LVM2

2005-04-17 Thread Rumen Yotov
Mrugesh Karnik wrote:

 Kiawud wrote:

 On 4/16/05, Mrugesh Karnik [EMAIL PROTECTED] wrote:

 Hello folks,

 I'm trying to install Gentoo with LVM2. I had to stop the installation
 at one point and reboot the pc. Later, I booted with LiveCD again and
 now I'm wondering how I am to get my volumes back...

 I did the following (I definitely think that I'm doing something wrong
 here! I admit that I don't have enough knowledge about lvm yet and that
 I haven't read the complete LVM HOWTO yet.)

 modprobe dm_mod
 pvscan  Found the volume vg
 pvchange -a y  Successfully enabled vg
 lvscan  It found all the volumes, ie, usr, home, opt, var and tmp
 lvchange - a y  I enabled all the volumes properly.

 Now, when I do lvscan again, it tells me that all the volumes are
 ACTIVE
 and shows the path as /dev/vg/* and shows them as inherit.

 After all that, there is no /dev/vg

 Help?

 Thank you!

 Yours Faithfully,
 Mrugesh Karnik
 -- 
 gentoo-user@gentoo.org mailing list



 No problem ... I just did the same thing (installed 2005.0 w/ lvm2)
 ... Here's how I got it to work:

 1) vgchange -a n  (deactive all the volumes)
 2) vgexport -a vg  (export all the volumes)
 3) vgimport -a vg  (import all the volumes into the existing system)
 4) vgchange -a y   (reactive all the volumes)

 This should do it for you...

 -Hani

 Ah!

 Somehow I forgot to see --help on the export command... hehehe. I'll
 give it a try. Thank  you. :)

 Regards,
 Mrugesh Karnik

Hi,
A week ago also tried to install using LVM2, but couldn't resolve a Bug
(lvm2 linked to libgmp), see gentoo-lvm2-docs, so went for a normal install.
Made the devices with 'vgmknodes' command, then they exist in /dev/vg/...
HTH
Rumen
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Installing 2005.0 with LVM2

2005-04-16 Thread Mrugesh Karnik
Kiawud wrote:
On 4/16/05, Mrugesh Karnik [EMAIL PROTECTED] wrote:
Hello folks,
I'm trying to install Gentoo with LVM2. I had to stop the installation
at one point and reboot the pc. Later, I booted with LiveCD again and
now I'm wondering how I am to get my volumes back...
I did the following (I definitely think that I'm doing something wrong
here! I admit that I don't have enough knowledge about lvm yet and that
I haven't read the complete LVM HOWTO yet.)
modprobe dm_mod
pvscan  Found the volume vg
pvchange -a y  Successfully enabled vg
lvscan  It found all the volumes, ie, usr, home, opt, var and tmp
lvchange - a y  I enabled all the volumes properly.
Now, when I do lvscan again, it tells me that all the volumes are ACTIVE
and shows the path as /dev/vg/* and shows them as inherit.
After all that, there is no /dev/vg
Help?
Thank you!
Yours Faithfully,
Mrugesh Karnik
--
gentoo-user@gentoo.org mailing list

No problem ... I just did the same thing (installed 2005.0 w/ lvm2)
... Here's how I got it to work:
1) vgchange -a n  (deactive all the volumes)
2) vgexport -a vg  (export all the volumes)
3) vgimport -a vg  (import all the volumes into the existing system)
4) vgchange -a y   (reactive all the volumes)
This should do it for you...
-Hani
Ah!
Somehow I forgot to see --help on the export command... hehehe. I'll 
give it a try. Thank  you. :)

Regards,
Mrugesh Karnik
--
gentoo-user@gentoo.org mailing list