Neill R on 20 May 2008 13:52:46 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] LVM - Open # value


[root@hostname/]# lvdisplay -vvv /dev/vg_oracle/lv_u11


        Processing: lvdisplay -vvv /dev/vg_oracle/lv_u11
        O_DIRECT will be used
      Setting global/locking_type to 1
      File-based locking selected.
      Setting global/locking_dir to /var/lock/lvm
    Using logical volume(s) on command line
      Locking /var/lock/lvm/V_vg_oracle RB
        /dev/ramdisk: Not using O_DIRECT
        Opened /dev/ramdisk RO
        /dev/ramdisk: block size is 1024 bytes
      /dev/ramdisk: No label detected
        Closed /dev/ramdisk
        Opened /dev/root RO O_DIRECT
        /dev/root: block size is 4096 bytes
      /dev/root: No label detected
        Closed /dev/root
        /dev/ram: Not using O_DIRECT
        Opened /dev/ram RO
        /dev/ram: block size is 1024 bytes
      /dev/ram: No label detected
        Closed /dev/ram
        Opened /dev/sda1 RO O_DIRECT
        /dev/sda1: block size is 512 bytes
      /dev/sda1: lvm2 label detected
        lvmcache: /dev/sda1: now orphaned
        /dev/sda1: Found metadata at 73728 size 4603 for vg_oracle
(wulV9E-L6z1-LJug-un3m-tkOf-uYPj-1kMFcJ)
        lvmcache: /dev/sda1: now in VG vg_oracle
        lvmcache: /dev/sda1: setting vg_oracle VGID to
wulV9EL6z1LJugun3mtkOfuYPj1kMFcJ
        lvmcache: /dev/sda1: VG vg_oracle: Set creation host to hostname
        Opened /dev/cciss/c0d0p1 RO O_DIRECT
        /dev/cciss/c0d0p1: block size is 1024 bytes
      /dev/cciss/c0d0p1: No label detected
        Closed /dev/cciss/c0d0p1
        Opened /dev/dm-1 RO O_DIRECT
        /dev/dm-1: block size is 4096 bytes
      /dev/dm-1: No label detected
        Closed /dev/dm-1
        /dev/ram2: Not using O_DIRECT
        Opened /dev/ram2 RO
        /dev/ram2: block size is 1024 bytes
      /dev/ram2: No label detected
        Closed /dev/ram2
        Opened /dev/cciss/c0d0p2 RO O_DIRECT
        /dev/cciss/c0d0p2: block size is 512 bytes
      /dev/cciss/c0d0p2: lvm2 label detected
        lvmcache: /dev/cciss/c0d0p2: now orphaned
        /dev/cciss/c0d0p2: Found metadata at 16384 size 2305 for
vg_system (Gos6QB-C3H7-0ZPe-ZjFo-Z1pX-wLZB-Rvc0QY)
        lvmcache: /dev/cciss/c0d0p2: now in VG vg_system
        lvmcache: /dev/cciss/c0d0p2: setting vg_system VGID to
Gos6QBC3H70ZPeZjFoZ1pXwLZBRvc0QY
        lvmcache: /dev/cciss/c0d0p2: VG vg_system: Set creation host
to localhost.localdomain.
        Closed /dev/cciss/c0d0p2
        Opened /dev/dm-2 RO O_DIRECT
        /dev/dm-2: block size is 4096 bytes
      /dev/dm-2: No label detected
        Closed /dev/dm-2
        /dev/ram3: Not using O_DIRECT
        Opened /dev/ram3 RO
        /dev/ram3: block size is 1024 bytes
      /dev/ram3: No label detected
        Closed /dev/ram3
        Opened /dev/dm-3 RO O_DIRECT
        /dev/dm-3: block size is 4096 bytes
      /dev/dm-3: No label detected
        Closed /dev/dm-3
        /dev/ram4: Not using O_DIRECT
        Opened /dev/ram4 RO
        /dev/ram4: block size is 1024 bytes
      /dev/ram4: No label detected
        Closed /dev/ram4
        Opened /dev/dm-4 RO O_DIRECT
        /dev/dm-4: block size is 4096 bytes
      /dev/dm-4: No label detected
        Closed /dev/dm-4
        /dev/ram5: Not using O_DIRECT
        Opened /dev/ram5 RO
        /dev/ram5: block size is 1024 bytes
      /dev/ram5: No label detected
        Closed /dev/ram5
        Opened /dev/dm-5 RO O_DIRECT
        /dev/dm-5: block size is 4096 bytes
      /dev/dm-5: No label detected
        Closed /dev/dm-5
        /dev/ram6: Not using O_DIRECT
        Opened /dev/ram6 RO
        /dev/ram6: block size is 1024 bytes
      /dev/ram6: No label detected
        Closed /dev/ram6
        Opened /dev/dm-6 RO O_DIRECT
        /dev/dm-6: block size is 4096 bytes
      /dev/dm-6: No label detected
        Closed /dev/dm-6
        /dev/ram7: Not using O_DIRECT
        Opened /dev/ram7 RO
        /dev/ram7: block size is 1024 bytes
      /dev/ram7: No label detected
        Closed /dev/ram7
        Opened /dev/dm-7 RO O_DIRECT
        /dev/dm-7: block size is 4096 bytes
      /dev/dm-7: No label detected
        Closed /dev/dm-7
        /dev/ram8: Not using O_DIRECT
        Opened /dev/ram8 RO
        /dev/ram8: block size is 1024 bytes
      /dev/ram8: No label detected
        Closed /dev/ram8
        Opened /dev/dm-8 RO O_DIRECT
        /dev/dm-8: block size is 4096 bytes
      /dev/dm-8: No label detected
        Closed /dev/dm-8
        /dev/ram9: Not using O_DIRECT
        Opened /dev/ram9 RO
        /dev/ram9: block size is 1024 bytes
      /dev/ram9: No label detected
        Closed /dev/ram9
        Opened /dev/dm-9 RO O_DIRECT
        /dev/dm-9: block size is 4096 bytes
      /dev/dm-9: No label detected
        Closed /dev/dm-9
        /dev/ram10: Not using O_DIRECT
        Opened /dev/ram10 RO
        /dev/ram10: block size is 1024 bytes
      /dev/ram10: No label detected
        Closed /dev/ram10
        Opened /dev/dm-10 RO O_DIRECT
        /dev/dm-10: block size is 4096 bytes
      /dev/dm-10: No label detected
        Closed /dev/dm-10
        /dev/ram11: Not using O_DIRECT
        Opened /dev/ram11 RO
        /dev/ram11: block size is 1024 bytes
      /dev/ram11: No label detected
        Closed /dev/ram11
        Opened /dev/dm-11 RO O_DIRECT
        /dev/dm-11: block size is 4096 bytes
      /dev/dm-11: No label detected
        Closed /dev/dm-11
        /dev/ram12: Not using O_DIRECT
        Opened /dev/ram12 RO
        /dev/ram12: block size is 1024 bytes
      /dev/ram12: No label detected
        Closed /dev/ram12
        Opened /dev/dm-12 RO O_DIRECT
        /dev/dm-12: block size is 4096 bytes
      /dev/dm-12: No label detected
        Closed /dev/dm-12
        /dev/ram13: Not using O_DIRECT
        Opened /dev/ram13 RO
        /dev/ram13: block size is 1024 bytes
      /dev/ram13: No label detected
        Closed /dev/ram13
        Opened /dev/dm-13 RO O_DIRECT
        /dev/dm-13: block size is 4096 bytes
      /dev/dm-13: No label detected
        Closed /dev/dm-13
        /dev/ram14: Not using O_DIRECT
        Opened /dev/ram14 RO
        /dev/ram14: block size is 1024 bytes
      /dev/ram14: No label detected
        Closed /dev/ram14
        Opened /dev/dm-14 RO O_DIRECT
        /dev/dm-14: block size is 4096 bytes
      /dev/dm-14: No label detected
        Closed /dev/dm-14
        /dev/ram15: Not using O_DIRECT
        Opened /dev/ram15 RO
        /dev/ram15: block size is 1024 bytes
      /dev/ram15: No label detected
        Closed /dev/ram15
        Opened /dev/dm-15 RO O_DIRECT
        /dev/dm-15: block size is 4096 bytes
      /dev/dm-15: No label detected
        Closed /dev/dm-15
        Opened /dev/dm-16 RO O_DIRECT
        /dev/dm-16: block size is 4096 bytes
      /dev/dm-16: No label detected
        Closed /dev/dm-16
        Opened /dev/dm-17 RO O_DIRECT
        /dev/dm-17: block size is 4096 bytes
      /dev/dm-17: No label detected
        Closed /dev/dm-17
        Opened /dev/dm-18 RO O_DIRECT
        /dev/dm-18: block size is 4096 bytes
      /dev/dm-18: No label detected
        Closed /dev/dm-18
        Opened /dev/dm-19 RO O_DIRECT
        /dev/dm-19: block size is 4096 bytes
      /dev/dm-19: No label detected
        Closed /dev/dm-19
        Opened /dev/dm-20 RO O_DIRECT
        /dev/dm-20: block size is 4096 bytes
      /dev/dm-20: No label detected
        Closed /dev/dm-20
        Opened /dev/dm-21 RO O_DIRECT
        /dev/dm-21: block size is 4096 bytes
      /dev/dm-21: No label detected
        Closed /dev/dm-21
      /dev/sda1: lvm2 label detected
        /dev/sda1: Found metadata at 73728 size 4603 for vg_oracle
(wulV9E-L6z1-LJug-un3m-tkOf-uYPj-1kMFcJ)
      /dev/sda1: lvm2 label detected
        /dev/sda1: Found metadata at 73728 size 4603 for vg_oracle
(wulV9E-L6z1-LJug-un3m-tkOf-uYPj-1kMFcJ)
        Read vg_oracle metadata (23) from /dev/sda1 at 73728 size 4603
        /dev/sda1 0:      0  38400: lv_u01(0:0)
        /dev/sda1 1:  38400   5120: lv_u02(0:0)
        /dev/sda1 2:  43520  30720: lv_u03(0:0)
        /dev/sda1 3:  74240   5120: lv_u04(0:0)
        /dev/sda1 4:  79360  10240: lv_u05(0:0)
        /dev/sda1 5:  89600    256: lv_u06(0:0)
        /dev/sda1 6:  89856   3072: lv_u07(0:0)
        /dev/sda1 7:  92928  24320: lv_u99(0:0)
        /dev/sda1 8: 117248   1280: lv_u13(14848:0)
        /dev/sda1 9: 118528   7680: lv_u11(0:0)
        /dev/sda1 10: 126208   2048: lv_u12(0:0)
        /dev/sda1 11: 128256  14848: lv_u13(0:0)
        /dev/sda1 12: 143104   3840: lv_u14(0:0)
        /dev/sda1 13: 146944   1536: lv_u15(0:0)
        /dev/sda1 14: 148480    384: lv_u16(0:0)
        /dev/sda1 15: 148864   1536: lv_u17(0:0)
        /dev/sda1 16: 150400    768: lv_u11(7680:0)
        /dev/sda1 17: 151168    256: lv_u12(2048:0)
        /dev/sda1 18: 151424    652: NULL(0:0)
        Getting device info for vg_oracle-lv_u11
        dm version   OF   [16384]
        dm info
LVM-wulV9EL6z1LJugun3mtkOfuYPj1kMFcJ0BM4LKdukqa5FP1CGhe33104Xg2hOf9U
OF   [16384]
  --- Logical volume ---
  LV Name                /dev/vg_oracle/lv_u11
  VG Name                vg_oracle
  LV UUID                0BM4LK-dukq-a5FP-1CGh-e331-04Xg-2hOf9U
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                33.00 GB
  Current LE             8448
  Segments               2
  Allocation             inherit
  Read ahead sectors     0
  Block device           253:15

      Unlocking /var/lock/lvm/V_vg_oracle
        Closed /dev/sda1


[root@host/]#







On Tue, May 20, 2008 at 4:28 PM, Stephen Gran <steve@lobefin.net> wrote:
> On Tue, May 20, 2008 at 04:22:04PM -0400, Neill R said:
>>
>> [root@AMP01D ~]# lsof | grep u11
>> [root@AMP01D ~]#
>
> Can you send the out of lvdisplay -v ?  It may be that you have it open
> because there's a COW snapshot.
> --
>  --------------------------------------------------------------------------
> |  Stephen Gran                  | Who is John Galt?                       |
> |  steve@lobefin.net             |                                         |
> |  http://www.lobefin.net/~steve |                                         |
>  --------------------------------------------------------------------------
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFIMzSJSYIMHOpZA44RAiVYAJwLhOSUCngAQq/7zPtbRyOf4zjhhwCeNCn/
> LY/4TYjrKhDw1clJ/wteTqE=
> =oehQ
> -----END PGP SIGNATURE-----
>
> ___________________________________________________________________________
> Philadelphia Linux Users Group         --        http://www.phillylinux.org
> Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
> General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug
>
>
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug