niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » Linux » Distributions » Debian
How do I turn on LVM on RAID in 32-bit etch?
Post new topic   Reply to topic Page 1 of 1 [5 Posts] View previous topic :: View next topic
Author Message
hendrik@topoi.pooq.com
*nix forums Guru Wannabe


Joined: 12 Dec 2005
Posts: 279

PostPosted: Mon Jul 17, 2006 1:50 am    Post subject: How do I turn on LVM on RAID in 32-bit etch? Reply with quote

A fresh install from the debian-testing-i386-netinst
CD, donloaded 2006 07 15, on partition /dev/hda2 on my AMD64 box.
It now dual-boots 32-bit or 64-bit etch.

I don't remember any such problems when I installed the 64-bit system.
But that was months ago and my memory may be shaky.

However, on my 64-bit system, it recognises my LVM partitions on my
RAID, and on ny 32-bit system, it does not.

When I ask the 32-but system to mount one of the LVs, it just
complains that it can't find the special device /dev/VG2/LV1
The 64-bit system just goes ahead and mounts it.

What packages/modules do I have to install/configure/modprobe or
whatever to get the 32-bit system to recognise this stuff.

I don't remember any such problems when I installed the 64-bit system.
But that was months ago and my memory may be shaky.

-- hendrik


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Back to top
Andrew Sackville-West
*nix forums Guru


Joined: 22 Mar 2005
Posts: 606

PostPosted: Mon Jul 17, 2006 5:20 pm    Post subject: Re: How do I turn on LVM on RAID in 32-bit etch? Reply with quote

On Sun, Jul 16, 2006 at 09:26:33PM -0400, hendrik@topoi.pooq.com wrote:
Quote:
A fresh install from the debian-testing-i386-netinst
CD, donloaded 2006 07 15, on partition /dev/hda2 on my AMD64 box.
It now dual-boots 32-bit or 64-bit etch.

I don't remember any such problems when I installed the 64-bit system.
But that was months ago and my memory may be shaky.

However, on my 64-bit system, it recognises my LVM partitions on my
RAID, and on ny 32-bit system, it does not.

When I ask the 32-but system to mount one of the LVs, it just
complains that it can't find the special device /dev/VG2/LV1
The 64-bit system just goes ahead and mounts it.

What packages/modules do I have to install/configure/modprobe or
whatever to get the 32-bit system to recognise this stuff.

just for kicks and grins, do you have lvm-common, lvm2 and lvm10
installed?

A
Back to top
hendrik@topoi.pooq.com
*nix forums Guru Wannabe


Joined: 12 Dec 2005
Posts: 279

PostPosted: Mon Jul 17, 2006 9:40 pm    Post subject: Re: How do I turn on LVM on RAID in 32-bit etch? Reply with quote

On Mon, Jul 17, 2006 at 09:55:42AM -0700, Andrew Sackville-West wrote:
Quote:
On Sun, Jul 16, 2006 at 09:26:33PM -0400, hendrik@topoi.pooq.com wrote:
A fresh install from the debian-testing-i386-netinst
CD, donloaded 2006 07 15, on partition /dev/hda2 on my AMD64 box.
It now dual-boots 32-bit or 64-bit etch.

I don't remember any such problems when I installed the 64-bit system.
But that was months ago and my memory may be shaky.

However, on my 64-bit system, it recognises my LVM partitions on my
RAID, and on ny 32-bit system, it does not.

When I ask the 32-but system to mount one of the LVs, it just
complains that it can't find the special device /dev/VG2/LV1
The 64-bit system just goes ahead and mounts it.

What packages/modules do I have to install/configure/modprobe or
whatever to get the 32-bit system to recognise this stuff.

just for kicks and grins, do you have lvm-common, lvm2 and lvm10
installed?

OK. I'm so embarassed to admit I hadn't.
Now I have lvm-common and lvm2, and am wondering why it didn't get
installed automatically by the installer, when it could see I had
LVM on RAID on my file system. Perhaps because I didn't ask it to
make it available during the partitioning phase of the initial
minimal install.

However, I now have lvm-common and lvm2, ans still get the boot-time
message

mount: special device /dev/VG1/LV1 does not exits
* Mount local filesystems failed with error code 96

So there's something *else* that has to be done.

I could try reinstalling on /dev/hda2 from scratch, and this time
telling the partitioner to mount my lvm partitions somewhere.
Maybe if I do that it will figure out what has to be installed for it?

I'm interested in getting the thing going, but I'm also interested in
why it didn't work out of the box, so to speak.

-- hendrik


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Back to top
hendrik@topoi.pooq.com
*nix forums Guru Wannabe


Joined: 12 Dec 2005
Posts: 279

PostPosted: Tue Jul 18, 2006 1:30 pm    Post subject: Re: How do I turn on LVM on RAID in 32-bit etch: SOLVED Reply with quote

On Mon, Jul 17, 2006 at 05:21:42PM -0400, hendrik@topoi.pooq.com wrote:
Quote:
On Mon, Jul 17, 2006 at 09:55:42AM -0700, Andrew Sackville-West wrote:
On Sun, Jul 16, 2006 at 09:26:33PM -0400, hendrik@topoi.pooq.com wrote:
A fresh install from the debian-testing-i386-netinst
CD, donloaded 2006 07 15, on partition /dev/hda2 on my AMD64 box.
It now dual-boots 32-bit or 64-bit etch.

When I ask the 32-bit system to mount one of the LVs, it just
complains that it can't find the special device /dev/VG2/LV1
The 64-bit system just goes ahead and mounts it.

What packages/modules do I have to install/configure/modprobe or
whatever to get the 32-bit system to recognise this stuff.

just for kicks and grins, do you have lvm-common, lvm2 and lvm10
installed?

OK. I'm so embarassed to admit I hadn't.

It turns out that I also had to install package mdadm.

I installed it so I could inspect the situation and maybe get a clue as
to why it did not work. But it turns out that just installing it made
the difference.

I though it was to administer md systems -- create, adjust, and the
like.

It turns out it is also used at boot time to recognise existing
ones.

So the conclusion:
To get the existing software RAID to be recognised, install mdadm.
To get the existing LVM partitions on the RAID to be recognised, you
likely need lvm-common, lvm2 and lvm10. (Don't know for sure; I didn't
try uninstalling them to see it fail after I got it all working)

-- hendrik


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Back to top
Andrew Sackville-West
*nix forums Guru


Joined: 22 Mar 2005
Posts: 606

PostPosted: Tue Jul 18, 2006 6:20 pm    Post subject: Re: How do I turn on LVM on RAID in 32-bit etch: SOLVED Reply with quote

On Tue, Jul 18, 2006 at 09:04:35AM -0400, hendrik@topoi.pooq.com wrote:
Quote:
On Mon, Jul 17, 2006 at 05:21:42PM -0400, hendrik@topoi.pooq.com wrote:
On Mon, Jul 17, 2006 at 09:55:42AM -0700, Andrew Sackville-West wrote:
On Sun, Jul 16, 2006 at 09:26:33PM -0400, hendrik@topoi.pooq.com wrote:
A fresh install from the debian-testing-i386-netinst
CD, donloaded 2006 07 15, on partition /dev/hda2 on my AMD64 box.
It now dual-boots 32-bit or 64-bit etch.

When I ask the 32-bit system to mount one of the LVs, it just
complains that it can't find the special device /dev/VG2/LV1
The 64-bit system just goes ahead and mounts it.

What packages/modules do I have to install/configure/modprobe or
whatever to get the 32-bit system to recognise this stuff.

just for kicks and grins, do you have lvm-common, lvm2 and lvm10
installed?

OK. I'm so embarassed to admit I hadn't.

:)

Quote:

It turns out that I also had to install package mdadm.

I installed it so I could inspect the situation and maybe get a clue as
to why it did not work. But it turns out that just installing it made
the difference.

I though it was to administer md systems -- create, adjust, and the
like.

It turns out it is also used at boot time to recognise existing
ones.

So the conclusion:
To get the existing software RAID to be recognised, install mdadm.
To get the existing LVM partitions on the RAID to be recognised, you
likely need lvm-common, lvm2 and lvm10. (Don't know for sure; I didn't
try uninstalling them to see it fail after I got it all working)

fwiw, apt-cache says that lvm10 is for 2.2 and 2.4 kernels, and lvm2
is a total rewrite. likely you don't need lvm10

A

Quote:

-- hendrik


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [5 Posts] View previous topic :: View next topic
The time now is Thu Jan 08, 2009 7:34 am | All times are GMT
navigation Forum index » *nix » Linux » Distributions » Debian
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts turn off autoreply when mailbox full bxd20 Postfix 1 Mon Mar 03, 2008 9:55 pm
No new posts Under VMS, on an HSG80, can Raid Partition Size be Increa... syslost VMS 2 Wed Jul 19, 2006 4:49 pm
No new posts ldap on etch n r Debian 0 Wed Jul 19, 2006 7:40 am
No new posts Etch: blank (black) screen, Xorg is running, modes are Ok Joao Carlos de Lima Rosco Debian 6 Tue Jul 18, 2006 3:40 pm
No new posts Suse 10.x x86-64 cannot see greater than 2TB volume on a ... AsdfQwerty hardware 2 Mon Jul 17, 2006 11:26 pm

Mortgage | 0 Credit Cards | Credit Cards | Myspace Backgrounds | Neopets Cheats, Games and Neopoints
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.4167s ][ Queries: 16 (0.3115s) ][ GZIP on - Debug on ]