From: Bill Ellis <bill_ellis@legis.state.ak.us>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] pvcreate fails on a software RAID metadisk
Date: Thu, 04 Oct 2001 11:59:03 -0800 [thread overview]
Message-ID: <3BBCBF87.5520C8F9@legis.state.ak.us> (raw)
In-Reply-To: 3BBC8B5B.1A484028@legis.state.ak.us
Hi again,
Some more playing around led me to discover that 'lvmdiskscan' is also not
recognizing my software RAID metadisks correctly. Here's what I think are the
relevant portions of the ~5600 lines of output from the 'lvmdiskscan -d -v'
command:
<1> lvm_dir_cache -- CALLED
<22> lvm_add_dir_cache -- CALLED with /dev/md3
...
<22> lvm_add_dir_cache -- CALLED with /dev/md7
<333> lvm_check_dev -- CALLED
<4444> lvm_check_partitioned_dev -- CALLED
<55555> lvm_get_device_type called
<55555> lvm_get_device_type leaving with 2
<4444> lvm_check_partitioned_dev -- LEAVING with ret: TRUE
<333> lvm_check_dev -- LEAVING with ret: 1
<22> lvm_add_dir_cache -- LEAVING with ret: ADDED
...
<1> pv_get_size -- CALLED with /dev/md7 and 0xbffff8ac
<22> lvm_dir_cache -- CALLED
<22> lvm_dir_cache -- LEAVING with ret: 50
<22> lvm_dir_cache_find -- CALLED with /dev/md7
<333> pv_check_name -- CALLED with "/dev/md7"
<4444> lvm_check_chars -- CALLED with name: "/dev/md7"
<4444> lvm_check_chars -- LEAVING with ret: 0
<4444> lvm_check_dev -- CALLED
<55555> lvm_check_partitioned_dev -- CALLED
<666666> lvm_get_device_type called
<666666> lvm_get_device_type leaving with 2
<55555> lvm_check_partitioned_dev -- LEAVING with ret: TRUE
<4444> lvm_check_dev -- LEAVING with ret: 1
<333> pv_check_name -- LEAVING with ret: 0
<333> lvm_dir_cache -- CALLED
<333> lvm_dir_cache -- LEAVING with ret: 50
<22> lvm_dir_cache_find -- LEAVING with entry: 4
<22> lvm_check_partitioned_dev -- CALLED
<333> lvm_get_device_type called
<333> lvm_get_device_type leaving with 2
<22> lvm_check_partitioned_dev -- LEAVING with ret: TRUE
<22> lvm_partition_count -- CALLED for 0x907
<333> lvm_get_device_type called
<333> lvm_get_device_type leaving with 2
<22> lvm_partition_count -- LEAVING with ret: 16
<1> pv_get_size -- LEAVING with ret: 0
...
lvmdiskscan -- reading all disks / partitions (this may take a while...)
lvmdiskscan -- filling directory cache...
lvmdiskscan -- walking through all found disks / partitions
lvmdiskscan -- /dev/md3 [ 0] Primary [0x07]
lvmdiskscan -- /dev/md4 [ 0] Primary [0x07]
lvmdiskscan -- /dev/md5 [ 0] Extended [0x07]
lvmdiskscan -- /dev/md6 [ 0] Extended [0x07]
lvmdiskscan -- /dev/md7 [ 0] Extended [0x07]
lvmdiskscan -- /dev/sda1 [ 19.98 MB] Primary LINUX native partition
[0x83]
lvmdiskscan -- /dev/sda2 [ 80.00 MB] Primary LINUX swap partition [0x82]
lvmdiskscan -- /dev/sda3 [ 5.76 GB] Primary [0xFD]
lvmdiskscan -- /dev/sda4 [ 28.34 GB] DOS extended partition [0x05]
lvmdiskscan -- /dev/sda5 [ 5.86 GB] Extended [0xFD]
lvmdiskscan -- /dev/sda6 [ 5.86 GB] Extended [0xFD]
lvmdiskscan -- /dev/sda7 [ 5.86 GB] Extended [0xFD]
lvmdiskscan -- /dev/sda8 [ 5.86 GB] Extended LVM partition [0x8E]
lvmdiskscan -- /dev/sdb1 [ 19.98 MB] Primary LINUX native partition
[0x83]
lvmdiskscan -- /dev/sdb2 [ 80.00 MB] Primary LINUX swap partition [0x82]
lvmdiskscan -- /dev/sdb3 [ 5.76 GB] Primary [0xFD]
lvmdiskscan -- /dev/sdb4 [ 28.34 GB] DOS extended partition [0x05]
lvmdiskscan -- /dev/sdb5 [ 5.86 GB] Extended [0xFD]
lvmdiskscan -- /dev/sdb6 [ 5.86 GB] Extended [0xFD]
lvmdiskscan -- /dev/sdb7 [ 5.86 GB] Extended [0xFD]
lvmdiskscan -- /dev/sdb8 [ 5.86 GB] Extended LVM partition [0x8E]
lvmdiskscan -- /dev/sdc1 [ 19.98 MB] Primary LINUX native partition
[0x83]
lvmdiskscan -- /dev/sdc2 [ 80.00 MB] Primary LINUX swap partition [0x82]
lvmdiskscan -- /dev/sdc3 [ 5.76 GB] Primary [0xFD]
lvmdiskscan -- /dev/sdc4 [ 28.34 GB] DOS extended partition [0x05]
lvmdiskscan -- /dev/sdc5 [ 5.86 GB] Extended [0xFD]
lvmdiskscan -- /dev/sdc6 [ 5.86 GB] Extended [0xFD]
lvmdiskscan -- /dev/sdc7 [ 5.86 GB] Extended [0xFD]
lvmdiskscan -- /dev/sdc8 [ 5.86 GB] Extended LINUX native partition
[0x83]
lvmdiskscan -- /dev/sdd1 [ 19.98 MB] Primary LINUX native partition
[0x83]
lvmdiskscan -- /dev/sdd2 [ 80.00 MB] Primary LINUX swap partition [0x82]
lvmdiskscan -- /dev/sdd3 [ 5.76 GB] Primary [0xFD]
lvmdiskscan -- /dev/sdd4 [ 28.34 GB] DOS extended partition [0x05]
lvmdiskscan -- /dev/sdd5 [ 5.86 GB] Extended [0xFD]
lvmdiskscan -- /dev/sdd6 [ 5.86 GB] Extended [0xFD]
lvmdiskscan -- /dev/sdd7 [ 5.86 GB] Extended [0xFD]
lvmdiskscan -- /dev/sdd8 [ 5.86 GB] Extended LINUX native partition
[0x83]
lvmdiskscan -- /dev/sde1 [ 19.98 MB] Primary LINUX native partition
[0x83]
lvmdiskscan -- /dev/sde2 [ 80.00 MB] Primary LINUX swap partition [0x82]
lvmdiskscan -- /dev/sde3 [ 5.76 GB] Primary LINUX native partition
[0x83]
lvmdiskscan -- /dev/sde4 [ 28.34 GB] DOS extended partition [0x05]
lvmdiskscan -- /dev/sde5 [ 5.86 GB] Extended [0xFD]
lvmdiskscan -- /dev/sde6 [ 5.86 GB] Extended [0xFD]
lvmdiskscan -- /dev/sde7 [ 5.86 GB] Extended [0xFD]
lvmdiskscan -- /dev/sde8 [ 5.86 GB] Extended LINUX native partition
[0x83]
lvmdiskscan -- 5 disks
lvmdiskscan -- 0 whole disks
lvmdiskscan -- 0 loop devices
lvmdiskscan -- 0 multiple devices
lvmdiskscan -- 0 network block devices
lvmdiskscan -- 45 partitions
lvmdiskscan -- 2 LVM physical volume partitions
Again, if anyone can give me any leads as to what might be going wrong here,
I'd appreciate it. Also, if there is any more information I can provide on
this matter, just let me know...
Thanks,
Bill
next prev parent reply other threads:[~2001-10-04 19:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-04 16:16 [linux-lvm] pvcreate fails on a software RAID metadisk Bill Ellis
2001-10-04 19:59 ` Bill Ellis [this message]
2001-10-04 20:46 ` Andreas Dilger
2001-10-05 8:30 ` Luca Berra
2001-10-05 9:31 ` Andreas Dilger
2001-10-05 9:13 ` yves.alloyer
2001-10-05 19:31 ` Luca Berra
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3BBCBF87.5520C8F9@legis.state.ak.us \
--to=bill_ellis@legis.state.ak.us \
--cc=linux-lvm@sistina.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox