Find the answer to your Linux question:
Results 1 to 2 of 2
Hi all! I installed debian on another disk and i am trying to mount my old disks (2 500GB SATA) that are raided using LVM. When i use pvscan i ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2004
    Posts
    4

    LVM2, missing PV


    Hi all!

    I installed debian on another disk and i am trying to mount my old disks (2 500GB SATA) that are raided using LVM.

    When i use pvscan i get the following:
    Code:
    Couldn't find device with uuid 'ejHUEK-Ddhj-0Vgi-wFJo-zZg8-5WHu-wd7zo6'.
      PV unknown device   VG gardin      lvm2 [465,52 GiB / 0    free]
      PV /dev/sdd         VG gardin      lvm2 [465,76 GiB / 704,00 MiB free]
      PV /dev/sdb2        VG Dreamhack   lvm2 [1,23 TiB / 0    free]
      Total: 3 [2,14 TiB] / in use: 3 [2,14 TiB] / in no VG: 0 [0   ]
    vgscan:
    Code:
    Reading all physical volumes.  This may take a while...
      Couldn't find device with uuid 'ejHUEK-Ddhj-0Vgi-wFJo-zZg8-5WHu-wd7zo6'.
      Found volume group "gardin" using metadata type lvm2
      Found volume group "Dreamhack" using metadata type lvm2
    And /dev/sda5 is the "unknown device" listed, because
    fdisk /dev/sda shows:
    Code:
    /dev/sda1   *           1          31      248976   83  Linux
    /dev/sda2              32       60801   488135025    5  Utökad
    /dev/sda5              32       60801   488134993+  8e  Linux LVM
    Can anyone help me here? I know the new installer wrote a new MBR but that shouldn't affect LVM right? It's just a partition (although /dev/sdd is a whole disk for LVM)

    Thanks in regards
    Johan

  2. #2
    Just Joined!
    Join Date
    Sep 2004
    Posts
    4
    Update:

    After running partprobe -s the missing partition gets a node. Now pvscan and vgscan lists the pvs and vgs correctly, but when i try to mount i get
    Code:
    mount: you must specify the filesystem type
    And in syslog:

    Code:
    Dec  4 20:51:12 gardin kernel: [32892.750123] device-mapper: table: 254:1: linear: dm-linear: Device lookup failed
    Dec  4 20:51:12 gardin kernel: [32892.750128] device-mapper: ioctl: error adding target to table
    Dec  4 20:51:12 gardin kernel: [32892.767109] device-mapper: table: 254:2: linear: dm-linear: Device lookup failed
    Dec  4 20:51:12 gardin kernel: [32892.767114] device-mapper: ioctl: error adding target to table
    Dec  4 20:52:53 gardin kernel: [32993.097313] REISERFS warning (device dm-1): sh-2006 read_super_block: bread failed (dev dm-1, block 2, size 4096)
    Dec  4 20:52:53 gardin kernel: [32993.097323] REISERFS warning (device dm-1): sh-2006 read_super_block: bread failed (dev dm-1, block 16, size 4096)
    Dec  4 20:52:53 gardin kernel: [32993.097328] REISERFS warning (device dm-1): sh-2021 reiserfs_fill_super: can not find reiserfs on dm-1
    Dec  4 20:57:06 gardin kernel: [33246.687195] device-mapper: table: 254:1: linear: dm-linear: Device lookup failed
    Dec  4 20:57:06 gardin kernel: [33246.687202] device-mapper: ioctl: error adding target to table
    Dec  4 20:57:06 gardin kernel: [33246.700874] device-mapper: table: 254:2: linear: dm-linear: Device lookup failed
    Dec  4 20:57:06 gardin kernel: [33246.700879] device-mapper: ioctl: error adding target to table
    Any ideas?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •