Find the answer to your Linux question:
Results 1 to 2 of 2
Hello everyone, I have installed centos 5.7 and connected it over 2 NICs to a iSCSI storage (2 pathes): - iSCSI (SW initiator) and multipath config done - disk device ...
  1. #1
    rib
    rib is offline
    Just Joined!
    Join Date
    Nov 2005
    Posts
    5

    logical volume "NOT available" after reboot - iSCSI LUN

    Hello everyone,

    I have installed centos 5.7 and connected it over 2 NICs to a iSCSI storage (2 pathes):

    - iSCSI (SW initiator) and multipath config done
    - disk device (LUN): dm-5
    - created a partition: dm-5p1
    - created pv: /dev/mapper/dm-5p1
    - created vg: vgxx
    - created lvol: lvolx
    - filesystem ext4
    - fstab: /dev/vgxx/lvolx /mountpoint

    It's working so far, but after reboot, the logical volume lvolx is "NOT available" (vgdisplay -v).
    When I run "lvchange -a y /dev/vgxx/lvolx" I can mount the filesystem again.

    How can I fix this, so the lvol and fs automatically starts at boot?

    Thx and best regards
    rb

  2. #2
    rib
    rib is offline
    Just Joined!
    Join Date
    Nov 2005
    Posts
    5
    Now I found the following site: asianux.com/node/212
    "After setting up a LVM on the iSCSI device, it works fine. But after a system reboot, the LVM is not automatically activated."
    Can this be used on CentOS5, too?

    Sound promising, same issue on my CentOS Server.

Posting Permissions

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