Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] [CVS LVM Mon Jan 29 16:18:57 EST 2001] Device /dev/hdc1 doesn't exist
@ 2001-01-29  5:25 David Parrish
  2001-01-29  5:42 ` lewis
  2001-01-29 16:34 ` [linux-lvm] [CVS LVM Mon Jan 29 16:18:57 EST 2001] Device /dev/hdc1 doesn'texist Heinz J. Mauelshagen
  0 siblings, 2 replies; 7+ messages in thread
From: David Parrish @ 2001-01-29  5:25 UTC (permalink / raw)
  To: linux-lvm

I'm trying to get LVM going for the first, time.. I'm getting a few
errors, I've looked through the FAQs and can't find anything about these.

If this is a really stupid commonly found problem and it's just a stupid
luser doing it, please point me in the appropriate manual, otherwise,
any help would be appreciated.

LVM CVS checked out today Mon Jan 29 16:18:57 EST 2001





[root@mordor /root]# uname -a
Linux mordor.parrish.org.au 2.4.0-ac11 #7 Sat Jan 27 18:34:52 EST 2001 i686 unknown

[root@mordor /root]# vgscan -?

Logical Volume Manager 0.9
Heinz Mauelshagen, Sistina Software  13/11/2000  (IOP 10)

vgscan -- Volume Group Scan

Synopsis:
---------

vgscan
	[-d/--debug]
	[-h/-?/--help]
	[-v/--verbose]

[root@mordor /root]# vgscan -v
vgscan -- removing "/etc/lvmtab" and "/etc/lvmtab.d"
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- no volume groups found

[root@mordor /root]# pvcreate -v /dev/hdc1
pvcreate -- locking logical volume manager
pvcreate -- checking physical volume name "/dev/hdc1"
pvcreate -- getting physical volume size
pvcreate -- device "/dev/hdc1" doesn't exist

[root@mordor /root]# fdisk /dev/hdc

The number of cylinders for this disk is set to 13328.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/hdc: 15 heads, 63 sectors, 13328 cylinders
Units = cylinders of 945 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hdc1             1     13328   6297448+  8e  Linux LVM

Command (m for help): q

[root@mordor /root] pvcreate -d /dev/hdc1
<1> lvm_get_iop_version -- CALLED
<22> lvm_check_special -- CALLED
<22> lvm_check_special -- LEAVING
<1> lvm_get_iop_version -- AFTER ioctl ret: 0
<1> lvm_get_iop_version -- LEAVING with ret: 10
<1> lvm_lock -- CALLED
<22> lvm_check_special -- CALLED
<22> lvm_check_special -- LEAVING
<1> lvm_lock -- LEAVING with ret: 0
<1> pv_check_name -- CALLED with "/dev/hdc1"
<22> lvm_check_chars -- CALLED with name: "/dev/hdc1"
<22> lvm_check_chars -- LEAVING with ret: 0
<22> lvm_check_dev -- CALLED
<22> lvm_check_dev -- LEAVING with ret: 1
<1> pv_check_name -- LEAVING with ret: 0
<1> pv_get_size -- CALLED with /dev/hdc1 and BFFFF8E0
<22> pv_check_name -- CALLED with "/dev/hdc1"
<333> lvm_check_chars -- CALLED with name: "/dev/hdc1"
<333> lvm_check_chars -- LEAVING with ret: 0
<333> lvm_check_dev -- CALLED
<333> lvm_check_dev -- LEAVING with ret: 1
<22> pv_check_name -- LEAVING with ret: 0
<22> pv_check_part -- CALLED with /dev/hdc1
<333> pv_check_name -- CALLED with "/dev/hdc1"
<4444> lvm_check_chars -- CALLED with name: "/dev/hdc1"
<4444> lvm_check_chars -- LEAVING with ret: 0
<4444> lvm_check_dev -- CALLED
<4444> lvm_check_dev -- LEAVING with ret: 1
<333> pv_check_name -- LEAVING with ret: 0
<333> lvm_dir_cache_find -- CALLED
<4444> pv_check_name -- CALLED with "/dev/hdc1"
<55555> lvm_check_chars -- CALLED with name: "/dev/hdc1"
<55555> lvm_check_chars -- LEAVING with ret: 0
<55555> lvm_check_dev -- CALLED
<55555> lvm_check_dev -- LEAVING with ret: 1
<4444> pv_check_name -- LEAVING with ret: 0
<4444> lvm_dir_cache -- CALLED
<55555> lvm_add_dir_cache -- CALLED
<666666> lvm_check_dev -- CALLED
<666666> lvm_check_dev -- LEAVING with ret: 1
<666666> lvm_dir_cache_hit -- CALLED
<666666> lvm_dir_cache_hit -- LEAVING with ret: 0
<55555> lvm_add_dir_cache -- LEAVING
<55555> lvm_add_dir_cache -- CALLED
<666666> lvm_check_dev -- CALLED
<666666> lvm_check_dev -- LEAVING with ret: 1
<666666> lvm_dir_cache_hit -- CALLED
<666666> lvm_dir_cache_hit -- LEAVING with ret: 0
<55555> lvm_add_dir_cache -- LEAVING
<55555> lvm_add_dir_cache -- CALLED
<666666> lvm_check_dev -- CALLED
<666666> lvm_check_dev -- LEAVING with ret: 1
<666666> lvm_dir_cache_hit -- CALLED
<666666> lvm_dir_cache_hit -- LEAVING with ret: 0
<55555> lvm_add_dir_cache -- LEAVING
<55555> lvm_add_dir_cache -- CALLED
<666666> lvm_check_dev -- CALLED
<666666> lvm_check_dev -- LEAVING with ret: 1
<666666> lvm_dir_cache_hit -- CALLED
<666666> lvm_dir_cache_hit -- LEAVING with ret: 0
<55555> lvm_add_dir_cache -- LEAVING
<55555> lvm_add_dir_cache -- CALLED
<666666> lvm_check_dev -- CALLED
<666666> lvm_check_dev -- LEAVING with ret: 1
<666666> lvm_dir_cache_hit -- CALLED
<666666> lvm_dir_cache_hit -- LEAVING with ret: 0
<55555> lvm_add_dir_cache -- LEAVING
<55555> lvm_add_dir_cache -- CALLED
<666666> lvm_check_dev -- CALLED
<666666> lvm_check_dev -- LEAVING with ret: 1
<666666> lvm_dir_cache_hit -- CALLED
<666666> lvm_dir_cache_hit -- LEAVING with ret: 0
<55555> lvm_add_dir_cache -- LEAVING
<55555> lvm_add_dir_cache -- CALLED
<666666> lvm_check_dev -- CALLED
<666666> lvm_check_dev -- LEAVING with ret: 1
<666666> lvm_dir_cache_hit -- CALLED
<666666> lvm_dir_cache_hit -- LEAVING with ret: 0
<55555> lvm_add_dir_cache -- LEAVING
<55555> lvm_add_dir_cache -- CALLED
<666666> lvm_check_dev -- CALLED
<666666> lvm_check_dev -- LEAVING with ret: 1
<666666> lvm_dir_cache_hit -- CALLED
<666666> lvm_dir_cache_hit -- LEAVING with ret: 0
<55555> lvm_add_dir_cache -- LEAVING
<55555> lvm_add_dir_cache -- CALLED
<666666> lvm_check_dev -- CALLED
<666666> lvm_check_dev -- LEAVING with ret: 1
<666666> lvm_dir_cache_hit -- CALLED
<666666> lvm_dir_cache_hit -- LEAVING with ret: 0
<55555> lvm_add_dir_cache -- LEAVING
<55555> lvm_add_dir_cache -- CALLED
<666666> lvm_check_dev -- CALLED
<666666> lvm_check_dev -- LEAVING with ret: 1
<666666> lvm_dir_cache_hit -- CALLED
<666666> lvm_dir_cache_hit -- LEAVING with ret: 0
<55555> lvm_add_dir_cache -- LEAVING
<55555> lvm_add_dir_cache -- CALLED
<666666> lvm_check_dev -- CALLED
<666666> lvm_check_dev -- LEAVING with ret: 1
<666666> lvm_dir_cache_hit -- CALLED
<666666> lvm_dir_cache_hit -- LEAVING with ret: 1
<55555> lvm_add_dir_cache -- LEAVING
<4444> lvm_dir_cache -- LEAVING with ret: 10
<333> lvm_dir_cache_find -- LEAVING
<22> pv_check_part -- LEAVING with -231
<22> lvm_dir_cache -- CALLED
<333> lvm_add_dir_cache -- CALLED
<4444> lvm_check_dev -- CALLED
<4444> lvm_check_dev -- LEAVING with ret: 1
<4444> lvm_dir_cache_hit -- CALLED
<4444> lvm_dir_cache_hit -- LEAVING with ret: 1
<333> lvm_add_dir_cache -- LEAVING
<333> lvm_add_dir_cache -- CALLED
<4444> lvm_check_dev -- CALLED
<4444> lvm_check_dev -- LEAVING with ret: 1
<4444> lvm_dir_cache_hit -- CALLED
<4444> lvm_dir_cache_hit -- LEAVING with ret: 1
<333> lvm_add_dir_cache -- LEAVING
<333> lvm_add_dir_cache -- CALLED
<4444> lvm_check_dev -- CALLED
<4444> lvm_check_dev -- LEAVING with ret: 1
<4444> lvm_dir_cache_hit -- CALLED
<4444> lvm_dir_cache_hit -- LEAVING with ret: 1
<333> lvm_add_dir_cache -- LEAVING
<333> lvm_add_dir_cache -- CALLED
<4444> lvm_check_dev -- CALLED
<4444> lvm_check_dev -- LEAVING with ret: 1
<4444> lvm_dir_cache_hit -- CALLED
<4444> lvm_dir_cache_hit -- LEAVING with ret: 1
<333> lvm_add_dir_cache -- LEAVING
<333> lvm_add_dir_cache -- CALLED
<4444> lvm_check_dev -- CALLED
<4444> lvm_check_dev -- LEAVING with ret: 1
<4444> lvm_dir_cache_hit -- CALLED
<4444> lvm_dir_cache_hit -- LEAVING with ret: 1
<333> lvm_add_dir_cache -- LEAVING
<333> lvm_add_dir_cache -- CALLED
<4444> lvm_check_dev -- CALLED
<4444> lvm_check_dev -- LEAVING with ret: 1
<4444> lvm_dir_cache_hit -- CALLED
<4444> lvm_dir_cache_hit -- LEAVING with ret: 1
<333> lvm_add_dir_cache -- LEAVING
<333> lvm_add_dir_cache -- CALLED
<4444> lvm_check_dev -- CALLED
<4444> lvm_check_dev -- LEAVING with ret: 1
<4444> lvm_dir_cache_hit -- CALLED
<4444> lvm_dir_cache_hit -- LEAVING with ret: 1
<333> lvm_add_dir_cache -- LEAVING
<333> lvm_add_dir_cache -- CALLED
<4444> lvm_check_dev -- CALLED
<4444> lvm_check_dev -- LEAVING with ret: 1
<4444> lvm_dir_cache_hit -- CALLED
<4444> lvm_dir_cache_hit -- LEAVING with ret: 1
<333> lvm_add_dir_cache -- LEAVING
<333> lvm_add_dir_cache -- CALLED
<4444> lvm_check_dev -- CALLED
<4444> lvm_check_dev -- LEAVING with ret: 1
<4444> lvm_dir_cache_hit -- CALLED
<4444> lvm_dir_cache_hit -- LEAVING with ret: 1
<333> lvm_add_dir_cache -- LEAVING
<333> lvm_add_dir_cache -- CALLED
<4444> lvm_check_dev -- CALLED
<4444> lvm_check_dev -- LEAVING with ret: 1
<4444> lvm_dir_cache_hit -- CALLED
<4444> lvm_dir_cache_hit -- LEAVING with ret: 1
<333> lvm_add_dir_cache -- LEAVING
<333> lvm_add_dir_cache -- CALLED
<4444> lvm_check_dev -- CALLED
<4444> lvm_check_dev -- LEAVING with ret: 1
<4444> lvm_dir_cache_hit -- CALLED
<4444> lvm_dir_cache_hit -- LEAVING with ret: 1
<333> lvm_add_dir_cache -- LEAVING
<22> lvm_dir_cache -- LEAVING with ret: 10
<22> lvm_dir_cache_find -- CALLED
<333> pv_check_name -- CALLED with "/dev/hdc1"
<4444> lvm_check_chars -- CALLED with name: "/dev/hdc1"
<4444> lvm_check_chars -- LEAVING with ret: 0
<4444> lvm_check_dev -- CALLED
<4444> lvm_check_dev -- LEAVING with ret: 1
<333> pv_check_name -- LEAVING with ret: 0
<333> lvm_dir_cache -- CALLED
<4444> lvm_add_dir_cache -- CALLED
<55555> lvm_check_dev -- CALLED
<55555> lvm_check_dev -- LEAVING with ret: 1
<55555> lvm_dir_cache_hit -- CALLED
<55555> lvm_dir_cache_hit -- LEAVING with ret: 1
<4444> lvm_add_dir_cache -- LEAVING
<4444> lvm_add_dir_cache -- CALLED
<55555> lvm_check_dev -- CALLED
<55555> lvm_check_dev -- LEAVING with ret: 1
<55555> lvm_dir_cache_hit -- CALLED
<55555> lvm_dir_cache_hit -- LEAVING with ret: 1
<4444> lvm_add_dir_cache -- LEAVING
<4444> lvm_add_dir_cache -- CALLED
<55555> lvm_check_dev -- CALLED
<55555> lvm_check_dev -- LEAVING with ret: 1
<55555> lvm_dir_cache_hit -- CALLED
<55555> lvm_dir_cache_hit -- LEAVING with ret: 1
<4444> lvm_add_dir_cache -- LEAVING
<4444> lvm_add_dir_cache -- CALLED
<55555> lvm_check_dev -- CALLED
<55555> lvm_check_dev -- LEAVING with ret: 1
<55555> lvm_dir_cache_hit -- CALLED
<55555> lvm_dir_cache_hit -- LEAVING with ret: 1
<4444> lvm_add_dir_cache -- LEAVING
<4444> lvm_add_dir_cache -- CALLED
<55555> lvm_check_dev -- CALLED
<55555> lvm_check_dev -- LEAVING with ret: 1
<55555> lvm_dir_cache_hit -- CALLED
<55555> lvm_dir_cache_hit -- LEAVING with ret: 1
<4444> lvm_add_dir_cache -- LEAVING
<4444> lvm_add_dir_cache -- CALLED
<55555> lvm_check_dev -- CALLED
<55555> lvm_check_dev -- LEAVING with ret: 1
<55555> lvm_dir_cache_hit -- CALLED
<55555> lvm_dir_cache_hit -- LEAVING with ret: 1
<4444> lvm_add_dir_cache -- LEAVING
<4444> lvm_add_dir_cache -- CALLED
<55555> lvm_check_dev -- CALLED
<55555> lvm_check_dev -- LEAVING with ret: 1
<55555> lvm_dir_cache_hit -- CALLED
<55555> lvm_dir_cache_hit -- LEAVING with ret: 1
<4444> lvm_add_dir_cache -- LEAVING
<4444> lvm_add_dir_cache -- CALLED
<55555> lvm_check_dev -- CALLED
<55555> lvm_check_dev -- LEAVING with ret: 1
<55555> lvm_dir_cache_hit -- CALLED
<55555> lvm_dir_cache_hit -- LEAVING with ret: 1
<4444> lvm_add_dir_cache -- LEAVING
<4444> lvm_add_dir_cache -- CALLED
<55555> lvm_check_dev -- CALLED
<55555> lvm_check_dev -- LEAVING with ret: 1
<55555> lvm_dir_cache_hit -- CALLED
<55555> lvm_dir_cache_hit -- LEAVING with ret: 1
<4444> lvm_add_dir_cache -- LEAVING
<4444> lvm_add_dir_cache -- CALLED
<55555> lvm_check_dev -- CALLED
<55555> lvm_check_dev -- LEAVING with ret: 1
<55555> lvm_dir_cache_hit -- CALLED
<55555> lvm_dir_cache_hit -- LEAVING with ret: 1
<4444> lvm_add_dir_cache -- LEAVING
<4444> lvm_add_dir_cache -- CALLED
<55555> lvm_check_dev -- CALLED
<55555> lvm_check_dev -- LEAVING with ret: 1
<55555> lvm_dir_cache_hit -- CALLED
<55555> lvm_dir_cache_hit -- LEAVING with ret: 1
<4444> lvm_add_dir_cache -- LEAVING
<333> lvm_dir_cache -- LEAVING with ret: 10
<22> lvm_dir_cache_find -- LEAVING
<1> pv_get_size -- LEAVING with ret: -236
pvcreate -- device "/dev/hdc1" doesn't exist

<1> lvm_unlock -- CALLED
<1> lvm_unlock -- LEAVING with ret: 0


-- 
David Parrish
Brainbench MVP for Linux
http://www.brainbench.com/

All men are mortal.  Socrates was mortal.  Therefore, all men are Socrates.
                -- Woody Allen

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [linux-lvm] [CVS LVM Mon Jan 29 16:18:57 EST 2001] Device /dev/hdc1 doesn't exist
  2001-01-29  5:25 [linux-lvm] [CVS LVM Mon Jan 29 16:18:57 EST 2001] Device /dev/hdc1 doesn't exist David Parrish
@ 2001-01-29  5:42 ` lewis
  2001-01-29  5:59   ` David Parrish
  2001-01-29 16:34 ` [linux-lvm] [CVS LVM Mon Jan 29 16:18:57 EST 2001] Device /dev/hdc1 doesn'texist Heinz J. Mauelshagen
  1 sibling, 1 reply; 7+ messages in thread
From: lewis @ 2001-01-29  5:42 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 1692 bytes --]

On Mon, Jan 29, 2001 at 04:25:43PM +1100, David Parrish wrote:
> I'm trying to get LVM going for the first, time.. I'm getting a few
> errors, I've looked through the FAQs and can't find anything about these.
> 
> If this is a really stupid commonly found problem and it's just a stupid
> luser doing it, please point me in the appropriate manual, otherwise,
> any help would be appreciated.
> 
> LVM CVS checked out today Mon Jan 29 16:18:57 EST 2001

Looks to me like you didn't check out the CVS with the LVM_0-9-patches tag.
Use 'cvs co -r LVM_0-9-patches LVM' and see if it does the same thing.  This
is documented on the CVS checkout instructions page at
http://www.sistina.com/Pages/cvs.html
If you didn't specify the tag you got a combination of Cluster LVM and the
old 0.9 stuff...which is pretty broken at this time.

Regards,
-- 
AJ Lewis
Sistina Software Inc.                  Voice:  612-379-3951
1313 5th St SE, Suite 111              Fax:    612-379-3952
Minneapolis, MN 55414                  E-Mail: lewis@sistina.com
http://www.sistina.com

Current GPG fingerprint = 3B5F 6011 5216 76A5 2F6B  52A0 941E 1261 0029 2648
Get my key at: http://www.sistina.com/~lewis/gpgkey
 (Unfortunately, the PKS-type keyservers do not work with multiple sub-keys)

-----Begin Obligatory Humorous Quote----------------------------------------
Sometimes I have a difficult time handling myself in social situations.
I just start scampering around neurotically, frantically jumping all
over guests. I think it all goes back to when I was raised in the wild
by miniature schnauzers.
-----End Obligatory Humorous Quote------------------------------------------

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [linux-lvm] [CVS LVM Mon Jan 29 16:18:57 EST 2001] Device /dev/hdc1 doesn't exist
  2001-01-29  5:42 ` lewis
@ 2001-01-29  5:59   ` David Parrish
  2001-01-29 14:39     ` lewis
  0 siblings, 1 reply; 7+ messages in thread
From: David Parrish @ 2001-01-29  5:59 UTC (permalink / raw)
  To: linux-lvm

On Sun, 28 Jan 2001 lewis@sistina.com wrote:

> On Mon, Jan 29, 2001 at 04:25:43PM +1100, David Parrish wrote:
> > I'm trying to get LVM going for the first, time.. I'm getting a few
> > errors, I've looked through the FAQs and can't find anything about these.
> > 
> > If this is a really stupid commonly found problem and it's just a stupid
> > luser doing it, please point me in the appropriate manual, otherwise,
> > any help would be appreciated.
> > 
> > LVM CVS checked out today Mon Jan 29 16:18:57 EST 2001
> 
> Looks to me like you didn't check out the CVS with the LVM_0-9-patches tag.
> Use 'cvs co -r LVM_0-9-patches LVM' and see if it does the same thing.  This
> is documented on the CVS checkout instructions page at
> http://www.sistina.com/Pages/cvs.html
> If you didn't specify the tag you got a combination of Cluster LVM and the
> old 0.9 stuff...which is pretty broken at this time.
> 
> Regards,
> 

You're right! I didn't include that tag. However, I still get the same
messages when I checkout and recompile with that tag.

I forgot to include this in my script, don't know if it helps.
By the way, I'm using devfs, which I am assuming is causing my problems?

[root@mordor LVM]# pvscan
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- ERROR "pv_read(): PV identifier invalid" reading physical volumes

-- 
David Parrish
Brainbench MVP for Linux
http://www.brainbench.com/

All men are mortal.  Socrates was mortal.  Therefore, all men are Socrates.
                -- Woody Allen

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [linux-lvm] [CVS LVM Mon Jan 29 16:18:57 EST 2001] Device /dev/hdc1 doesn't exist
  2001-01-29  5:59   ` David Parrish
@ 2001-01-29 14:39     ` lewis
  0 siblings, 0 replies; 7+ messages in thread
From: lewis @ 2001-01-29 14:39 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 2927 bytes --]

Did you patch the kernel you are using with the patch generated in PATCHES?
If not, read the README found in that directory, run make in that directory,
and apply the patch generated.  The version of the LVM modules in the
current kernel are _not_ up to date and do not work with the current tools.
We are working on getting this fixed, but for now you need to patch the
kernel yourself.

On Mon, Jan 29, 2001 at 04:59:21PM +1100, David Parrish wrote:
> On Sun, 28 Jan 2001 lewis@sistina.com wrote:
> 
> > On Mon, Jan 29, 2001 at 04:25:43PM +1100, David Parrish wrote:
> > > I'm trying to get LVM going for the first, time.. I'm getting a few
> > > errors, I've looked through the FAQs and can't find anything about these.
> > > 
> > > If this is a really stupid commonly found problem and it's just a stupid
> > > luser doing it, please point me in the appropriate manual, otherwise,
> > > any help would be appreciated.
> > > 
> > > LVM CVS checked out today Mon Jan 29 16:18:57 EST 2001
> > 
> > Looks to me like you didn't check out the CVS with the LVM_0-9-patches tag.
> > Use 'cvs co -r LVM_0-9-patches LVM' and see if it does the same thing.  This
> > is documented on the CVS checkout instructions page at
> > http://www.sistina.com/Pages/cvs.html
> > If you didn't specify the tag you got a combination of Cluster LVM and the
> > old 0.9 stuff...which is pretty broken at this time.
> > 
> > Regards,
> > 
> 
> You're right! I didn't include that tag. However, I still get the same
> messages when I checkout and recompile with that tag.
> 
> I forgot to include this in my script, don't know if it helps.
> By the way, I'm using devfs, which I am assuming is causing my problems?
> 
> [root@mordor LVM]# pvscan
> pvscan -- reading all physical volumes (this may take a while...)
> pvscan -- ERROR "pv_read(): PV identifier invalid" reading physical volumes
> 
> -- 
> David Parrish
> Brainbench MVP for Linux
> http://www.brainbench.com/
> 
> All men are mortal.  Socrates was mortal.  Therefore, all men are Socrates.
>                 -- Woody Allen
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm

-- 
AJ Lewis
Sistina Software Inc.                  Voice:  612-379-3951
1313 5th St SE, Suite 111              Fax:    612-379-3952
Minneapolis, MN 55414                  E-Mail: lewis@sistina.com
http://www.sistina.com

Current GPG fingerprint = 3B5F 6011 5216 76A5 2F6B  52A0 941E 1261 0029 2648
Get my key at: http://www.sistina.com/~lewis/gpgkey
 (Unfortunately, the PKS-type keyservers do not work with multiple sub-keys)

-----Begin Obligatory Humorous Quote----------------------------------------
Computer Science: solving today's problems tomorrow.
-----End Obligatory Humorous Quote------------------------------------------

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [linux-lvm] [CVS LVM Mon Jan 29 16:18:57 EST 2001] Device /dev/hdc1 doesn'texist
  2001-01-29  5:25 [linux-lvm] [CVS LVM Mon Jan 29 16:18:57 EST 2001] Device /dev/hdc1 doesn't exist David Parrish
  2001-01-29  5:42 ` lewis
@ 2001-01-29 16:34 ` Heinz J. Mauelshagen
  2001-01-29 21:26   ` David Parrish
  1 sibling, 1 reply; 7+ messages in thread
From: Heinz J. Mauelshagen @ 2001-01-29 16:34 UTC (permalink / raw)
  To: linux-lvm

Hi David,

did you check that your /dev entries are setup correctly?
The error returned by pv_get_size() makes me believe that there could be
something wrong.

In special they should look like:

brw-rw----   1 root     disk      22,   0 Mar 11  2000 /dev/hdc
brw-rw----   1 root     disk      22,   1 Mar 11  2000 /dev/hdc1
brw-rw----   1 root     disk      22,  10 Mar 11  2000 /dev/hdc10
brw-rw----   1 root     disk      22,  11 Mar 11  2000 /dev/hdc11
brw-rw----   1 root     disk      22,  12 Mar 11  2000 /dev/hdc12
brw-rw----   1 root     disk      22,  13 Mar 11  2000 /dev/hdc13
brw-rw----   1 root     disk      22,  14 Mar 11  2000 /dev/hdc14
brw-rw----   1 root     disk      22,  15 Mar 11  2000 /dev/hdc15
brw-rw----   1 root     disk      22,   2 Mar 11  2000 /dev/hdc2
brw-rw----   1 root     disk      22,   3 Mar 11  2000 /dev/hdc3
brw-rw----   1 root     disk      22,   4 Mar 11  2000 /dev/hdc4
brw-rw----   1 root     disk      22,   5 Mar 11  2000 /dev/hdc5
brw-rw----   1 root     disk      22,   6 Mar 11  2000 /dev/hdc6
brw-rw----   1 root     disk      22,   7 Mar 11  2000 /dev/hdc7
brw-rw----   1 root     disk      22,   8 Mar 11  2000 /dev/hdc8
brw-rw----   1 root     disk      22,   9 Mar 11  2000 /dev/hdc9

for /dev/hdc.


On Mon, Jan 29, 2001 at 04:25:43PM +1100, David Parrish wrote:
> I'm trying to get LVM going for the first, time.. I'm getting a few
> errors, I've looked through the FAQs and can't find anything about these.
> 
> If this is a really stupid commonly found problem and it's just a stupid
> luser doing it, please point me in the appropriate manual, otherwise,
> any help would be appreciated.
> 
> LVM CVS checked out today Mon Jan 29 16:18:57 EST 2001
> 
> 
> 
> 
> 
> [root@mordor /root]# uname -a
> Linux mordor.parrish.org.au 2.4.0-ac11 #7 Sat Jan 27 18:34:52 EST 2001 i686 unknown
> 
> [root@mordor /root]# vgscan -?
> 
> Logical Volume Manager 0.9
> Heinz Mauelshagen, Sistina Software  13/11/2000  (IOP 10)
> 
> vgscan -- Volume Group Scan
> 
> Synopsis:
> ---------
> 
> vgscan
> 	[-d/--debug]
> 	[-h/-?/--help]
> 	[-v/--verbose]
> 
> [root@mordor /root]# vgscan -v
> vgscan -- removing "/etc/lvmtab" and "/etc/lvmtab.d"
> vgscan -- reading all physical volumes (this may take a while...)
> vgscan -- no volume groups found
> 
> [root@mordor /root]# pvcreate -v /dev/hdc1
> pvcreate -- locking logical volume manager
> pvcreate -- checking physical volume name "/dev/hdc1"
> pvcreate -- getting physical volume size
> pvcreate -- device "/dev/hdc1" doesn't exist
> 
> [root@mordor /root]# fdisk /dev/hdc
> 
> The number of cylinders for this disk is set to 13328.
> There is nothing wrong with that, but this is larger than 1024,
> and could in certain setups cause problems with:
> 1) software that runs at boot time (e.g., old versions of LILO)
> 2) booting and partitioning software from other OSs
>    (e.g., DOS FDISK, OS/2 FDISK)
> 
> Command (m for help): p
> 
> Disk /dev/hdc: 15 heads, 63 sectors, 13328 cylinders
> Units = cylinders of 945 * 512 bytes
> 
>    Device Boot    Start       End    Blocks   Id  System
> /dev/hdc1             1     13328   6297448+  8e  Linux LVM
> 
> Command (m for help): q
> 
> [root@mordor /root] pvcreate -d /dev/hdc1
> <1> lvm_get_iop_version -- CALLED
> <22> lvm_check_special -- CALLED
> <22> lvm_check_special -- LEAVING
> <1> lvm_get_iop_version -- AFTER ioctl ret: 0
> <1> lvm_get_iop_version -- LEAVING with ret: 10
> <1> lvm_lock -- CALLED
> <22> lvm_check_special -- CALLED
> <22> lvm_check_special -- LEAVING
> <1> lvm_lock -- LEAVING with ret: 0
> <1> pv_check_name -- CALLED with "/dev/hdc1"
> <22> lvm_check_chars -- CALLED with name: "/dev/hdc1"
> <22> lvm_check_chars -- LEAVING with ret: 0
> <22> lvm_check_dev -- CALLED
> <22> lvm_check_dev -- LEAVING with ret: 1
> <1> pv_check_name -- LEAVING with ret: 0
> <1> pv_get_size -- CALLED with /dev/hdc1 and BFFFF8E0
> <22> pv_check_name -- CALLED with "/dev/hdc1"
> <333> lvm_check_chars -- CALLED with name: "/dev/hdc1"
> <333> lvm_check_chars -- LEAVING with ret: 0
> <333> lvm_check_dev -- CALLED
> <333> lvm_check_dev -- LEAVING with ret: 1
> <22> pv_check_name -- LEAVING with ret: 0
> <22> pv_check_part -- CALLED with /dev/hdc1
> <333> pv_check_name -- CALLED with "/dev/hdc1"
> <4444> lvm_check_chars -- CALLED with name: "/dev/hdc1"
> <4444> lvm_check_chars -- LEAVING with ret: 0
> <4444> lvm_check_dev -- CALLED
> <4444> lvm_check_dev -- LEAVING with ret: 1
> <333> pv_check_name -- LEAVING with ret: 0
> <333> lvm_dir_cache_find -- CALLED
> <4444> pv_check_name -- CALLED with "/dev/hdc1"
> <55555> lvm_check_chars -- CALLED with name: "/dev/hdc1"
> <55555> lvm_check_chars -- LEAVING with ret: 0
> <55555> lvm_check_dev -- CALLED
> <55555> lvm_check_dev -- LEAVING with ret: 1
> <4444> pv_check_name -- LEAVING with ret: 0
> <4444> lvm_dir_cache -- CALLED
> <55555> lvm_add_dir_cache -- CALLED
> <666666> lvm_check_dev -- CALLED
> <666666> lvm_check_dev -- LEAVING with ret: 1
> <666666> lvm_dir_cache_hit -- CALLED
> <666666> lvm_dir_cache_hit -- LEAVING with ret: 0
> <55555> lvm_add_dir_cache -- LEAVING
> <55555> lvm_add_dir_cache -- CALLED
> <666666> lvm_check_dev -- CALLED
> <666666> lvm_check_dev -- LEAVING with ret: 1
> <666666> lvm_dir_cache_hit -- CALLED
> <666666> lvm_dir_cache_hit -- LEAVING with ret: 0
> <55555> lvm_add_dir_cache -- LEAVING
> <55555> lvm_add_dir_cache -- CALLED
> <666666> lvm_check_dev -- CALLED
> <666666> lvm_check_dev -- LEAVING with ret: 1
> <666666> lvm_dir_cache_hit -- CALLED
> <666666> lvm_dir_cache_hit -- LEAVING with ret: 0
> <55555> lvm_add_dir_cache -- LEAVING
> <55555> lvm_add_dir_cache -- CALLED
> <666666> lvm_check_dev -- CALLED
> <666666> lvm_check_dev -- LEAVING with ret: 1
> <666666> lvm_dir_cache_hit -- CALLED
> <666666> lvm_dir_cache_hit -- LEAVING with ret: 0
> <55555> lvm_add_dir_cache -- LEAVING
> <55555> lvm_add_dir_cache -- CALLED
> <666666> lvm_check_dev -- CALLED
> <666666> lvm_check_dev -- LEAVING with ret: 1
> <666666> lvm_dir_cache_hit -- CALLED
> <666666> lvm_dir_cache_hit -- LEAVING with ret: 0
> <55555> lvm_add_dir_cache -- LEAVING
> <55555> lvm_add_dir_cache -- CALLED
> <666666> lvm_check_dev -- CALLED
> <666666> lvm_check_dev -- LEAVING with ret: 1
> <666666> lvm_dir_cache_hit -- CALLED
> <666666> lvm_dir_cache_hit -- LEAVING with ret: 0
> <55555> lvm_add_dir_cache -- LEAVING
> <55555> lvm_add_dir_cache -- CALLED
> <666666> lvm_check_dev -- CALLED
> <666666> lvm_check_dev -- LEAVING with ret: 1
> <666666> lvm_dir_cache_hit -- CALLED
> <666666> lvm_dir_cache_hit -- LEAVING with ret: 0
> <55555> lvm_add_dir_cache -- LEAVING
> <55555> lvm_add_dir_cache -- CALLED
> <666666> lvm_check_dev -- CALLED
> <666666> lvm_check_dev -- LEAVING with ret: 1
> <666666> lvm_dir_cache_hit -- CALLED
> <666666> lvm_dir_cache_hit -- LEAVING with ret: 0
> <55555> lvm_add_dir_cache -- LEAVING
> <55555> lvm_add_dir_cache -- CALLED
> <666666> lvm_check_dev -- CALLED
> <666666> lvm_check_dev -- LEAVING with ret: 1
> <666666> lvm_dir_cache_hit -- CALLED
> <666666> lvm_dir_cache_hit -- LEAVING with ret: 0
> <55555> lvm_add_dir_cache -- LEAVING
> <55555> lvm_add_dir_cache -- CALLED
> <666666> lvm_check_dev -- CALLED
> <666666> lvm_check_dev -- LEAVING with ret: 1
> <666666> lvm_dir_cache_hit -- CALLED
> <666666> lvm_dir_cache_hit -- LEAVING with ret: 0
> <55555> lvm_add_dir_cache -- LEAVING
> <55555> lvm_add_dir_cache -- CALLED
> <666666> lvm_check_dev -- CALLED
> <666666> lvm_check_dev -- LEAVING with ret: 1
> <666666> lvm_dir_cache_hit -- CALLED
> <666666> lvm_dir_cache_hit -- LEAVING with ret: 1
> <55555> lvm_add_dir_cache -- LEAVING
> <4444> lvm_dir_cache -- LEAVING with ret: 10
> <333> lvm_dir_cache_find -- LEAVING
> <22> pv_check_part -- LEAVING with -231
> <22> lvm_dir_cache -- CALLED
> <333> lvm_add_dir_cache -- CALLED
> <4444> lvm_check_dev -- CALLED
> <4444> lvm_check_dev -- LEAVING with ret: 1
> <4444> lvm_dir_cache_hit -- CALLED
> <4444> lvm_dir_cache_hit -- LEAVING with ret: 1
> <333> lvm_add_dir_cache -- LEAVING
> <333> lvm_add_dir_cache -- CALLED
> <4444> lvm_check_dev -- CALLED
> <4444> lvm_check_dev -- LEAVING with ret: 1
> <4444> lvm_dir_cache_hit -- CALLED
> <4444> lvm_dir_cache_hit -- LEAVING with ret: 1
> <333> lvm_add_dir_cache -- LEAVING
> <333> lvm_add_dir_cache -- CALLED
> <4444> lvm_check_dev -- CALLED
> <4444> lvm_check_dev -- LEAVING with ret: 1
> <4444> lvm_dir_cache_hit -- CALLED
> <4444> lvm_dir_cache_hit -- LEAVING with ret: 1
> <333> lvm_add_dir_cache -- LEAVING
> <333> lvm_add_dir_cache -- CALLED
> <4444> lvm_check_dev -- CALLED
> <4444> lvm_check_dev -- LEAVING with ret: 1
> <4444> lvm_dir_cache_hit -- CALLED
> <4444> lvm_dir_cache_hit -- LEAVING with ret: 1
> <333> lvm_add_dir_cache -- LEAVING
> <333> lvm_add_dir_cache -- CALLED
> <4444> lvm_check_dev -- CALLED
> <4444> lvm_check_dev -- LEAVING with ret: 1
> <4444> lvm_dir_cache_hit -- CALLED
> <4444> lvm_dir_cache_hit -- LEAVING with ret: 1
> <333> lvm_add_dir_cache -- LEAVING
> <333> lvm_add_dir_cache -- CALLED
> <4444> lvm_check_dev -- CALLED
> <4444> lvm_check_dev -- LEAVING with ret: 1
> <4444> lvm_dir_cache_hit -- CALLED
> <4444> lvm_dir_cache_hit -- LEAVING with ret: 1
> <333> lvm_add_dir_cache -- LEAVING
> <333> lvm_add_dir_cache -- CALLED
> <4444> lvm_check_dev -- CALLED
> <4444> lvm_check_dev -- LEAVING with ret: 1
> <4444> lvm_dir_cache_hit -- CALLED
> <4444> lvm_dir_cache_hit -- LEAVING with ret: 1
> <333> lvm_add_dir_cache -- LEAVING
> <333> lvm_add_dir_cache -- CALLED
> <4444> lvm_check_dev -- CALLED
> <4444> lvm_check_dev -- LEAVING with ret: 1
> <4444> lvm_dir_cache_hit -- CALLED
> <4444> lvm_dir_cache_hit -- LEAVING with ret: 1
> <333> lvm_add_dir_cache -- LEAVING
> <333> lvm_add_dir_cache -- CALLED
> <4444> lvm_check_dev -- CALLED
> <4444> lvm_check_dev -- LEAVING with ret: 1
> <4444> lvm_dir_cache_hit -- CALLED
> <4444> lvm_dir_cache_hit -- LEAVING with ret: 1
> <333> lvm_add_dir_cache -- LEAVING
> <333> lvm_add_dir_cache -- CALLED
> <4444> lvm_check_dev -- CALLED
> <4444> lvm_check_dev -- LEAVING with ret: 1
> <4444> lvm_dir_cache_hit -- CALLED
> <4444> lvm_dir_cache_hit -- LEAVING with ret: 1
> <333> lvm_add_dir_cache -- LEAVING
> <333> lvm_add_dir_cache -- CALLED
> <4444> lvm_check_dev -- CALLED
> <4444> lvm_check_dev -- LEAVING with ret: 1
> <4444> lvm_dir_cache_hit -- CALLED
> <4444> lvm_dir_cache_hit -- LEAVING with ret: 1
> <333> lvm_add_dir_cache -- LEAVING
> <22> lvm_dir_cache -- LEAVING with ret: 10
> <22> lvm_dir_cache_find -- CALLED
> <333> pv_check_name -- CALLED with "/dev/hdc1"
> <4444> lvm_check_chars -- CALLED with name: "/dev/hdc1"
> <4444> lvm_check_chars -- LEAVING with ret: 0
> <4444> lvm_check_dev -- CALLED
> <4444> lvm_check_dev -- LEAVING with ret: 1
> <333> pv_check_name -- LEAVING with ret: 0
> <333> lvm_dir_cache -- CALLED
> <4444> lvm_add_dir_cache -- CALLED
> <55555> lvm_check_dev -- CALLED
> <55555> lvm_check_dev -- LEAVING with ret: 1
> <55555> lvm_dir_cache_hit -- CALLED
> <55555> lvm_dir_cache_hit -- LEAVING with ret: 1
> <4444> lvm_add_dir_cache -- LEAVING
> <4444> lvm_add_dir_cache -- CALLED
> <55555> lvm_check_dev -- CALLED
> <55555> lvm_check_dev -- LEAVING with ret: 1
> <55555> lvm_dir_cache_hit -- CALLED
> <55555> lvm_dir_cache_hit -- LEAVING with ret: 1
> <4444> lvm_add_dir_cache -- LEAVING
> <4444> lvm_add_dir_cache -- CALLED
> <55555> lvm_check_dev -- CALLED
> <55555> lvm_check_dev -- LEAVING with ret: 1
> <55555> lvm_dir_cache_hit -- CALLED
> <55555> lvm_dir_cache_hit -- LEAVING with ret: 1
> <4444> lvm_add_dir_cache -- LEAVING
> <4444> lvm_add_dir_cache -- CALLED
> <55555> lvm_check_dev -- CALLED
> <55555> lvm_check_dev -- LEAVING with ret: 1
> <55555> lvm_dir_cache_hit -- CALLED
> <55555> lvm_dir_cache_hit -- LEAVING with ret: 1
> <4444> lvm_add_dir_cache -- LEAVING
> <4444> lvm_add_dir_cache -- CALLED
> <55555> lvm_check_dev -- CALLED
> <55555> lvm_check_dev -- LEAVING with ret: 1
> <55555> lvm_dir_cache_hit -- CALLED
> <55555> lvm_dir_cache_hit -- LEAVING with ret: 1
> <4444> lvm_add_dir_cache -- LEAVING
> <4444> lvm_add_dir_cache -- CALLED
> <55555> lvm_check_dev -- CALLED
> <55555> lvm_check_dev -- LEAVING with ret: 1
> <55555> lvm_dir_cache_hit -- CALLED
> <55555> lvm_dir_cache_hit -- LEAVING with ret: 1
> <4444> lvm_add_dir_cache -- LEAVING
> <4444> lvm_add_dir_cache -- CALLED
> <55555> lvm_check_dev -- CALLED
> <55555> lvm_check_dev -- LEAVING with ret: 1
> <55555> lvm_dir_cache_hit -- CALLED
> <55555> lvm_dir_cache_hit -- LEAVING with ret: 1
> <4444> lvm_add_dir_cache -- LEAVING
> <4444> lvm_add_dir_cache -- CALLED
> <55555> lvm_check_dev -- CALLED
> <55555> lvm_check_dev -- LEAVING with ret: 1
> <55555> lvm_dir_cache_hit -- CALLED
> <55555> lvm_dir_cache_hit -- LEAVING with ret: 1
> <4444> lvm_add_dir_cache -- LEAVING
> <4444> lvm_add_dir_cache -- CALLED
> <55555> lvm_check_dev -- CALLED
> <55555> lvm_check_dev -- LEAVING with ret: 1
> <55555> lvm_dir_cache_hit -- CALLED
> <55555> lvm_dir_cache_hit -- LEAVING with ret: 1
> <4444> lvm_add_dir_cache -- LEAVING
> <4444> lvm_add_dir_cache -- CALLED
> <55555> lvm_check_dev -- CALLED
> <55555> lvm_check_dev -- LEAVING with ret: 1
> <55555> lvm_dir_cache_hit -- CALLED
> <55555> lvm_dir_cache_hit -- LEAVING with ret: 1
> <4444> lvm_add_dir_cache -- LEAVING
> <4444> lvm_add_dir_cache -- CALLED
> <55555> lvm_check_dev -- CALLED
> <55555> lvm_check_dev -- LEAVING with ret: 1
> <55555> lvm_dir_cache_hit -- CALLED
> <55555> lvm_dir_cache_hit -- LEAVING with ret: 1
> <4444> lvm_add_dir_cache -- LEAVING
> <333> lvm_dir_cache -- LEAVING with ret: 10
> <22> lvm_dir_cache_find -- LEAVING
> <1> pv_get_size -- LEAVING with ret: -236
> pvcreate -- device "/dev/hdc1" doesn't exist
> 
> <1> lvm_unlock -- CALLED
> <1> lvm_unlock -- LEAVING with ret: 0
> 
> 
> -- 
> David Parrish
> Brainbench MVP for Linux
> http://www.brainbench.com/
> 
> All men are mortal.  Socrates was mortal.  Therefore, all men are Socrates.
>                 -- Woody Allen
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm

-- 

Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen@Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [linux-lvm] [CVS LVM Mon Jan 29 16:18:57 EST 2001] Device /dev/hdc1 doesn'texist
  2001-01-29 16:34 ` [linux-lvm] [CVS LVM Mon Jan 29 16:18:57 EST 2001] Device /dev/hdc1 doesn'texist Heinz J. Mauelshagen
@ 2001-01-29 21:26   ` David Parrish
  2001-01-30  8:51     ` Luca Berra
  0 siblings, 1 reply; 7+ messages in thread
From: David Parrish @ 2001-01-29 21:26 UTC (permalink / raw)
  To: linux-lvm

I did patch the kernel (re Lewis), and the /dev entries are correct. However pvcreate *did* eventually work if I use 

pvcreate /dev/ide/host0/bus1/target0/lun0/part1

And all appears to be fine now.

Thanks,
David Parrish
Brainbench MVP for Linux
http://www.brainbench.com/

----- Original Message ----- 
From: "Heinz J. Mauelshagen" <Mauelshagen@Sistina.com>
To: <linux-lvm@Sistina.com>
Sent: Tuesday, January 30, 2001 3:34 AM
Subject: Re: [linux-lvm] [CVS LVM Mon Jan 29 16:18:57 EST 2001] Device /dev/hdc1 doesn'texist


> 
> Hi David,
> 
> did you check that your /dev entries are setup correctly?
> The error returned by pv_get_size() makes me believe that there could be
> something wrong.
> 
> In special they should look like:
> 
> brw-rw----   1 root     disk      22,   0 Mar 11  2000 /dev/hdc
> brw-rw----   1 root     disk      22,   1 Mar 11  2000 /dev/hdc1
> brw-rw----   1 root     disk      22,  10 Mar 11  2000 /dev/hdc10
> brw-rw----   1 root     disk      22,  11 Mar 11  2000 /dev/hdc11
> brw-rw----   1 root     disk      22,  12 Mar 11  2000 /dev/hdc12
> brw-rw----   1 root     disk      22,  13 Mar 11  2000 /dev/hdc13
> brw-rw----   1 root     disk      22,  14 Mar 11  2000 /dev/hdc14
> brw-rw----   1 root     disk      22,  15 Mar 11  2000 /dev/hdc15
> brw-rw----   1 root     disk      22,   2 Mar 11  2000 /dev/hdc2
> brw-rw----   1 root     disk      22,   3 Mar 11  2000 /dev/hdc3
> brw-rw----   1 root     disk      22,   4 Mar 11  2000 /dev/hdc4
> brw-rw----   1 root     disk      22,   5 Mar 11  2000 /dev/hdc5
> brw-rw----   1 root     disk      22,   6 Mar 11  2000 /dev/hdc6
> brw-rw----   1 root     disk      22,   7 Mar 11  2000 /dev/hdc7
> brw-rw----   1 root     disk      22,   8 Mar 11  2000 /dev/hdc8
> brw-rw----   1 root     disk      22,   9 Mar 11  2000 /dev/hdc9
> 
> for /dev/hdc.
> 
> 
> On Mon, Jan 29, 2001 at 04:25:43PM +1100, David Parrish wrote:
> > I'm trying to get LVM going for the first, time.. I'm getting a few
> > errors, I've looked through the FAQs and can't find anything about these.
> > 
> > If this is a really stupid commonly found problem and it's just a stupid
> > luser doing it, please point me in the appropriate manual, otherwise,
> > any help would be appreciated.
> > 
> > LVM CVS checked out today Mon Jan 29 16:18:57 EST 2001
> > 
> > 
> > 
> > 
> > 
> > [root@mordor /root]# uname -a
> > Linux mordor.parrish.org.au 2.4.0-ac11 #7 Sat Jan 27 18:34:52 EST 2001 i686 unknown
> > 
> > [root@mordor /root]# vgscan -?
> > 
> > Logical Volume Manager 0.9
> > Heinz Mauelshagen, Sistina Software  13/11/2000  (IOP 10)
> > 
> > vgscan -- Volume Group Scan
> > 
> > Synopsis:
> > ---------
> > 
> > vgscan
> > [-d/--debug]
> > [-h/-?/--help]
> > [-v/--verbose]
> > 
> > [root@mordor /root]# vgscan -v
> > vgscan -- removing "/etc/lvmtab" and "/etc/lvmtab.d"
> > vgscan -- reading all physical volumes (this may take a while...)
> > vgscan -- no volume groups found
> > 
> > [root@mordor /root]# pvcreate -v /dev/hdc1
> > pvcreate -- locking logical volume manager
> > pvcreate -- checking physical volume name "/dev/hdc1"
> > pvcreate -- getting physical volume size
> > pvcreate -- device "/dev/hdc1" doesn't exist
> > 
> > [root@mordor /root]# fdisk /dev/hdc
> > 
> > The number of cylinders for this disk is set to 13328.
> > There is nothing wrong with that, but this is larger than 1024,
> > and could in certain setups cause problems with:
> > 1) software that runs at boot time (e.g., old versions of LILO)
> > 2) booting and partitioning software from other OSs
> >    (e.g., DOS FDISK, OS/2 FDISK)
> > 
> > Command (m for help): p
> > 
> > Disk /dev/hdc: 15 heads, 63 sectors, 13328 cylinders
> > Units = cylinders of 945 * 512 bytes
> > 
> >    Device Boot    Start       End    Blocks   Id  System
> > /dev/hdc1             1     13328   6297448+  8e  Linux LVM
> > 
> > Command (m for help): q
> > 
> > [root@mordor /root] pvcreate -d /dev/hdc1
> > <1> lvm_get_iop_version -- CALLED
> > <22> lvm_check_special -- CALLED
> > <22> lvm_check_special -- LEAVING
> > <1> lvm_get_iop_version -- AFTER ioctl ret: 0
> > <1> lvm_get_iop_version -- LEAVING with ret: 10
> > <1> lvm_lock -- CALLED
> > <22> lvm_check_special -- CALLED
> > <22> lvm_check_special -- LEAVING
> > <1> lvm_lock -- LEAVING with ret: 0
> > <1> pv_check_name -- CALLED with "/dev/hdc1"
> > <22> lvm_check_chars -- CALLED with name: "/dev/hdc1"
> > <22> lvm_check_chars -- LEAVING with ret: 0
> > <22> lvm_check_dev -- CALLED
> > <22> lvm_check_dev -- LEAVING with ret: 1
> > <1> pv_check_name -- LEAVING with ret: 0
> > <1> pv_get_size -- CALLED with /dev/hdc1 and BFFFF8E0
> > <22> pv_check_name -- CALLED with "/dev/hdc1"
> > <333> lvm_check_chars -- CALLED with name: "/dev/hdc1"
> > <333> lvm_check_chars -- LEAVING with ret: 0
> > <333> lvm_check_dev -- CALLED
> > <333> lvm_check_dev -- LEAVING with ret: 1
> > <22> pv_check_name -- LEAVING with ret: 0
> > <22> pv_check_part -- CALLED with /dev/hdc1
> > <333> pv_check_name -- CALLED with "/dev/hdc1"
> > <4444> lvm_check_chars -- CALLED with name: "/dev/hdc1"
> > <4444> lvm_check_chars -- LEAVING with ret: 0
> > <4444> lvm_check_dev -- CALLED
> > <4444> lvm_check_dev -- LEAVING with ret: 1
> > <333> pv_check_name -- LEAVING with ret: 0
> > <333> lvm_dir_cache_find -- CALLED
> > <4444> pv_check_name -- CALLED with "/dev/hdc1"
> > <55555> lvm_check_chars -- CALLED with name: "/dev/hdc1"
> > <55555> lvm_check_chars -- LEAVING with ret: 0
> > <55555> lvm_check_dev -- CALLED
> > <55555> lvm_check_dev -- LEAVING with ret: 1
> > <4444> pv_check_name -- LEAVING with ret: 0
> > <4444> lvm_dir_cache -- CALLED
> > <55555> lvm_add_dir_cache -- CALLED
> > <666666> lvm_check_dev -- CALLED
> > <666666> lvm_check_dev -- LEAVING with ret: 1
> > <666666> lvm_dir_cache_hit -- CALLED
> > <666666> lvm_dir_cache_hit -- LEAVING with ret: 0
> > <55555> lvm_add_dir_cache -- LEAVING
> > <55555> lvm_add_dir_cache -- CALLED
> > <666666> lvm_check_dev -- CALLED
> > <666666> lvm_check_dev -- LEAVING with ret: 1
> > <666666> lvm_dir_cache_hit -- CALLED
> > <666666> lvm_dir_cache_hit -- LEAVING with ret: 0
> > <55555> lvm_add_dir_cache -- LEAVING
> > <55555> lvm_add_dir_cache -- CALLED
> > <666666> lvm_check_dev -- CALLED
> > <666666> lvm_check_dev -- LEAVING with ret: 1
> > <666666> lvm_dir_cache_hit -- CALLED
> > <666666> lvm_dir_cache_hit -- LEAVING with ret: 0
> > <55555> lvm_add_dir_cache -- LEAVING
> > <55555> lvm_add_dir_cache -- CALLED
> > <666666> lvm_check_dev -- CALLED
> > <666666> lvm_check_dev -- LEAVING with ret: 1
> > <666666> lvm_dir_cache_hit -- CALLED
> > <666666> lvm_dir_cache_hit -- LEAVING with ret: 0
> > <55555> lvm_add_dir_cache -- LEAVING
> > <55555> lvm_add_dir_cache -- CALLED
> > <666666> lvm_check_dev -- CALLED
> > <666666> lvm_check_dev -- LEAVING with ret: 1
> > <666666> lvm_dir_cache_hit -- CALLED
> > <666666> lvm_dir_cache_hit -- LEAVING with ret: 0
> > <55555> lvm_add_dir_cache -- LEAVING
> > <55555> lvm_add_dir_cache -- CALLED
> > <666666> lvm_check_dev -- CALLED
> > <666666> lvm_check_dev -- LEAVING with ret: 1
> > <666666> lvm_dir_cache_hit -- CALLED
> > <666666> lvm_dir_cache_hit -- LEAVING with ret: 0
> > <55555> lvm_add_dir_cache -- LEAVING
> > <55555> lvm_add_dir_cache -- CALLED
> > <666666> lvm_check_dev -- CALLED
> > <666666> lvm_check_dev -- LEAVING with ret: 1
> > <666666> lvm_dir_cache_hit -- CALLED
> > <666666> lvm_dir_cache_hit -- LEAVING with ret: 0
> > <55555> lvm_add_dir_cache -- LEAVING
> > <55555> lvm_add_dir_cache -- CALLED
> > <666666> lvm_check_dev -- CALLED
> > <666666> lvm_check_dev -- LEAVING with ret: 1
> > <666666> lvm_dir_cache_hit -- CALLED
> > <666666> lvm_dir_cache_hit -- LEAVING with ret: 0
> > <55555> lvm_add_dir_cache -- LEAVING
> > <55555> lvm_add_dir_cache -- CALLED
> > <666666> lvm_check_dev -- CALLED
> > <666666> lvm_check_dev -- LEAVING with ret: 1
> > <666666> lvm_dir_cache_hit -- CALLED
> > <666666> lvm_dir_cache_hit -- LEAVING with ret: 0
> > <55555> lvm_add_dir_cache -- LEAVING
> > <55555> lvm_add_dir_cache -- CALLED
> > <666666> lvm_check_dev -- CALLED
> > <666666> lvm_check_dev -- LEAVING with ret: 1
> > <666666> lvm_dir_cache_hit -- CALLED
> > <666666> lvm_dir_cache_hit -- LEAVING with ret: 0
> > <55555> lvm_add_dir_cache -- LEAVING
> > <55555> lvm_add_dir_cache -- CALLED
> > <666666> lvm_check_dev -- CALLED
> > <666666> lvm_check_dev -- LEAVING with ret: 1
> > <666666> lvm_dir_cache_hit -- CALLED
> > <666666> lvm_dir_cache_hit -- LEAVING with ret: 1
> > <55555> lvm_add_dir_cache -- LEAVING
> > <4444> lvm_dir_cache -- LEAVING with ret: 10
> > <333> lvm_dir_cache_find -- LEAVING
> > <22> pv_check_part -- LEAVING with -231
> > <22> lvm_dir_cache -- CALLED
> > <333> lvm_add_dir_cache -- CALLED
> > <4444> lvm_check_dev -- CALLED
> > <4444> lvm_check_dev -- LEAVING with ret: 1
> > <4444> lvm_dir_cache_hit -- CALLED
> > <4444> lvm_dir_cache_hit -- LEAVING with ret: 1
> > <333> lvm_add_dir_cache -- LEAVING
> > <333> lvm_add_dir_cache -- CALLED
> > <4444> lvm_check_dev -- CALLED
> > <4444> lvm_check_dev -- LEAVING with ret: 1
> > <4444> lvm_dir_cache_hit -- CALLED
> > <4444> lvm_dir_cache_hit -- LEAVING with ret: 1
> > <333> lvm_add_dir_cache -- LEAVING
> > <333> lvm_add_dir_cache -- CALLED
> > <4444> lvm_check_dev -- CALLED
> > <4444> lvm_check_dev -- LEAVING with ret: 1
> > <4444> lvm_dir_cache_hit -- CALLED
> > <4444> lvm_dir_cache_hit -- LEAVING with ret: 1
> > <333> lvm_add_dir_cache -- LEAVING
> > <333> lvm_add_dir_cache -- CALLED
> > <4444> lvm_check_dev -- CALLED
> > <4444> lvm_check_dev -- LEAVING with ret: 1
> > <4444> lvm_dir_cache_hit -- CALLED
> > <4444> lvm_dir_cache_hit -- LEAVING with ret: 1
> > <333> lvm_add_dir_cache -- LEAVING
> > <333> lvm_add_dir_cache -- CALLED
> > <4444> lvm_check_dev -- CALLED
> > <4444> lvm_check_dev -- LEAVING with ret: 1
> > <4444> lvm_dir_cache_hit -- CALLED
> > <4444> lvm_dir_cache_hit -- LEAVING with ret: 1
> > <333> lvm_add_dir_cache -- LEAVING
> > <333> lvm_add_dir_cache -- CALLED
> > <4444> lvm_check_dev -- CALLED
> > <4444> lvm_check_dev -- LEAVING with ret: 1
> > <4444> lvm_dir_cache_hit -- CALLED
> > <4444> lvm_dir_cache_hit -- LEAVING with ret: 1
> > <333> lvm_add_dir_cache -- LEAVING
> > <333> lvm_add_dir_cache -- CALLED
> > <4444> lvm_check_dev -- CALLED
> > <4444> lvm_check_dev -- LEAVING with ret: 1
> > <4444> lvm_dir_cache_hit -- CALLED
> > <4444> lvm_dir_cache_hit -- LEAVING with ret: 1
> > <333> lvm_add_dir_cache -- LEAVING
> > <333> lvm_add_dir_cache -- CALLED
> > <4444> lvm_check_dev -- CALLED
> > <4444> lvm_check_dev -- LEAVING with ret: 1
> > <4444> lvm_dir_cache_hit -- CALLED
> > <4444> lvm_dir_cache_hit -- LEAVING with ret: 1
> > <333> lvm_add_dir_cache -- LEAVING
> > <333> lvm_add_dir_cache -- CALLED
> > <4444> lvm_check_dev -- CALLED
> > <4444> lvm_check_dev -- LEAVING with ret: 1
> > <4444> lvm_dir_cache_hit -- CALLED
> > <4444> lvm_dir_cache_hit -- LEAVING with ret: 1
> > <333> lvm_add_dir_cache -- LEAVING
> > <333> lvm_add_dir_cache -- CALLED
> > <4444> lvm_check_dev -- CALLED
> > <4444> lvm_check_dev -- LEAVING with ret: 1
> > <4444> lvm_dir_cache_hit -- CALLED
> > <4444> lvm_dir_cache_hit -- LEAVING with ret: 1
> > <333> lvm_add_dir_cache -- LEAVING
> > <333> lvm_add_dir_cache -- CALLED
> > <4444> lvm_check_dev -- CALLED
> > <4444> lvm_check_dev -- LEAVING with ret: 1
> > <4444> lvm_dir_cache_hit -- CALLED
> > <4444> lvm_dir_cache_hit -- LEAVING with ret: 1
> > <333> lvm_add_dir_cache -- LEAVING
> > <22> lvm_dir_cache -- LEAVING with ret: 10
> > <22> lvm_dir_cache_find -- CALLED
> > <333> pv_check_name -- CALLED with "/dev/hdc1"
> > <4444> lvm_check_chars -- CALLED with name: "/dev/hdc1"
> > <4444> lvm_check_chars -- LEAVING with ret: 0
> > <4444> lvm_check_dev -- CALLED
> > <4444> lvm_check_dev -- LEAVING with ret: 1
> > <333> pv_check_name -- LEAVING with ret: 0
> > <333> lvm_dir_cache -- CALLED
> > <4444> lvm_add_dir_cache -- CALLED
> > <55555> lvm_check_dev -- CALLED
> > <55555> lvm_check_dev -- LEAVING with ret: 1
> > <55555> lvm_dir_cache_hit -- CALLED
> > <55555> lvm_dir_cache_hit -- LEAVING with ret: 1
> > <4444> lvm_add_dir_cache -- LEAVING
> > <4444> lvm_add_dir_cache -- CALLED
> > <55555> lvm_check_dev -- CALLED
> > <55555> lvm_check_dev -- LEAVING with ret: 1
> > <55555> lvm_dir_cache_hit -- CALLED
> > <55555> lvm_dir_cache_hit -- LEAVING with ret: 1
> > <4444> lvm_add_dir_cache -- LEAVING
> > <4444> lvm_add_dir_cache -- CALLED
> > <55555> lvm_check_dev -- CALLED
> > <55555> lvm_check_dev -- LEAVING with ret: 1
> > <55555> lvm_dir_cache_hit -- CALLED
> > <55555> lvm_dir_cache_hit -- LEAVING with ret: 1
> > <4444> lvm_add_dir_cache -- LEAVING
> > <4444> lvm_add_dir_cache -- CALLED
> > <55555> lvm_check_dev -- CALLED
> > <55555> lvm_check_dev -- LEAVING with ret: 1
> > <55555> lvm_dir_cache_hit -- CALLED
> > <55555> lvm_dir_cache_hit -- LEAVING with ret: 1
> > <4444> lvm_add_dir_cache -- LEAVING
> > <4444> lvm_add_dir_cache -- CALLED
> > <55555> lvm_check_dev -- CALLED
> > <55555> lvm_check_dev -- LEAVING with ret: 1
> > <55555> lvm_dir_cache_hit -- CALLED
> > <55555> lvm_dir_cache_hit -- LEAVING with ret: 1
> > <4444> lvm_add_dir_cache -- LEAVING
> > <4444> lvm_add_dir_cache -- CALLED
> > <55555> lvm_check_dev -- CALLED
> > <55555> lvm_check_dev -- LEAVING with ret: 1
> > <55555> lvm_dir_cache_hit -- CALLED
> > <55555> lvm_dir_cache_hit -- LEAVING with ret: 1
> > <4444> lvm_add_dir_cache -- LEAVING
> > <4444> lvm_add_dir_cache -- CALLED
> > <55555> lvm_check_dev -- CALLED
> > <55555> lvm_check_dev -- LEAVING with ret: 1
> > <55555> lvm_dir_cache_hit -- CALLED
> > <55555> lvm_dir_cache_hit -- LEAVING with ret: 1
> > <4444> lvm_add_dir_cache -- LEAVING
> > <4444> lvm_add_dir_cache -- CALLED
> > <55555> lvm_check_dev -- CALLED
> > <55555> lvm_check_dev -- LEAVING with ret: 1
> > <55555> lvm_dir_cache_hit -- CALLED
> > <55555> lvm_dir_cache_hit -- LEAVING with ret: 1
> > <4444> lvm_add_dir_cache -- LEAVING
> > <4444> lvm_add_dir_cache -- CALLED
> > <55555> lvm_check_dev -- CALLED
> > <55555> lvm_check_dev -- LEAVING with ret: 1
> > <55555> lvm_dir_cache_hit -- CALLED
> > <55555> lvm_dir_cache_hit -- LEAVING with ret: 1
> > <4444> lvm_add_dir_cache -- LEAVING
> > <4444> lvm_add_dir_cache -- CALLED
> > <55555> lvm_check_dev -- CALLED
> > <55555> lvm_check_dev -- LEAVING with ret: 1
> > <55555> lvm_dir_cache_hit -- CALLED
> > <55555> lvm_dir_cache_hit -- LEAVING with ret: 1
> > <4444> lvm_add_dir_cache -- LEAVING
> > <4444> lvm_add_dir_cache -- CALLED
> > <55555> lvm_check_dev -- CALLED
> > <55555> lvm_check_dev -- LEAVING with ret: 1
> > <55555> lvm_dir_cache_hit -- CALLED
> > <55555> lvm_dir_cache_hit -- LEAVING with ret: 1
> > <4444> lvm_add_dir_cache -- LEAVING
> > <333> lvm_dir_cache -- LEAVING with ret: 10
> > <22> lvm_dir_cache_find -- LEAVING
> > <1> pv_get_size -- LEAVING with ret: -236
> > pvcreate -- device "/dev/hdc1" doesn't exist
> > 
> > <1> lvm_unlock -- CALLED
> > <1> lvm_unlock -- LEAVING with ret: 0
> > 
> > 
> > -- 
> > David Parrish
> > Brainbench MVP for Linux
> > http://www.brainbench.com/
> > 
> > All men are mortal.  Socrates was mortal.  Therefore, all men are Socrates.
> >                 -- Woody Allen
> > 
> > 
> > _______________________________________________
> > linux-lvm mailing list
> > linux-lvm@sistina.com
> > http://lists.sistina.com/mailman/listinfo/linux-lvm
> 
> -- 
> 
> Regards,
> Heinz    -- The LVM Guy --
> 
> *** Software bugs are stupid.
>     Nevertheless it needs not so stupid people to solve them ***
> 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> 
> Heinz Mauelshagen                                 Sistina Software Inc.
> Senior Consultant/Developer                       Am Sonnenhang 11
>                                                   56242 Marienrachdorf
>                                                   Germany
> Mauelshagen@Sistina.com                           +49 2626 141200
>                                                        FAX 924446
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [linux-lvm] [CVS LVM Mon Jan 29 16:18:57 EST 2001] Device /dev/hdc1 doesn'texist
  2001-01-29 21:26   ` David Parrish
@ 2001-01-30  8:51     ` Luca Berra
  0 siblings, 0 replies; 7+ messages in thread
From: Luca Berra @ 2001-01-30  8:51 UTC (permalink / raw)
  To: linux-lvm

On Tue, Jan 30, 2001 at 08:26:22AM +1100, David Parrish wrote:
> I did patch the kernel (re Lewis), and the /dev entries are correct. However pvcreate *did* eventually work if I use 
> 
> pvcreate /dev/ide/host0/bus1/target0/lun0/part1

uhm devfs....
yess this is expected, lvm tools read /proc/partitions to find which disks are available
and /proc/partitions only contains looong device names with devfs.

use lvmdiskscan to have lvm idea of what you have.

regards,
L.

-- 
Luca Berra -- bluca@comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2001-01-30  8:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-29  5:25 [linux-lvm] [CVS LVM Mon Jan 29 16:18:57 EST 2001] Device /dev/hdc1 doesn't exist David Parrish
2001-01-29  5:42 ` lewis
2001-01-29  5:59   ` David Parrish
2001-01-29 14:39     ` lewis
2001-01-29 16:34 ` [linux-lvm] [CVS LVM Mon Jan 29 16:18:57 EST 2001] Device /dev/hdc1 doesn'texist Heinz J. Mauelshagen
2001-01-29 21:26   ` David Parrish
2001-01-30  8:51     ` Luca Berra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox