[linux-lvm] LVM2: problem accessing volume after raidreconf to addhd to raid5

henka at cityweb.co.za henka at cityweb.co.za
Thu Feb 9 13:29:52 UTC 2006


FYI:

Kernel 2.6.15.1
pvresize --version
  LVM version:     2.01.15 (2005-10-16)
  Library version: 1.01.05 (2005-09-26)
  Driver version:  4.4.0

Origional /etc/lvm/archive/lvm-raid_00004.vg (backed up elsewhere):

# Generated by LVM2: Fri Feb  3 00:17:07 2006

contents = "Text Format Volume Group"
version = 1

description = "Created *before* executing '/sbin/vgscan'"

creation_host = "(none)"        # Linux (none) 2.6.15.1 #1 SMP PREEMPT Thu
Feb 2 22:03:56 SAST 2006 i686
creation_time = 1138918627      # Fri Feb  3 00:17:07 2006

lvm-raid {
        id = "6JaxpJ-MmTj-Ve9X-WiT6-THcg-SOjV-9uO8Mv"
        seqno = 0
        status = ["RESIZEABLE", "READ", "WRITE"]
        system_id = "baksrv01138783727"
        extent_size = 65536             # 32 Megabytes
        max_lv = 256
        max_pv = 256

        physical_volumes {

                pv0 {
                        id = "s7XzWQ-3J9O-yaYj-anJG-hhMn-mloL-mPkl1F"
                        device = "/dev/md0"     # Hint only

                        status = ["ALLOCATABLE"]
                        pe_start = 66048
                        pe_count = 23845        # 745.156 Gigabytes
                }
        }

        logical_volumes {

                lvm0 {
                        id = "000000-0000-0000-0000-0000-0000-000000"
                        status = ["READ", "WRITE", "VISIBLE"]
                        allocation_policy = "normal"
                        read_ahead = 1024
                        segment_count = 1

                        segment1 {
                                start_extent = 0
                                extent_count = 23845    # 745.156 Gigabytes

                                type = "striped"
                                stripe_count = 1        # linear

                                stripes = [
                                        "pv0", 0
                                ]
                        }
                }
        }
}


and origional /etc/lvm/backup/lvm-raid (also saved elsewhere):
# Generated by LVM2: Fri Feb  3 00:17:07 2006

contents = "Text Format Volume Group"
version = 1

description = "Created *after* executing '/sbin/vgscan'"

creation_host = "(none)"        # Linux (none) 2.6.15.1 #1 SMP PREEMPT Thu
Feb 2 22:03:56 SAST 2006 i686
creation_time = 1138918627      # Fri Feb  3 00:17:07 2006

lvm-raid {
        id = "6JaxpJ-MmTj-Ve9X-WiT6-THcg-SOjV-9uO8Mv"
        seqno = 0
        status = ["RESIZEABLE", "READ", "WRITE"]
        system_id = "baksrv01138783727"
        extent_size = 65536             # 32 Megabytes
        max_lv = 256
        max_pv = 256

        physical_volumes {

                pv0 {
                        id = "s7XzWQ-3J9O-yaYj-anJG-hhMn-mloL-mPkl1F"
                        device = "/dev/md0"     # Hint only

                        status = ["ALLOCATABLE"]
                        pe_start = 66048
                        pe_count = 23845        # 745.156 Gigabytes
                }
        }

        logical_volumes {

                lvm0 {
                        id = "000000-0000-0000-0000-0000-0000-000000"
                        status = ["READ", "WRITE", "VISIBLE"]
                        allocation_policy = "normal"
                        read_ahead = 1024
                        segment_count = 1

                        segment1 {
                                start_extent = 0
                                extent_count = 23845    # 745.156 Gigabytes

                                type = "striped"
                                stripe_count = 1        # linear

                                stripes = [
                                        "pv0", 0
                                ]
                        }
                }
        }
}


--------------------------------------------------------
This message was sent using MetroWEB's AirMail service.
http://www.metroweb.co.za/ - full access for only R73.
Free Web Accelerator, WebMail, Calendar, Anti-Virus,
Anti-Spam, 10 emails, 100MB personal webspace, and more!
Phone Now!  086 11 11 440




More information about the linux-lvm mailing list