Re: [Cooker] LM9.0: Setting up LVM

2002-09-28 Thread Alan Hughes

The problem with having / on an LVM volume set is that LILO can't handle it.
Take this scenario as an example: mt LVM volume set spans 3 disks, that
means a root file system could potentially be on any of those disks. LILO
would have to analyse the LVM volume set and work it out - a lot of work for
a boot loader.

Bear in mind that LILO does not strictly support software RAID root
partitions (although you can get around the problem for RAID-1 only).

Glad you sorted your problem out anyway.

- Original Message -
From: Frederic Soulier [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, September 27, 2002 7:33 PM
Subject: Re: [Cooker] LM9.0: Setting up LVM


 Well, I succeeded today setting Up LM9.0 with LVM. I believe the pbm was
 that I used Linux_extended (0x85) partition type instead of plain
 Extended.

 I have now the following setup:
SWAP   hda1 Primary
/boot  hda5 Extended Ext2
/  hda6 Extended ReiserFS
LVM Extended
  /usr   ReiserFS
  /home  ReiserFS
  /opt   ReiserFS
  /var   ReiserFS
  /tmp   ReiserFS

 and it's all working fine.

 Just 2 comments:
   - it would be nice to have the option to have / in the LV as well
   - when drakdisk starts spitting out errors it's hard to make it behave
 again without restarting... maybe the error handling could be
 frendlier :)


 Otherwise, LM9.0 looks really good, it feels definitely faster than 8.2
 I'm going to set it up on 4 boxes so I guess I'll have some more to
 report.

 Thanks Mandrake.

 /Fred


 On Fri, 2002-09-27 at 19:09, Alan Hughes wrote:
  I'm surpised! I installed 9.0 this morning with / as a normal ReiserFS
  partition, a swap partition and an LVM partition that spanned the
remainder
  of the disk plus two other disks. I have the same set of partitions on
my
  LVM volume (although the sizes are different - much larger disks) and
had no
  problems. I only used the installer.
 
  However at one time I did have a problem with LVM (must have been about
Beta
  3 or 4) which Pixel though he had fixed. It was OK for me afterwards,
but
  maybe I did'nt test it well enough.
 
  - Original Message -
  From: Frederic Soulier [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
  Sent: Thursday, September 26, 2002 8:32 PM
  Subject: [Cooker] LM9.0: Setting up LVM
 
 
   Hi
  
   I have been trying to setup LM9.0 using LVM with no success so far...
   The box is a vanilla Dell 4100 with a 20Gb HD, 256MB Ram  P3 933MHz
  
   The first pbm is that / cannot be part of the LVM... (had no pbm
having
   / part of the LVM on RH (null) and Gentoo.
  
   Scenario A
   --
 1) ran fdisk /dev/hda from tomsrtbt and created
  - a Linux extended partition (0x85) containing:
   swap700Mb
   /boot30Mb   Linux native (0x82)
   /   250Mb   Linux native (0x82)
   LVM remaining of space (0x8e)
 2) started the LM installer
 3) during the partitioning step:
  - changed the / type (0x82) to ReiserFS
  - selected the LVM Add to LVM and named it lv1
(a new tab lv1 appeared alongside hda)
  - selected the lv1 tab
  - created the following for the LVM:
   - /usr5500Mb   ReiserFS
   - /home   3500Mb   ReiserFS
   - /opt2500Mb   ReiserFS
   - /var4200Mb   ReiserFS
   - /tmp1200Mb   ReiserFS
  - clicked done
  - Selected all partitions to be formatted incl. extra checks
for bad blocks for the swap and /boot
  - made a prayer and clicked ok
  
   after a while I get an error that /dev/hda7 (/ in this scenario)
cannot
   be formatted...
   Tried to go back and clear all the partitions to start again and I got
   error msgs lvremove failed (or something equivalent).
   Tried to backtrack evenmore until drakdisk was up shit creek.
  
   Rebooted under tomsrtbt and cleaned up all partitions then tried again
   using only drakdisk from a clean disk, the bloody thing would not even
   create the LVM (0x8e) partition...
   Tried again with partioning from fdisk (tomsrtbt) and using same
   partitioning as above with linux native type instead of ReiserFS, no
   more success...
  
   So basically, If someone had success setting up LVM in LM9.0 using
only
   drakdisk or a combination of fdisk/drakdisk then I'd like to hear from
   you :)
  
   I cannot believe it's not working so maybe I'm not using drakdisk
   correctly.
  
   I've got a laptop using LVM from a RH (null) install and another box
   using LVM from a Gentoo install (this box has 3 HDs) and both
   installation worked 1st time.
  
   What is wrong with drakdisk or with me ;)
  
   Ideas, suggestions much appreciated. Thanks.
  
   /Fred

Re: [Cooker] LM9.0: Setting up LVM

2002-09-28 Thread Frederic Soulier

On Sat, 2002-09-28 at 18:28, Alan Hughes wrote:
 The problem with having / on an LVM volume set is that LILO can't handle it.
 Take this scenario as an example: mt LVM volume set spans 3 disks, that
 means a root file system could potentially be on any of those disks. LILO
 would have to analyse the LVM volume set and work it out - a lot of work for
 a boot loader.
 
 Bear in mind that LILO does not strictly support software RAID root
 partitions (although you can get around the problem for RAID-1 only).
 
 Glad you sorted your problem out anyway.

Thanks Alan.





Re: [Cooker] LM9.0: Setting up LVM

2002-09-27 Thread Alan Hughes

I'm surpised! I installed 9.0 this morning with / as a normal ReiserFS
partition, a swap partition and an LVM partition that spanned the remainder
of the disk plus two other disks. I have the same set of partitions on my
LVM volume (although the sizes are different - much larger disks) and had no
problems. I only used the installer.

However at one time I did have a problem with LVM (must have been about Beta
3 or 4) which Pixel though he had fixed. It was OK for me afterwards, but
maybe I did'nt test it well enough.

- Original Message -
From: Frederic Soulier [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, September 26, 2002 8:32 PM
Subject: [Cooker] LM9.0: Setting up LVM


 Hi

 I have been trying to setup LM9.0 using LVM with no success so far...
 The box is a vanilla Dell 4100 with a 20Gb HD, 256MB Ram  P3 933MHz

 The first pbm is that / cannot be part of the LVM... (had no pbm having
 / part of the LVM on RH (null) and Gentoo.

 Scenario A
 --
   1) ran fdisk /dev/hda from tomsrtbt and created
- a Linux extended partition (0x85) containing:
 swap700Mb
 /boot30Mb   Linux native (0x82)
 /   250Mb   Linux native (0x82)
 LVM remaining of space (0x8e)
   2) started the LM installer
   3) during the partitioning step:
- changed the / type (0x82) to ReiserFS
- selected the LVM Add to LVM and named it lv1
  (a new tab lv1 appeared alongside hda)
- selected the lv1 tab
- created the following for the LVM:
 - /usr5500Mb   ReiserFS
 - /home   3500Mb   ReiserFS
 - /opt2500Mb   ReiserFS
 - /var4200Mb   ReiserFS
 - /tmp1200Mb   ReiserFS
- clicked done
- Selected all partitions to be formatted incl. extra checks
  for bad blocks for the swap and /boot
- made a prayer and clicked ok

 after a while I get an error that /dev/hda7 (/ in this scenario) cannot
 be formatted...
 Tried to go back and clear all the partitions to start again and I got
 error msgs lvremove failed (or something equivalent).
 Tried to backtrack evenmore until drakdisk was up shit creek.

 Rebooted under tomsrtbt and cleaned up all partitions then tried again
 using only drakdisk from a clean disk, the bloody thing would not even
 create the LVM (0x8e) partition...
 Tried again with partioning from fdisk (tomsrtbt) and using same
 partitioning as above with linux native type instead of ReiserFS, no
 more success...

 So basically, If someone had success setting up LVM in LM9.0 using only
 drakdisk or a combination of fdisk/drakdisk then I'd like to hear from
 you :)

 I cannot believe it's not working so maybe I'm not using drakdisk
 correctly.

 I've got a laptop using LVM from a RH (null) install and another box
 using LVM from a Gentoo install (this box has 3 HDs) and both
 installation worked 1st time.

 What is wrong with drakdisk or with me ;)

 Ideas, suggestions much appreciated. Thanks.

 /Fred











Re: [Cooker] LM9.0: Setting up LVM

2002-09-27 Thread Frederic Soulier

Well, I succeeded today setting Up LM9.0 with LVM. I believe the pbm was
that I used Linux_extended (0x85) partition type instead of plain
Extended.

I have now the following setup:
   SWAP   hda1 Primary
   /boot  hda5 Extended Ext2
   /  hda6 Extended ReiserFS
   LVM Extended
 /usr   ReiserFS
 /home  ReiserFS
 /opt   ReiserFS
 /var   ReiserFS
 /tmp   ReiserFS

and it's all working fine.

Just 2 comments:
  - it would be nice to have the option to have / in the LV as well
  - when drakdisk starts spitting out errors it's hard to make it behave
again without restarting... maybe the error handling could be
frendlier :)


Otherwise, LM9.0 looks really good, it feels definitely faster than 8.2
I'm going to set it up on 4 boxes so I guess I'll have some more to
report.

Thanks Mandrake.

/Fred


On Fri, 2002-09-27 at 19:09, Alan Hughes wrote:
 I'm surpised! I installed 9.0 this morning with / as a normal ReiserFS
 partition, a swap partition and an LVM partition that spanned the remainder
 of the disk plus two other disks. I have the same set of partitions on my
 LVM volume (although the sizes are different - much larger disks) and had no
 problems. I only used the installer.
 
 However at one time I did have a problem with LVM (must have been about Beta
 3 or 4) which Pixel though he had fixed. It was OK for me afterwards, but
 maybe I did'nt test it well enough.
 
 - Original Message -
 From: Frederic Soulier [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Thursday, September 26, 2002 8:32 PM
 Subject: [Cooker] LM9.0: Setting up LVM
 
 
  Hi
 
  I have been trying to setup LM9.0 using LVM with no success so far...
  The box is a vanilla Dell 4100 with a 20Gb HD, 256MB Ram  P3 933MHz
 
  The first pbm is that / cannot be part of the LVM... (had no pbm having
  / part of the LVM on RH (null) and Gentoo.
 
  Scenario A
  --
1) ran fdisk /dev/hda from tomsrtbt and created
 - a Linux extended partition (0x85) containing:
  swap700Mb
  /boot30Mb   Linux native (0x82)
  /   250Mb   Linux native (0x82)
  LVM remaining of space (0x8e)
2) started the LM installer
3) during the partitioning step:
 - changed the / type (0x82) to ReiserFS
 - selected the LVM Add to LVM and named it lv1
   (a new tab lv1 appeared alongside hda)
 - selected the lv1 tab
 - created the following for the LVM:
  - /usr5500Mb   ReiserFS
  - /home   3500Mb   ReiserFS
  - /opt2500Mb   ReiserFS
  - /var4200Mb   ReiserFS
  - /tmp1200Mb   ReiserFS
 - clicked done
 - Selected all partitions to be formatted incl. extra checks
   for bad blocks for the swap and /boot
 - made a prayer and clicked ok
 
  after a while I get an error that /dev/hda7 (/ in this scenario) cannot
  be formatted...
  Tried to go back and clear all the partitions to start again and I got
  error msgs lvremove failed (or something equivalent).
  Tried to backtrack evenmore until drakdisk was up shit creek.
 
  Rebooted under tomsrtbt and cleaned up all partitions then tried again
  using only drakdisk from a clean disk, the bloody thing would not even
  create the LVM (0x8e) partition...
  Tried again with partioning from fdisk (tomsrtbt) and using same
  partitioning as above with linux native type instead of ReiserFS, no
  more success...
 
  So basically, If someone had success setting up LVM in LM9.0 using only
  drakdisk or a combination of fdisk/drakdisk then I'd like to hear from
  you :)
 
  I cannot believe it's not working so maybe I'm not using drakdisk
  correctly.
 
  I've got a laptop using LVM from a RH (null) install and another box
  using LVM from a Gentoo install (this box has 3 HDs) and both
  installation worked 1st time.
 
  What is wrong with drakdisk or with me ;)
 
  Ideas, suggestions much appreciated. Thanks.
 
  /Fred
 
 
 
 
 
 
 
 
-- 
  \|||/
 ( / \ )
(  O O  )
__oOOo-( )-oOOo__
 Frederic P. Soulier   [EMAIL PROTECTED]
 OpenPGP key available on http://www.keyserver.net
 1024D/BA6700ED   49A6 8E8E 4230 8D41 1ADE  B649 3203 1DD2 BA67 00ED
 Gentoo Linux / Current Linux kernel 2.4.19-gentoo-r7 / SMP
__Oooo___
oooO  (   )
   (   )   ) /
\ (   (_/
 \_)





[Cooker] LM9.0: Setting up LVM

2002-09-26 Thread Frederic Soulier

Hi

I have been trying to setup LM9.0 using LVM with no success so far...
The box is a vanilla Dell 4100 with a 20Gb HD, 256MB Ram  P3 933MHz

The first pbm is that / cannot be part of the LVM... (had no pbm having
/ part of the LVM on RH (null) and Gentoo.

Scenario A
--
  1) ran fdisk /dev/hda from tomsrtbt and created
   - a Linux extended partition (0x85) containing:
swap700Mb
/boot30Mb   Linux native (0x82)
/   250Mb   Linux native (0x82)
LVM remaining of space (0x8e)
  2) started the LM installer
  3) during the partitioning step:
   - changed the / type (0x82) to ReiserFS
   - selected the LVM Add to LVM and named it lv1
 (a new tab lv1 appeared alongside hda)
   - selected the lv1 tab
   - created the following for the LVM:
- /usr5500Mb   ReiserFS
- /home   3500Mb   ReiserFS
- /opt2500Mb   ReiserFS
- /var4200Mb   ReiserFS
- /tmp1200Mb   ReiserFS
   - clicked done
   - Selected all partitions to be formatted incl. extra checks
 for bad blocks for the swap and /boot
   - made a prayer and clicked ok
  
after a while I get an error that /dev/hda7 (/ in this scenario) cannot
be formatted...
Tried to go back and clear all the partitions to start again and I got
error msgs lvremove failed (or something equivalent).
Tried to backtrack evenmore until drakdisk was up shit creek.

Rebooted under tomsrtbt and cleaned up all partitions then tried again
using only drakdisk from a clean disk, the bloody thing would not even
create the LVM (0x8e) partition...
Tried again with partioning from fdisk (tomsrtbt) and using same
partitioning as above with linux native type instead of ReiserFS, no
more success...

So basically, If someone had success setting up LVM in LM9.0 using only
drakdisk or a combination of fdisk/drakdisk then I'd like to hear from
you :)

I cannot believe it's not working so maybe I'm not using drakdisk
correctly.

I've got a laptop using LVM from a RH (null) install and another box
using LVM from a Gentoo install (this box has 3 HDs) and both
installation worked 1st time.

What is wrong with drakdisk or with me ;)

Ideas, suggestions much appreciated. Thanks.
 
/Fred
   







Re: [Cooker] LM9.0: Setting up LVM

2002-09-26 Thread marcos colome
Please remove my name from the mailing list
Frederic Soulier <[EMAIL PROTECTED]>wrote:
HiI have been trying to setup LM9.0 using LVM with no success so far...The box is a vanilla Dell 4100 with a 20Gb HD, 256MB Ram  P3 933MHzThe first pbm is that / cannot be part of the LVM... (had no pbm having/ part of the LVM on RH (null) and Gentoo.Scenario A--1) ran fdisk /dev/hda from tomsrtbt and created- a Linux extended partition (0x85) containing:swap 700Mb/boot 30Mb Linux native (0x82)/ 250Mb Linux native (0x82)LVM remaining of space (0x8e)2) started the LM installer3) during the partitioning step:- changed the / type (0x82) to ReiserFS- selected the LVM "Add to LVM" and named it "lv1"(a new tab "lv1" appeared alongside "hda")- selected the "lv1" tab- created the following for the LVM:- /usr 5500Mb ReiserFS- /home 3500Mb ReiserFS- /opt 2500Mb ReiserFS- /var 4200Mb !
ReiserFS- /tmp 1200Mb ReiserFS- clicked "done"- Selected all partitions to be formatted incl. extra checksfor bad blocks for the swap and /boot- made a prayer and clicked okafter a while I get an error that /dev/hda7 (/ in this scenario) cannotbe formatted...Tried to go back and clear all the partitions to start again and I goterror msgs "lvremove failed" (or something equivalent).Tried to backtrack evenmore until drakdisk was up shit creek.Rebooted under tomsrtbt and cleaned up all partitions then tried againusing only drakdisk from a clean disk, the bloody thing would not evencreate the LVM (0x8e) partition...Tried again with partioning from fdisk (tomsrtbt) and using samepartitioning as above with linux native type instead of ReiserFS, nomore success...So basically, If someone had success setting up LVM in LM9.0 using onlydrakdisk or a combination of fdisk/drakdisk then I'd like to hear fr!
omyou :)I cannot believe it's not working so maybe I'm not using drakdiskcorrectly.I've got a laptop using LVM from a RH (null) install and another boxusing LVM from a Gentoo install (this box has 3 HDs) and bothinstallation worked 1st time.What is wrong with drakdisk or with me ;)Ideas, suggestions much appreciated. Thanks./FredDo you Yahoo!?
New DSL Internet Access from SBC & Yahoo!