Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I got the following issue with lvm2 on debian sarge: I reinstalled my OS, and now I can't recreate my volumegroup. The BIOS can see both IDE drives, as ...
  1. #1
    Just Joined!
    Join Date
    Jul 2006
    Posts
    1

    Unhappy LVM cant find harddisk

    Hi,
    I got the following issue with lvm2 on debian sarge:
    I reinstalled my OS, and now I can't recreate my volumegroup. The BIOS can see both IDE drives, as can the kernel(messages in kern.log). Also, entering a:
    >>pvdisplay /dev/hda
    gives the following output:
    PV Name /dev/hda
    VG Name media_volume
    PV Size 189.92 GB / not usable 0
    Allocatable yes (but full)
    PE Size (KByte) 4096
    Total PE 48620
    Free PE 0
    Allocated PE 48620
    PV UUID TV7Agb-qt5j-7nEv-JiQc-cMFD-6z5O-7oxg41

    But - a single pvdisplay command shows:
    Couldn't find device with uuid 'TV7Agb-qt5j-7nEv-JiQc-cMFD-6z5O-7oxg41'.
    --- Physical volume ---
    PV Name unknown device
    VG Name media_volume
    PV Size 189.92 GB / not usable 0
    Allocatable yes (but full)
    PE Size (KByte) 4096
    Total PE 48620
    Free PE 0
    Allocated PE 48620
    PV UUID TV7Agb-qt5j-7nEv-JiQc-cMFD-6z5O-7oxg41

    --- Physical volume ---
    PV Name /dev/hdb
    VG Name media_volume
    PV Size 233.76 GB / not usable 0
    Allocatable yes
    PE Size (KByte) 4096
    Total PE 59843
    Free PE 236
    Allocated PE 59607
    PV UUID oEwnmJ-uOqG-tzmQ-7Qu2-pMio-6NmT-BVvY2y

    ...but this "unknown device" is /dev/hda, which exists and is accessible. when I try to create the volume, it fails with the error that the drive with the device id of hda is not found

    Any help appreciated!!!
    Thanks in advance,
    Chris

  2. #2
    Linux Newbie objuan's Avatar
    Join Date
    Jul 2006
    Location
    california
    Posts
    218
    Hello
    Linux uses /dev/hda or /dev/sda is stead of volume names like windows
    windows has C:/ for the root dir
    linux has / for the root
    If you are looking to give a volume name it is not going to work.

    here is a common fstab file
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    /dev/hda1 / ext3 defaults,errors=remount-ro 0 1
    /dev/hda6 /home ext3 defaults 0 2
    /dev/hda5 none swap sw 0 0
    /dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
    /dev/sda1 /media/usb0 vfat rw,user, 0 0
    hope this helps.

Posting Permissions

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