linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: CoolCold <coolthecold@gmail.com>
To: aneesh vs <mailtoaneeshvs@gmail.com>
Cc: linux-lvm@redhat.com
Subject: Re: [linux-lvm] unable to create device for volume group
Date: Thu, 3 Feb 2011 18:35:18 +0300	[thread overview]
Message-ID: <AANLkTimgKzUZXzcZ3BQHTCpyix1FtaOL7Mud-OSfjkqk@mail.gmail.com> (raw)
In-Reply-To: <AANLkTi==dSLHKKg8Li_ZO6dDaD4WiOxEi8WX0ZHxN3ow@mail.gmail.com>

On Thu, Feb 3, 2011 at 5:57 PM, aneesh vs <mailtoaneeshvs@gmail.com> wrote:
> What if you simply run lvcreate on vg ? May be nodes are getting created
> after atleast one lV is active?
Yes, that was night blunting , and after send email button was
pressed, i'v realized that until lv is created, there won't be any
block devices, so no /dev/xxx entries ;) So problem resolved,
everything is ok now, thanks!


>
> On Fri, Jan 28, 2011 at 4:20 AM, CoolCold <coolthecold@gmail.com> wrote:
>>
>> Hello!
>> I've just created new pv & vg, wanted to create lv over it, but
>> suddenly found there is nothing in /dev or /sys/block or
>> /sys/class/block related to that vg
>>
>> a bit info:
>> I already have another pvs & volume group (inktomia) & lv, working nice:
>> root@delta:~# vgscan
>> �Reading all physical volumes. �This may take a while...
>> �Found volume group "vgsphinx" using metadata type lvm2
>> �Found volume group "inktomia" using metadata type lvm2
>>
>> new vg is "vgsphinx".
>>
>> root@delta:~# vgdisplay vgsphinx
>> �--- Volume group ---
>> �VG Name � � � � � � � vgsphinx
>> �System ID
>> �Format � � � � � � � �lvm2
>> �Metadata Areas � � � �1
>> �Metadata Sequence No �1
>> �VG Access � � � � � � read/write
>> �VG Status � � � � � � resizable
>> �MAX LV � � � � � � � �0
>> �Cur LV � � � � � � � �0
>> �Open LV � � � � � � � 0
>> �Max PV � � � � � � � �0
>> �Cur PV � � � � � � � �1
>> �Act PV � � � � � � � �1
>> �VG Size � � � � � � � 111.79 GB
>> �PE Size � � � � � � � 4.00 MB
>> �Total PE � � � � � � �28618
>> �Alloc PE / Size � � � 0 / 0
>> �Free �PE / Size � � � 28618 / 111.79 GB
>> �VG UUID � � � � � � � 9TSHZX-DbFk-2kSl-RI6I-XYOH-gMho-eI2wsZ
>>
>> filter looks ok too:
>> root@delta:~# egrep '^[[:space:]]+filter' /etc/lvm/lvm.conf
>> � �filter = [ "a/.*/" ]
>>
>> nothing interesting in dmesg.
>>
>>
>> steps i did when trying to resolve issue:
>> root@delta:~# vgscan
>> �Reading all physical volumes. �This may take a while...
>> �Found volume group "vgsphinx" using metadata type lvm2
>> �Found volume group "inktomia" using metadata type lvm2
>> root@delta:~# vgchange -a y
>> �0 logical volume(s) in volume group "vgsphinx" now active
>> �1 logical volume(s) in volume group "inktomia" now active
>> root@delta:~# vgmknodes -v
>> � �Finding all logical volumes
>>
>> root@delta:~# ls -la /sys/block/
>> total 0
>> drwxr-xr-x �2 root root 0 2011-01-27 23:34 .
>> drwxr-xr-x 13 root root 0 2011-01-27 23:33 ..
>> lrwxrwxrwx �1 root root 0 2011-01-28 01:12 dm-0 ->
>> ../devices/virtual/block/dm-0
>> lrwxrwxrwx �1 root root 0 2011-01-28 01:12 loop0 ->
>> ../devices/virtual/block/loop0
>> lrwxrwxrwx �1 root root 0 2011-01-28 01:12 loop1 ->
>> ../devices/virtual/block/loop1
>> lrwxrwxrwx �1 root root 0 2011-01-28 01:12 loop2 ->
>> ../devices/virtual/block/loop2
>> lrwxrwxrwx �1 root root 0 2011-01-28 01:12 loop3 ->
>> ../devices/virtual/block/loop3
>> lrwxrwxrwx �1 root root 0 2011-01-28 01:12 loop4 ->
>> ../devices/virtual/block/loop4
>> lrwxrwxrwx �1 root root 0 2011-01-28 01:12 loop5 ->
>> ../devices/virtual/block/loop5
>> lrwxrwxrwx �1 root root 0 2011-01-28 01:12 loop6 ->
>> ../devices/virtual/block/loop6
>> lrwxrwxrwx �1 root root 0 2011-01-28 01:12 loop7 ->
>> ../devices/virtual/block/loop7
>> lrwxrwxrwx �1 root root 0 2011-01-27 23:33 md0 ->
>> ../devices/virtual/block/md0
>> lrwxrwxrwx �1 root root 0 2011-01-27 23:33 md1 ->
>> ../devices/virtual/block/md1
>> lrwxrwxrwx �1 root root 0 2011-01-27 23:33 md2 ->
>> ../devices/virtual/block/md2
>> lrwxrwxrwx �1 root root 0 2011-01-27 23:33 md3 ->
>> ../devices/virtual/block/md3
>> lrwxrwxrwx �1 root root 0 2011-01-28 01:12 sda ->
>> ../devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda
>> lrwxrwxrwx �1 root root 0 2011-01-28 01:12 sdb ->
>> ../devices/pci0000:00/0000:00:1f.2/host1/target1:0:0/1:0:0:0/block/sdb
>> lrwxrwxrwx �1 root root 0 2011-01-28 00:09 sdc ->
>> ../devices/pci0000:00/0000:00:1f.2/host5/target5:0:0/5:0:0:0/block/sdc
>>
>> so, /devices/virtual/block/dm-0 is from vg "inktomia", and there is no
>> new vg here
>>
>> system info: debian lenny with 2.6.32 kernel from backports:
>> root@delta:~# dpkg -p lvm2|grep Version
>> Version: 2.02.39-7
>> root@delta:~# cat /proc/version
>> Linux version 2.6.32-bpo.5-amd64 (Debian 2.6.32-30~bpo50+1)
>> (norbert@tretkowski.de) (gcc version 4.3.2 (Debian 4.3.2-1.1) ) #1 SMP
>> Mon Jan 17 18:24:45 UTC 2011
>>
>>
>> I guess i'm missing something, please point me.
>>
>> P.S. I'm not on list, so please CC me.
>>
>> --
>> Best regards,
>> [COOLCOLD-RIPN]
>>
>> _______________________________________________
>> linux-lvm mailing list
>> linux-lvm@redhat.com
>> https://www.redhat.com/mailman/listinfo/linux-lvm
>> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
>



-- 
Best regards,
[COOLCOLD-RIPN]

      parent reply	other threads:[~2011-02-03 15:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-27 22:50 [linux-lvm] unable to create device for volume group CoolCold
     [not found] ` <AANLkTi==dSLHKKg8Li_ZO6dDaD4WiOxEi8WX0ZHxN3ow@mail.gmail.com>
2011-02-03 15:35   ` CoolCold [this message]

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=AANLkTimgKzUZXzcZ3BQHTCpyix1FtaOL7Mud-OSfjkqk@mail.gmail.com \
    --to=coolthecold@gmail.com \
    --cc=linux-lvm@redhat.com \
    --cc=mailtoaneeshvs@gmail.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;
as well as URLs for NNTP newsgroup(s).