Re: devfs and Linux LVM

2004-01-05 Thread Paul Morgan
On Mon, 05 Jan 2004 15:35:12 -0800, ope wrote:

>> If devfsd is a debian install ("dpkg -l devfsd" will
>> tell you), it should
>> be set up fine.
>>
>> And, if you can see your devices as /dev/ide/...
>> then it is all fine.
>> 
> Yes, devfsd is installed and I can see the devices via
> the full devfs path.
> 
>> You are correct that you need to use the
>> /dev/ide/... device names for
>> LVM.  You can use the old device names (/dev/hd??)
>> for mount.  Probably
>> most all non-lvm commands.  Certainly the fdisk
>> family, for example.
> 
> This is probably where I went wrong.  I created the
> volume groups using the standard /dev/hda[1-9] rather
> than the full path.  I reconfigured and everything
> looks good so far.
>  
> Thanks again for all of your help.
> 

You are welcome.  Glad it seems to be sorted out.

-- 
paul

Programming without a hex editor is like watchmaking without a hammer.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: devfs and Linux LVM

2004-01-05 Thread ope
> If devfsd is a debian install ("dpkg -l devfsd" will
> tell you), it should
> be set up fine.
>
> And, if you can see your devices as /dev/ide/...
> then it is all fine.
> 
Yes, devfsd is installed and I can see the devices via
the full devfs path.

> You are correct that you need to use the
> /dev/ide/... device names for
> LVM.  You can use the old device names (/dev/hd??)
> for mount.  Probably
> most all non-lvm commands.  Certainly the fdisk
> family, for example.

This is probably where I went wrong.  I created the
volume groups using the standard /dev/hda[1-9] rather
than the full path.  I reconfigured and everything
looks good so far.
 
Thanks again for all of your help.

__
Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003
http://search.yahoo.com/top2003


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: devfs and Linux LVM

2004-01-05 Thread Paul Morgan
On Mon, 05 Jan 2004 11:38:43 -0800, ope wrote:

> Thanks for the response.  I will try lvm10 again (I am
> avoiding lvm2 for the same reason you are).  I think
> the problem may that I don't quite understand what I
> need to do to set up LVM.  When lvm10 is installed
> this message is displayed:
> 
> --
> if devfs is compiled into the kernel then it MUST be
> mounted on /dev
> Otherwise LVM will not be able to locate your Physical
> Volumes. You must
> also use the full devfs device names in LVM commands
> rather than the
> shortened devfsd names. 
> --
> 
> I have never used devfs and have mostly ignored its
> existence so I have a few questions.  The first is
> that the message says that that devfs "MUST be mounted
> on /dev".  What does this mean and how do I do it?
> 
> Second question, the message says that I must also use
> the full devfs device names in LVM commands.  Does
> this mean that I must run command like this:
> vgcreate newvg /dev/ide/host0/bus0...
> and not like this:
> vgcreate newvg /dev/hda2
> 
> I assume it means the former.  If so do I also have to
> use the full device path in non lvm commands.  For
> example can I mount using:
> mount /dev/newvg/nvglv01 /newfs
> or do I need to mount using:
> mount /dev/ide/host0/bus0... /newfs
> 

If devfsd is a debian install ("dpkg -l devfsd" will tell you), it should
be set up fine.

And, if you can see your devices as /dev/ide/... then it is all fine.

You are correct that you need to use the /dev/ide/... device names for
LVM.  You can use the old device names (/dev/hd??) for mount.  Probably
most all non-lvm commands.  Certainly the fdisk family, for example.

-- 
paul

Programming without a hex editor is like watchmaking without a hammer.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: devfs and Linux LVM

2004-01-05 Thread ope
Thanks for the response.  I will try lvm10 again (I am
avoiding lvm2 for the same reason you are).  I think
the problem may that I don't quite understand what I
need to do to set up LVM.  When lvm10 is installed
this message is displayed:

--
if devfs is compiled into the kernel then it MUST be
mounted on /dev
Otherwise LVM will not be able to locate your Physical
Volumes. You must
also use the full devfs device names in LVM commands
rather than the
shortened devfsd names. 
--

I have never used devfs and have mostly ignored its
existence so I have a few questions.  The first is
that the message says that that devfs "MUST be mounted
on /dev".  What does this mean and how do I do it?

Second question, the message says that I must also use
the full devfs device names in LVM commands.  Does
this mean that I must run command like this:
vgcreate newvg /dev/ide/host0/bus0...
and not like this:
vgcreate newvg /dev/hda2

I assume it means the former.  If so do I also have to
use the full device path in non lvm commands.  For
example can I mount using:
mount /dev/newvg/nvglv01 /newfs
or do I need to mount using:
mount /dev/ide/host0/bus0... /newfs

Thanks for the help.

--- Paul Morgan <[EMAIL PROTECTED]> wrote:
> On Sat, 03 Jan 2004 13:30:06 -0800, ope wrote:
> 
> I am running sarge (testing) and have been using
> devfs and lvm10 for
> nearly 2 years with no problems, either with stock
> or custom-compiled
> kernels. However, I don't mix distros, and your
> problem may be related to
> that, particularly as it once worked and now it
> doesn't.
> 
> I don't know whether moving to lvm2 will fix your
> problem, as I doubt it's
> related to either devfs or lvm10.  Personally, I'm
> not moving to lvm2
> until the package description no longer contains the
> text: "but has some
> unimplemented features (most notably, pvmove and
> e2fsadm).  It is not yet
> recommended for production use."
> 
> The only issue I've had with lvm10 is the well known
> inability to mount
> snapshot volumes, to fix which I've taken the VFS
> patch from an older
> kernel and modified it to patch my kernel (2.4.22).


__
Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003
http://search.yahoo.com/top2003


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: devfs and Linux LVM

2004-01-04 Thread Paul Morgan
On Sat, 03 Jan 2004 13:30:06 -0800, ope wrote:

I am running sarge (testing) and have been using devfs and lvm10 for
nearly 2 years with no problems, either with stock or custom-compiled
kernels. However, I don't mix distros, and your problem may be related to
that, particularly as it once worked and now it doesn't.

I don't know whether moving to lvm2 will fix your problem, as I doubt it's
related to either devfs or lvm10.  Personally, I'm not moving to lvm2
until the package description no longer contains the text: "but has some
unimplemented features (most notably, pvmove and e2fsadm).  It is not yet
recommended for production use."

The only issue I've had with lvm10 is the well known inability to mount
snapshot volumes, to fix which I've taken the VFS patch from an older
kernel and modified it to patch my kernel (2.4.22).

-- 
paul

Programming without a hex editor is like watchmaking without a hammer.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: devfs and Linux LVM

2004-01-03 Thread GCS
On Sat, Jan 03, 2004 at 01:30:06PM -0800, ope <[EMAIL PROTECTED]> wrote:
> From what I can tell, it really won't matter much if I
> get rid of devfs.  I wanted to check with everyone
> here to see if there were any issues with getting rid
> of devfs.  Is there anything I need to look out for or
> check before I do this?
 I don't really know, but it should not be a big deal. Try it, as I
think you can disable devfs with 'devfs=nomount' or something like that
appending to your kernel boot line.

> Does lvm2 fix this problem?
 I don't know this problem, but devfs is obsolated in 2.6, so it worth a
try. As I dislike devfs, never used it, and running LVM1 for years
(later I changed to LVM2 ofcourse). Please note that as soon as you
upgrade your _metadata_, you can't go back to LVM1. It's not a problem
to have only the LVM2 tools installed, they can read your LVM1 vg-s.

Hope this helps,
GCS


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]