Partition sizes changed and system slowed down.

Topics about disk partitioning (fdisk, parted, gparted, partimage), Volumes Management (lvm, evms, dmraid), Storage, file systems, ...
erdener
Posts: 1
Joined: 12 Apr 2016, 18:50

Partition sizes changed and system slowed down.

Postby erdener » 12 Apr 2016, 19:55

After a few power (electricity) problems, my PC started to give some errors and it doesn`t boot anymore. The harddisk reading led never turns off and given commands run very slowly. I made some internet search and ran ``e2fsck -p -f -cc -k`` command on all of my partitions, the all things got worse; now the system is much much slower. When I installed the PC and it was healthy, initially I ran all the commands that gives information about disk partitioning and filesystems I know and saved them (pasted below as ``commands - before``). I gave the same commands again today (pasted below as ``commands - after``). I also have an ``lvmdump-20141011204737.tgz`` file as a backup. [sda disk doesn`t contain my operating system or important files, so you can ignore it.]

Any help would greatly appreciated. Thanks.

commands - before:

Code: Select all

# uname -a
Linux erdener 3.2.0-4-amd64 #1 SMP Debian 3.2.63-2 x86_64 GNU/Linux

# cat /etc/issue
Debian GNU/Linux 7 \n \l

# fdisk -l

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, toplam 625142448 sektör
Units = sektör of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Aygıt Açılış    Başlangıç     Bitiş  BlokSayısı Kml Sistem
/dev/sda1   *        2048     4194303     2096128    7  HPFS/NTFS/exFAT
/dev/sda2         4194304   168025160    81915428+   7  HPFS/NTFS/exFAT
/dev/sda3       168039900   183253444     7606772+   7  HPFS/NTFS/exFAT
/dev/sda4       183253455   625153409   220949977+   f  W95 Ext'd (LBA)
/dev/sda5       183253518   234452605    25599544   83  Linux
/dev/sda6       234452673   625137344   195342336    7  HPFS/NTFS/exFAT

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, toplam 1953525168 sektör
Units = sektör of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000d4de4

   Aygıt Açılış    Başlangıç     Bitiş  BlokSayısı Kml Sistem
/dev/sdb1            2048      292863      145408   fd  Linux raid otosaptama
/dev/sdb2   *      292864    19824639     9765888   fd  Linux raid otosaptama
/dev/sdb3        19826686  1953523711   966848513    5  Ek
Partition 3 does not start on physical sector boundary.
/dev/sdb5        19826688    23730175     1951744   fd  Linux raid otosaptama
/dev/sdb6        23732224  1953523711   964895744   fd  Linux raid otosaptama

Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, toplam 1953525168 sektör
Units = sektör of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00002222

   Aygıt Açılış    Başlangıç     Bitiş  BlokSayısı Kml Sistem
/dev/sdc1            2048      292863      145408   fd  Linux raid otosaptama
/dev/sdc2   *      292864    19824639     9765888   fd  Linux raid otosaptama
/dev/sdc3        19826686  1953523711   966848513    5  Ek
Partition 3 does not start on physical sector boundary.
/dev/sdc5        19826688    23730175     1951744   fd  Linux raid otosaptama
/dev/sdc6        23732224  1953523711   964895744   fd  Linux raid otosaptama

Disk /dev/md0: 295 MB 295698432 bayt
2 heads, 4 sectors/track, 72192 cylinders, toplam 577536 sektör
Units = sektör of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 524288 bytes / 1048576 bytes
Disk identifier: 0x00000000

/dev/md0 diski geçerli bir disk bölümleme tablosu içermiyor

Disk /dev/md1: 20.0 GB, 19998441472 bytes
2 heads, 4 sectors/track, 4882432 cylinders, toplam 39059456 sektör
Units = sektör of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 524288 bytes / 1048576 bytes
Disk identifier: 0x00000000

/dev/md1 diski geçerli bir disk bölümleme tablosu içermiyor

Disk /dev/sdd: 7803 MB 7803174912 bayt
122 heads, 58 sectors/track, 2153 cylinders, toplam 15240576 sektör
Units = sektör of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xc3072e18

   Aygıt Açılış    Başlangıç     Bitiş  BlokSayısı Kml Sistem
/dev/sdd1   *        8064    15240575     7616256    c  W95 FAT32 (LBA)

Disk /dev/md2: 3995 MB 3995074560 bayt
2 heads, 4 sectors/track, 975360 cylinders, toplam 7802880 sektör
Units = sektör of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 524288 bytes / 1048576 bytes
Disk identifier: 0x00000000

/dev/md2 diski geçerli bir disk bölümleme tablosu içermiyor

Disk /dev/md3: 1976.1 GB, 1976104386560 bytes
2 heads, 4 sectors/track, 482447360 cylinders, toplam 3859578880 sektör
Units = sektör of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 524288 bytes / 1048576 bytes
Disk identifier: 0x00000000

/dev/md3 diski geçerli bir disk bölümleme tablosu içermiyor

Disk /dev/mapper/vg4-mc4: 20.0 GB, 19994247168 bytes
255 heads, 63 sectors/track, 2430 cylinders, toplam 39051264 sektör
Units = sektör of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 524288 bytes / 1048576 bytes
Disk identifier: 0x00000000

/dev/mapper/vg4-mc4 diski geçerli bir disk bölümleme tablosu içermiyor

Disk /dev/mapper/vg2-mc2: 3992 MB 3992977408 bayt
255 heads, 63 sectors/track, 485 cylinders, toplam 7798784 sektör
Units = sektör of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 524288 bytes / 1048576 bytes
Disk identifier: 0x00000000

/dev/mapper/vg2-mc2 diski geçerli bir disk bölümleme tablosu içermiyor

Disk /dev/mapper/vg3-mc3: 1976.1 GB, 1976100192256 bytes
255 heads, 63 sectors/track, 240247 cylinders, toplam 3859570688 sektör
Units = sektör of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 524288 bytes / 1048576 bytes
Disk identifier: 0x00000000

/dev/mapper/vg3-mc3 diski geçerli bir disk bölümleme tablosu içermiyor

Disk /dev/mapper/vg1-mc1: 293 MB 293601280 bayt
255 heads, 63 sectors/track, 35 cylinders, toplam 573440 sektör
Units = sektör of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 524288 bytes / 1048576 bytes
Disk identifier: 0x00000000

/dev/mapper/vg1-mc1 diski geçerli bir disk bölümleme tablosu içermiyor

# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 7.6 (wheezy)
Release:        7.6
Codename:       wheezy

# cat /proc/mdstat
Personalities : [raid0]
md3 : active raid0 sdb6[0] sdc6[1]
      1929789440 blocks super 1.2 512k chunks
     
md2 : active raid0 sdb5[0] sdc5[1]
      3901440 blocks super 1.2 512k chunks
     
md1 : active raid0 sdb2[0] sdc2[1]
      19529728 blocks super 1.2 512k chunks
     
md0 : active raid0 sdb1[0] sdc1[1]
      288768 blocks super 1.2 512k chunks
     
unused devices: <none>

# mdadm --examine /dev/sdb1
/dev/sdb1:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 6a73b3e0:0d39b90f:e7d654e8:191bbb22
           Name : erdener:0  (local to host erdener)
  Creation Time : Thu Oct  4 21:18:15 2012
     Raid Level : raid0
   Raid Devices : 2

 Avail Dev Size : 288768 (141.02 MiB 147.85 MB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : 83d85fe7:88bdada6:5c687ae1:f61745b3

    Update Time : Thu Oct  4 21:18:15 2012
       Checksum : 82cf733 - correct
         Events : 0

     Chunk Size : 512K

   Device Role : Active device 0
   Array State : AA ('A' == active, '.' == missing)

# mdadm --examine /dev/sdb2
/dev/sdb2:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 18851578:85eec731:1df980f2:ce6ab6ef
           Name : erdener:1  (local to host erdener)
  Creation Time : Thu Oct  4 21:18:23 2012
     Raid Level : raid0
   Raid Devices : 2

 Avail Dev Size : 19529728 (9.31 GiB 10.00 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : b4e0c651:17afa490:a60cfe43:9ec07163

    Update Time : Thu Oct  4 21:18:23 2012
       Checksum : f90f06 - correct
         Events : 0

     Chunk Size : 512K

   Device Role : Active device 0
   Array State : AA ('A' == active, '.' == missing)
   
# mdadm --examine /dev/sdb5
/dev/sdb5:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 74d49f9e:6cbba896:73480049:0affd339
           Name : erdener:2  (local to host erdener)
  Creation Time : Thu Oct  4 21:18:28 2012
     Raid Level : raid0
   Raid Devices : 2

 Avail Dev Size : 3901440 (1905.32 MiB 1997.54 MB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : 3b8ba529:40c1e868:1df9700f:a7e4541b

    Update Time : Thu Oct  4 21:18:28 2012
       Checksum : 5f8b6414 - correct
         Events : 0

     Chunk Size : 512K

   Device Role : Active device 0
   Array State : AA ('A' == active, '.' == missing)
   
# mdadm --examine /dev/sdb6
/dev/sdb6:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 6becd03d:aa9fceeb:d40c2094:25f457ab
           Name : erdener:3  (local to host erdener)
  Creation Time : Thu Oct  4 21:18:35 2012
     Raid Level : raid0
   Raid Devices : 2

 Avail Dev Size : 1929789440 (920.20 GiB 988.05 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : 26aca55b:c70bb79a:c09a7bdc:04d181d5

    Update Time : Thu Oct  4 21:18:35 2012
       Checksum : 6e56cb49 - correct
         Events : 0

     Chunk Size : 512K

   Device Role : Active device 0
   Array State : AA ('A' == active, '.' == missing)
   
# mdadm --examine /dev/sdc1
/dev/sdc1:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 6a73b3e0:0d39b90f:e7d654e8:191bbb22
           Name : erdener:0  (local to host erdener)
  Creation Time : Thu Oct  4 21:18:15 2012
     Raid Level : raid0
   Raid Devices : 2

 Avail Dev Size : 288768 (141.02 MiB 147.85 MB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : aa564998:4a01a7bb:0a9d3ae6:e1e0c7c8

    Update Time : Thu Oct  4 21:18:15 2012
       Checksum : e852b6b5 - correct
         Events : 0

     Chunk Size : 512K

   Device Role : Active device 1
   Array State : AA ('A' == active, '.' == missing)
   
# mdadm --examine /dev/sdc2
/dev/sdc2:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 18851578:85eec731:1df980f2:ce6ab6ef
           Name : erdener:1  (local to host erdener)
  Creation Time : Thu Oct  4 21:18:23 2012
     Raid Level : raid0
   Raid Devices : 2

 Avail Dev Size : 19529728 (9.31 GiB 10.00 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : a8204591:444e0d2f:1af19f47:82242c60

    Update Time : Thu Oct  4 21:18:23 2012
       Checksum : df3c367f - correct
         Events : 0

     Chunk Size : 512K

   Device Role : Active device 1
   Array State : AA ('A' == active, '.' == missing)
   
# mdadm --examine /dev/sdc5
/dev/sdc5:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 74d49f9e:6cbba896:73480049:0affd339
           Name : erdener:2  (local to host erdener)
  Creation Time : Thu Oct  4 21:18:28 2012
     Raid Level : raid0
   Raid Devices : 2

 Avail Dev Size : 3901440 (1905.32 MiB 1997.54 MB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : cf1f33f0:2a8b174c:b02326d2:be8734c8

    Update Time : Thu Oct  4 21:18:28 2012
       Checksum : 78dc903f - correct
         Events : 0

     Chunk Size : 512K

   Device Role : Active device 1
   Array State : AA ('A' == active, '.' == missing)

# mdadm --examine /dev/sdc6
/dev/sdc6:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 6becd03d:aa9fceeb:d40c2094:25f457ab
           Name : erdener:3  (local to host erdener)
  Creation Time : Thu Oct  4 21:18:35 2012
     Raid Level : raid0
   Raid Devices : 2

 Avail Dev Size : 1929789440 (920.20 GiB 988.05 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : 9810fb17:2256d846:32098fda:05aff34e

    Update Time : Thu Oct  4 21:18:35 2012
       Checksum : 4e52c689 - correct
         Events : 0

     Chunk Size : 512K

   Device Role : Active device 1
   Array State : AA ('A' == active, '.' == missing)
   
# lvs -v
    Finding all logical volumes
  LV   VG   #Seg Attr     LSize   Maj Min KMaj KMin Pool Origin Data%  Meta%  Move Copy%  Log Convert LV UUID                               
  mc1  vg1     1 -wi-ao-- 280,00m  -1  -1 253  3                                                      93f0NR-r9YN-P4cX-HpVs-zLHh-osUg-bZZ7Bq
  mc2  vg2     1 -wi-ao--   3,72g  -1  -1 253  1                                                      G1CIwv-YNXb-YqO7-wm36-tA0W-7GxG-shBJmc
  mc3  vg3     1 -wi-ao--   1,80t  -1  -1 253  2                                                      HW0nbd-OTW0-jUkf-KNye-ZD8U-FUlX-ZdysiB
  mc4  vg4     1 -wi-ao--  18,62g  -1  -1 253  0                                                      eQvTTY-iKWm-xhME-42Ca-6EhX-OyrG-B3KKrS

# pvs -a
  PV           VG   Fmt  Attr PSize   PFree
  /dev/dm-1              ---       0     0
  /dev/md0     vg1  lvm2 a--  280,00m    0
  /dev/md1     vg4  lvm2 a--   18,62g    0
  /dev/md2     vg2  lvm2 a--    3,72g    0
  /dev/md3     vg3  lvm2 a--    1,80t    0
  /dev/root              ---       0     0
  /dev/sda1              ---       0     0
  /dev/sda2              ---       0     0
  /dev/sda3              ---       0     0
  /dev/sda5              ---       0     0
  /dev/sda6              ---       0     0
  /dev/sdd1              ---       0     0
  /dev/vg1/mc1           ---       0     0
  /dev/vg3/mc3           ---       0     0

# dmsetup info -c
Name             Maj Min Stat Open Targ Event  UUID                                                               
vg1-mc1          253   3 L--w    1    1      0 LVM-qbBHbF1qdZO4c9tIAlm1bPe8ZFjZDBRd93f0NRr9YNP4cXHpVszLHhosUgbZZ7Bq
vg2-mc2          253   1 L--w    2    1      0 LVM-l8tbP7lIZUmtXFzcXI5rqyjucgQpdU1TG1CIwvYNXbYqO7wm36tA0W7GxGshBJmc
vg3-mc3          253   2 L--w    1    1      0 LVM-iyICWdA4MjhkXweVto2RTEN307sqeZNdHW0nbdOTW0jUkfKNyeZD8UFUlXZdysiB
vg4-mc4          253   0 L--w    1    1      0 LVM-8xAEWgNZncgxOx3lZ9yQFe6fK7ae85WXeQvTTYiKWmxhME42Ca6EhXOyrGB3KKrS

# lvm dumpconfig
devices {
        dir="/dev"
        scan="/dev"
        obtain_device_list_from_udev=1
        preferred_names=[]
        filter="a/.*/"
        cache_dir="/run/lvm"
        cache_file_prefix=""
        write_cache_state=1
        sysfs_scan=1
        multipath_component_detection=1
        md_component_detection=1
        md_chunk_alignment=1
        data_alignment_detection=1
        data_alignment=0
        data_alignment_offset_detection=1
        ignore_suspended_devices=0
        disable_after_error_count=0
        require_restorefile_with_uuid=1
        pv_min_size=2048
        issue_discards=0
}
dmeventd {
        mirror_library="libdevmapper-event-lvm2mirror.so"
        snapshot_library="libdevmapper-event-lvm2snapshot.so"
        thin_library="libdevmapper-event-lvm2thin.so"
}
activation {
        checks=0
        udev_sync=1
        udev_rules=1
        verify_udev_operations=0
        retry_deactivation=1
        missing_stripe_filler="error"
        use_linear_target=1
        reserved_stack=64
        reserved_memory=8192
        process_priority=-18
        mirror_region_size=512
        readahead="auto"
        raid_fault_policy="warn"
        mirror_log_fault_policy="allocate"
        mirror_image_fault_policy="remove"
        snapshot_autoextend_threshold=100
        snapshot_autoextend_percent=20
        thin_pool_autoextend_threshold=100
        thin_pool_autoextend_percent=20
        thin_check_executable="/sbin/thin_check -q"
        use_mlockall=0
        monitoring=0
        polling_interval=15
}
global {
        umask=63
        test=0
        units="h"
        si_unit_consistency=1
        activation=1
        proc="/proc"
        locking_type=1
        wait_for_locks=1
        fallback_to_clustered_locking=1
        fallback_to_local_locking=1
        locking_dir="/run/lock/lvm"
        prioritise_write_locks=1
        abort_on_internal_errors=0
        detect_internal_vg_cache_corruption=0
        metadata_read_only=0
        mirror_segtype_default="mirror"
        use_lvmetad=0
}
shell {
        history_size=100
}
backup {
        backup=1
        backup_dir="/etc/lvm/backup"
        archive=1
        archive_dir="/etc/lvm/archive"
        retain_min=10
        retain_days=30
}
log {
        verbose=0
        syslog=1
        overwrite=0
        level=0
        indent=1
        command_names=0
        prefix="  "
}

# cat /etc/lvm/backup/vg1
# Generated by LVM2 version 2.02.95(2) (2012-03-06): Mon Oct 14 14:33:16 2013

contents = "Text Format Volume Group"
version = 1

description = "Created *after* executing 'vgcfgbackup'"

creation_host = "erdener"       # Linux erdener 3.2.0-3-amd64 #1 SMP Mon Jul 23 02:45:17 UTC 2012 x86_64
creation_time = 1381750396      # Mon Oct 14 14:33:16 2013

vg1 {
        id = "qbBHbF-1qdZ-O4c9-tIAl-m1bP-e8ZF-jZDBRd"
        seqno = 2
        format = "lvm2" # informational
        status = ["RESIZEABLE", "READ", "WRITE"]
        flags = []
        extent_size = 8192              # 4 Megabytes
        max_lv = 0
        max_pv = 0
        metadata_copies = 0

        physical_volumes {

                pv0 {
                        id = "zgBNu2-0reV-oZee-pC09-bXES-yxVO-9cNJDa"
                        device = "/dev/md0"     # Hint only

                        status = ["ALLOCATABLE"]
                        flags = []
                        dev_size = 577536       # 282 Megabytes
                        pe_start = 2048
                        pe_count = 70   # 280 Megabytes
                }
        }

        logical_volumes {

                mc1 {
                        id = "93f0NR-r9YN-P4cX-HpVs-zLHh-osUg-bZZ7Bq"
                        status = ["READ", "WRITE", "VISIBLE"]
                        flags = []
                        creation_host = "erdener"
                        creation_time = 1349651335      # 2012-10-08 02:08:55 +0300
                        segment_count = 1

                        segment1 {
                                start_extent = 0
                                extent_count = 70       # 280 Megabytes

                                type = "striped"
                                stripe_count = 1        # linear

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

# cat /etc/lvm/backup/vg2
# Generated by LVM2 version 2.02.95(2) (2012-03-06): Mon Oct 14 14:33:16 2013

contents = "Text Format Volume Group"
version = 1

description = "Created *after* executing 'vgcfgbackup'"

creation_host = "erdener"       # Linux erdener 3.2.0-3-amd64 #1 SMP Mon Jul 23 02:45:17 UTC 2012 x86_64
creation_time = 1381750396      # Mon Oct 14 14:33:16 2013

vg2 {
        id = "l8tbP7-lIZU-mtXF-zcXI-5rqy-jucg-QpdU1T"
        seqno = 2
        format = "lvm2" # informational
        status = ["RESIZEABLE", "READ", "WRITE"]
        flags = []
        extent_size = 8192              # 4 Megabytes
        max_lv = 0
        max_pv = 0
        metadata_copies = 0

        physical_volumes {

                pv0 {
                        id = "tfuZsI-GpRF-7l0U-skzF-3sLB-ZGGE-cgx34H"
                        device = "/dev/md2"     # Hint only

                        status = ["ALLOCATABLE"]
                        flags = []
                        dev_size = 7802880      # 3,7207 Gigabytes
                        pe_start = 2048
                        pe_count = 952  # 3,71875 Gigabytes
                }
        }

        logical_volumes {

                mc2 {
                        id = "G1CIwv-YNXb-YqO7-wm36-tA0W-7GxG-shBJmc"
                        status = ["READ", "WRITE", "VISIBLE"]
                        flags = []
                        creation_host = "erdener"
                        creation_time = 1349651346      # 2012-10-08 02:09:06 +0300
                        segment_count = 1

                        segment1 {
                                start_extent = 0
                                extent_count = 952      # 3,71875 Gigabytes

                                type = "striped"
                                stripe_count = 1        # linear

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

# cat /etc/lvm/backup/vg3
# Generated by LVM2 version 2.02.95(2) (2012-03-06): Mon Oct 14 14:33:16 2013

contents = "Text Format Volume Group"
version = 1

description = "Created *after* executing 'vgcfgbackup'"

creation_host = "erdener"       # Linux erdener 3.2.0-3-amd64 #1 SMP Mon Jul 23 02:45:17 UTC 2012 x86_64
creation_time = 1381750396      # Mon Oct 14 14:33:16 2013

vg3 {
        id = "iyICWd-A4Mj-hkXw-eVto-2RTE-N307-sqeZNd"
        seqno = 2
        format = "lvm2" # informational
        status = ["RESIZEABLE", "READ", "WRITE"]
        flags = []
        extent_size = 8192              # 4 Megabytes
        max_lv = 0
        max_pv = 0
        metadata_copies = 0

        physical_volumes {

                pv0 {
                        id = "oDQpL3-WWcU-PogN-raSu-HOoL-Vfg6-iejiUV"
                        device = "/dev/md3"     # Hint only

                        status = ["ALLOCATABLE"]
                        flags = []
                        dev_size = 3859578880   # 1,79726 Terabytes
                        pe_start = 2048
                        pe_count = 471139       # 1,79725 Terabytes
                }
        }

        logical_volumes {

                mc3 {
                        id = "HW0nbd-OTW0-jUkf-KNye-ZD8U-FUlX-ZdysiB"
                        status = ["READ", "WRITE", "VISIBLE"]
                        flags = []
                        creation_host = "erdener"
                        creation_time = 1349651355      # 2012-10-08 02:09:15 +0300
                        segment_count = 1

                        segment1 {
                                start_extent = 0
                                extent_count = 471139   # 1,79725 Terabytes

                                type = "striped"
                                stripe_count = 1        # linear

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

# cat /etc/lvm/backup/vg4
# Generated by LVM2 version 2.02.95(2) (2012-03-06): Mon Oct 14 14:33:16 2013

contents = "Text Format Volume Group"
version = 1

description = "Created *after* executing 'vgcfgbackup'"

creation_host = "erdener"       # Linux erdener 3.2.0-3-amd64 #1 SMP Mon Jul 23 02:45:17 UTC 2012 x86_64
creation_time = 1381750396      # Mon Oct 14 14:33:16 2013

vg4 {
        id = "8xAEWg-NZnc-gxOx-3lZ9-yQFe-6fK7-ae85WX"
        seqno = 2
        format = "lvm2" # informational
        status = ["RESIZEABLE", "READ", "WRITE"]
        flags = []
        extent_size = 8192              # 4 Megabytes
        max_lv = 0
        max_pv = 0
        metadata_copies = 0

        physical_volumes {

                pv0 {
                        id = "L0zHXg-kiTh-relB-1659-JEfC-AJbL-2DGlyS"
                        device = "/dev/md1"     # Hint only

                        status = ["ALLOCATABLE"]
                        flags = []
                        dev_size = 39059456     # 18,625 Gigabytes
                        pe_start = 2048
                        pe_count = 4767 # 18,6211 Gigabytes
                }
        }

        logical_volumes {

                mc4 {
                        id = "eQvTTY-iKWm-xhME-42Ca-6EhX-OyrG-B3KKrS"
                        status = ["READ", "WRITE", "VISIBLE"]
                        flags = []
                        creation_host = "erdener"
                        creation_time = 1349651363      # 2012-10-08 02:09:23 +0300
                        segment_count = 1

                        segment1 {
                                start_extent = 0
                                extent_count = 4767     # 18,6211 Gigabytes

                                type = "striped"
                                stripe_count = 1        # linear

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


commands - after:

Code: Select all

# uname -a
Linux sysresccd 3.18.29-std472-amd64 #2 SMP Sat Mar 19 12:54:19 UTC 2016 x86_64 Pentium(R) Dual-Core CPU E5300 @ 2.60GHz GenuineIntel GNU/Linux

# cat /etc/issue
cat: /etc/issue: No such file or directory

# fdisk -l

Disk /dev/sda: 298.1 GiB, 320072933376 bytes, 625142448 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sda1  *         2048   4194303   4192256     2G  7 HPFS/NTFS/exFAT
/dev/sda2         4194304 168025160 163830857  78.1G  7 HPFS/NTFS/exFAT
/dev/sda3       168039900 183253444  15213545   7.3G  7 HPFS/NTFS/exFAT
/dev/sda4       183253455 625153409 441899955 210.7G  f W95 Ext'd (LBA)
/dev/sda5       183253518 234452605  51199088  24.4G 83 Linux
/dev/sda6       234452673 625137344 390684672 186.3G  7 HPFS/NTFS/exFAT


Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x000d4de4

Device     Boot    Start        End    Sectors   Size Id Type
/dev/sdb1           2048     292863     290816   142M fd Linux raid autodetect
/dev/sdb2  *      292864   19824639   19531776   9.3G fd Linux raid autodetect
/dev/sdb3       19826686 1953523711 1933697026 922.1G  5 Extended
/dev/sdb5       19826688   23730175    3903488   1.9G fd Linux raid autodetect
/dev/sdb6       23732224 1953523711 1929791488 920.2G fd Linux raid autodetect

Partition 3 does not start on physical sector boundary.


Disk /dev/sdc: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x00002222

Device     Boot    Start        End    Sectors   Size Id Type
/dev/sdc1           2048     292863     290816   142M fd Linux raid autodetect
/dev/sdc2  *      292864   19824639   19531776   9.3G fd Linux raid autodetect
/dev/sdc3       19826686 1953523711 1933697026 922.1G  5 Extended
/dev/sdc5       19826688   23730175    3903488   1.9G fd Linux raid autodetect
/dev/sdc6       23732224 1953523711 1929791488 920.2G fd Linux raid autodetect

Partition 3 does not start on physical sector boundary.


Disk /dev/md0: 282 MiB, 295698432 bytes, 577536 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 524288 bytes / 1048576 bytes


Disk /dev/md1: 18.6 GiB, 19998441472 bytes, 39059456 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 524288 bytes / 1048576 bytes


Disk /dev/md2: 3.7 GiB, 3995074560 bytes, 7802880 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 524288 bytes / 1048576 bytes


Disk /dev/md3: 1.8 TiB, 1976104386560 bytes, 3859578880 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 524288 bytes / 1048576 bytes


Disk /dev/mapper/vg3-mc3: 1.8 TiB, 1976100192256 bytes, 3859570688 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 524288 bytes / 1048576 bytes


Disk /dev/mapper/vg2-mc2: 3.7 GiB, 3992977408 bytes, 7798784 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 524288 bytes / 1048576 bytes


Disk /dev/mapper/vg4-mc4: 18.6 GiB, 19994247168 bytes, 39051264 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 524288 bytes / 1048576 bytes


Disk /dev/mapper/vg1-mc1: 280 MiB, 293601280 bytes, 573440 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 524288 bytes / 1048576 bytes

# lsb_release -a
zsh: command not found: lsb_release

# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md3 : active raid0 sdb6[0] sdc6[1]
      1929789440 blocks super 1.2 512k chunks
     
md2 : active raid0 sdb5[0] sdc5[1]
      3901440 blocks super 1.2 512k chunks
     
md1 : active raid0 sdb2[0] sdc2[1]
      19529728 blocks super 1.2 512k chunks
     
md0 : active raid0 sdb1[0] sdc1[1]
      288768 blocks super 1.2 512k chunks
     
unused devices: <none>

# mdadm --examine /dev/sdb1
/dev/sdb1:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 6a73b3e0:0d39b90f:e7d654e8:191bbb22
           Name : erdener:0
  Creation Time : Thu Oct  4 18:18:15 2012
     Raid Level : raid0
   Raid Devices : 2

 Avail Dev Size : 288768 (141.02 MiB 147.85 MB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
   Unused Space : before=1968 sectors, after=0 sectors
          State : clean
    Device UUID : 83d85fe7:88bdada6:5c687ae1:f61745b3

    Update Time : Thu Oct  4 18:18:15 2012
       Checksum : 82cf733 - correct
         Events : 0

     Chunk Size : 512K

   Device Role : Active device 0
   Array State : AA ('A' == active, '.' == missing, 'R' == replacing)

# mdadm --examine /dev/sdb2
/dev/sdb2:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 18851578:85eec731:1df980f2:ce6ab6ef
           Name : erdener:1
  Creation Time : Thu Oct  4 18:18:23 2012
     Raid Level : raid0
   Raid Devices : 2

 Avail Dev Size : 19529728 (9.31 GiB 10.00 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
   Unused Space : before=1968 sectors, after=0 sectors
          State : clean
    Device UUID : b4e0c651:17afa490:a60cfe43:9ec07163

    Update Time : Thu Oct  4 18:18:23 2012
       Checksum : f90f06 - correct
         Events : 0

     Chunk Size : 512K

   Device Role : Active device 0
   Array State : AA ('A' == active, '.' == missing, 'R' == replacing)

# mdadm --examine /dev/sdb5
/dev/sdb5:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 74d49f9e:6cbba896:73480049:0affd339
           Name : erdener:2
  Creation Time : Thu Oct  4 18:18:28 2012
     Raid Level : raid0
   Raid Devices : 2

 Avail Dev Size : 3901440 (1905.32 MiB 1997.54 MB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
   Unused Space : before=1968 sectors, after=0 sectors
          State : clean
    Device UUID : 3b8ba529:40c1e868:1df9700f:a7e4541b

    Update Time : Thu Oct  4 18:18:28 2012
       Checksum : 5f8b6414 - correct
         Events : 0

     Chunk Size : 512K

   Device Role : Active device 0
   Array State : AA ('A' == active, '.' == missing, 'R' == replacing)

# mdadm --examine /dev/sdb6
/dev/sdb6:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 6becd03d:aa9fceeb:d40c2094:25f457ab
           Name : erdener:3
  Creation Time : Thu Oct  4 18:18:35 2012
     Raid Level : raid0
   Raid Devices : 2

 Avail Dev Size : 1929789440 (920.20 GiB 988.05 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
   Unused Space : before=1968 sectors, after=0 sectors
          State : clean
    Device UUID : 26aca55b:c70bb79a:c09a7bdc:04d181d5

    Update Time : Thu Oct  4 18:18:35 2012
       Checksum : 6e56cb49 - correct
         Events : 0

     Chunk Size : 512K

   Device Role : Active device 0
   Array State : AA ('A' == active, '.' == missing, 'R' == replacing)

# mdadm --examine /dev/sdc1
/dev/sdc1:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 6a73b3e0:0d39b90f:e7d654e8:191bbb22
           Name : erdener:0
  Creation Time : Thu Oct  4 18:18:15 2012
     Raid Level : raid0
   Raid Devices : 2

 Avail Dev Size : 288768 (141.02 MiB 147.85 MB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
   Unused Space : before=1968 sectors, after=0 sectors
          State : clean
    Device UUID : aa564998:4a01a7bb:0a9d3ae6:e1e0c7c8

    Update Time : Thu Oct  4 18:18:15 2012
       Checksum : e852b6b5 - correct
         Events : 0

     Chunk Size : 512K

   Device Role : Active device 1
   Array State : AA ('A' == active, '.' == missing, 'R' == replacing)

# mdadm --examine /dev/sdc2
/dev/sdc2:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 18851578:85eec731:1df980f2:ce6ab6ef
           Name : erdener:1
  Creation Time : Thu Oct  4 18:18:23 2012
     Raid Level : raid0
   Raid Devices : 2

 Avail Dev Size : 19529728 (9.31 GiB 10.00 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
   Unused Space : before=1968 sectors, after=0 sectors
          State : clean
    Device UUID : a8204591:444e0d2f:1af19f47:82242c60

    Update Time : Thu Oct  4 18:18:23 2012
       Checksum : df3c367f - correct
         Events : 0

     Chunk Size : 512K

   Device Role : Active device 1
   Array State : AA ('A' == active, '.' == missing, 'R' == replacing)

# mdadm --examine /dev/sdc5
/dev/sdc5:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 74d49f9e:6cbba896:73480049:0affd339
           Name : erdener:2
  Creation Time : Thu Oct  4 18:18:28 2012
     Raid Level : raid0
   Raid Devices : 2

 Avail Dev Size : 3901440 (1905.32 MiB 1997.54 MB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
   Unused Space : before=1968 sectors, after=0 sectors
          State : clean
    Device UUID : cf1f33f0:2a8b174c:b02326d2:be8734c8

    Update Time : Thu Oct  4 18:18:28 2012
       Checksum : 78dc903f - correct
         Events : 0

     Chunk Size : 512K

   Device Role : Active device 1
   Array State : AA ('A' == active, '.' == missing, 'R' == replacing)

# mdadm --examine /dev/sdc6

/dev/sdc6:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 6becd03d:aa9fceeb:d40c2094:25f457ab
           Name : erdener:3
  Creation Time : Thu Oct  4 18:18:35 2012
     Raid Level : raid0
   Raid Devices : 2

 Avail Dev Size : 1929789440 (920.20 GiB 988.05 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
   Unused Space : before=1968 sectors, after=0 sectors
          State : clean
    Device UUID : 9810fb17:2256d846:32098fda:05aff34e

    Update Time : Thu Oct  4 18:18:35 2012
       Checksum : 4e52c689 - correct
         Events : 0

     Chunk Size : 512K

   Device Role : Active device 1
   Array State : AA ('A' == active, '.' == missing, 'R' == replacing)

# lvs -v
    DEGRADED MODE. Incomplete RAID LVs will be processed.
    Finding all logical volumes
  LV   VG   #Seg Attr       LSize   Maj Min KMaj KMin Pool Origin Data%  Meta%  Move Cpy%Sync Log Convert LV UUID                                LProfile
  mc1  vg1     1 -wi-a----- 280.00m  -1  -1  253    3                                                     93f0NR-r9YN-P4cX-HpVs-zLHh-osUg-bZZ7Bq         
  mc2  vg2     1 -wi-a-----   3.72g  -1  -1  253    1                                                     G1CIwv-YNXb-YqO7-wm36-tA0W-7GxG-shBJmc         
  mc3  vg3     1 -wi-a-----   1.80t  -1  -1  253    0                                                     HW0nbd-OTW0-jUkf-KNye-ZD8U-FUlX-ZdysiB         
  mc4  vg4     1 -wi-a-----  18.62g  -1  -1  253    2                                                     eQvTTY-iKWm-xhME-42Ca-6EhX-OyrG-B3KKrS         

# pvs -a
  PV                  VG   Fmt  Attr PSize   PFree
  /dev/mapper/vg1-mc1           ---       0     0
  /dev/mapper/vg2-mc2           ---       0     0
  /dev/mapper/vg3-mc3           ---       0     0
  /dev/mapper/vg4-mc4           ---       0     0
  /dev/md0            vg1  lvm2 a--  280.00m    0
  /dev/md1            vg4  lvm2 a--   18.62g    0
  /dev/md2            vg2  lvm2 a--    3.72g    0
  /dev/md3            vg3  lvm2 a--    1.80t    0
  /dev/sda1                     ---       0     0
  /dev/sda2                     ---       0     0
  /dev/sda3                     ---       0     0
  /dev/sda5                     ---       0     0
  /dev/sda6                     ---       0     0

# dmsetup info -c
Name             Maj Min Stat Open Targ Event  UUID                                                               
vg1-mc1          253   3 L--w    0    1      0 LVM-qbBHbF1qdZO4c9tIAlm1bPe8ZFjZDBRd93f0NRr9YNP4cXHpVszLHhosUgbZZ7Bq
vg2-mc2          253   1 L--w    0    1      0 LVM-l8tbP7lIZUmtXFzcXI5rqyjucgQpdU1TG1CIwvYNXbYqO7wm36tA0W7GxGshBJmc
vg3-mc3          253   0 L--w    0    1      0 LVM-iyICWdA4MjhkXweVto2RTEN307sqeZNdHW0nbdOTW0jUkfKNyeZD8UFUlXZdysiB
vg4-mc4          253   2 L--w    0    1      0 LVM-8xAEWgNZncgxOx3lZ9yQFe6fK7ae85WXeQvTTYiKWmxhME42Ca6EhXOyrGB3KKrS

# lvm dumpconfig
config {
   checks=1
   abort_on_errors=0
   profile_dir="/etc/lvm/profile"
}
dmeventd {
   mirror_library="libdevmapper-event-lvm2mirror.so"
   snapshot_library="libdevmapper-event-lvm2snapshot.so"
   thin_library="libdevmapper-event-lvm2thin.so"
}
metadata {
}
activation {
   checks=0
   udev_sync=1
   udev_rules=1
   verify_udev_operations=0
   retry_deactivation=1
   missing_stripe_filler="error"
   use_linear_target=1
   reserved_stack=64
   reserved_memory=8192
   process_priority=-18
   raid_region_size=512
   readahead="auto"
   raid_fault_policy="warn"
   mirror_log_fault_policy="allocate"
   mirror_image_fault_policy="remove"
   snapshot_autoextend_threshold=100
   snapshot_autoextend_percent=20
   thin_pool_autoextend_threshold=100
   thin_pool_autoextend_percent=20
   use_mlockall=0
   monitoring=1
   polling_interval=15
   activation_mode="degraded"
}
global {
   umask=63
   test=0
   units="h"
   si_unit_consistency=1
   suffix=1
   activation=1
   fallback_to_lvm1=0
   proc="/proc"
   locking_type=1
   wait_for_locks=1
   fallback_to_clustered_locking=1
   fallback_to_local_locking=1
   locking_dir="/run/lock/lvm"
   prioritise_write_locks=1
   abort_on_internal_errors=0
   detect_internal_vg_cache_corruption=0
   metadata_read_only=0
   mirror_segtype_default="raid1"
   raid10_segtype_default="raid10"
   use_lvmetad=1
}
shell {
   history_size=100
}
backup {
   backup=1
   backup_dir="/etc/lvm/backup"
   archive=1
   archive_dir="/etc/lvm/archive"
   retain_min=10
   retain_days=30
}
log {
   verbose=0
   silent=0
   syslog=1
   overwrite=0
   level=0
   indent=1
   command_names=0
   prefix="  "
   debug_classes=["memory", "devices", "activation", "allocation", "lvmetad", "metadata", "cache", "locking"]
}
allocation {
   maximise_cling=1
   use_blkid_wiping=1
   wipe_signatures_when_zeroing_new_lvs=1
   mirror_logs_require_separate_pvs=0
   cache_pool_metadata_require_separate_pvs=0
   thin_pool_metadata_require_separate_pvs=0
}
devices {
   dir="/dev"
   scan="/dev"
   obtain_device_list_from_udev=1
   filter=["r|/dev/nbd.*|", "a/.*/"]
   cache_dir="/etc/lvm/cache"
   cache_file_prefix=""
   write_cache_state=1
   sysfs_scan=1
   multipath_component_detection=1
   md_component_detection=1
   md_chunk_alignment=1
   data_alignment_detection=1
   data_alignment=0
   data_alignment_offset_detection=1
   ignore_suspended_devices=0
   ignore_lvm_mirrors=1
   disable_after_error_count=0
   require_restorefile_with_uuid=1
   pv_min_size=2048
   issue_discards=0
}

# cat /etc/lvm/backup/vg1

# Generated by LVM2 version 2.02.109(2) (2014-08-05): Tue Apr 12 17:14:19 2016

contents = "Text Format Volume Group"
version = 1

description = "Created *after* executing 'vgscan --mknodes'"

creation_host = "sysresccd"   # Linux sysresccd 3.18.29-std472-amd64 #2 SMP Sat Mar 19 12:54:19 UTC 2016 x86_64
creation_time = 1460481259   # Tue Apr 12 17:14:19 2016

vg1 {
   id = "qbBHbF-1qdZ-O4c9-tIAl-m1bP-e8ZF-jZDBRd"
   seqno = 2
   format = "lvm2"         # informational
   status = ["RESIZEABLE", "READ", "WRITE"]
   flags = []
   extent_size = 8192      # 4 Megabytes
   max_lv = 0
   max_pv = 0
   metadata_copies = 0

   physical_volumes {

      pv0 {
         id = "zgBNu2-0reV-oZee-pC09-bXES-yxVO-9cNJDa"
         device = "/dev/md0"   # Hint only

         status = ["ALLOCATABLE"]
         flags = []
         dev_size = 577536   # 282 Megabytes
         pe_start = 2048
         pe_count = 70   # 280 Megabytes
      }
   }

   logical_volumes {

      mc1 {
         id = "93f0NR-r9YN-P4cX-HpVs-zLHh-osUg-bZZ7Bq"
         status = ["READ", "WRITE", "VISIBLE"]
         flags = []
         creation_host = "erdener"
         creation_time = 1349651335   # 2012-10-07 23:08:55 +0000
         segment_count = 1

         segment1 {
            start_extent = 0
            extent_count = 70   # 280 Megabytes

            type = "striped"
            stripe_count = 1   # linear

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

# cat /etc/lvm/backup/vg2
# Generated by LVM2 version 2.02.109(2) (2014-08-05): Tue Apr 12 17:14:19 2016

contents = "Text Format Volume Group"
version = 1

description = "Created *after* executing 'vgscan --mknodes'"

creation_host = "sysresccd"   # Linux sysresccd 3.18.29-std472-amd64 #2 SMP Sat Mar 19 12:54:19 UTC 2016 x86_64
creation_time = 1460481259   # Tue Apr 12 17:14:19 2016

vg2 {
   id = "l8tbP7-lIZU-mtXF-zcXI-5rqy-jucg-QpdU1T"
   seqno = 2
   format = "lvm2"         # informational
   status = ["RESIZEABLE", "READ", "WRITE"]
   flags = []
   extent_size = 8192      # 4 Megabytes
   max_lv = 0
   max_pv = 0
   metadata_copies = 0

   physical_volumes {

      pv0 {
         id = "tfuZsI-GpRF-7l0U-skzF-3sLB-ZGGE-cgx34H"
         device = "/dev/md2"   # Hint only

         status = ["ALLOCATABLE"]
         flags = []
         dev_size = 7802880   # 3.7207 Gigabytes
         pe_start = 2048
         pe_count = 952   # 3.71875 Gigabytes
      }
   }

   logical_volumes {

      mc2 {
         id = "G1CIwv-YNXb-YqO7-wm36-tA0W-7GxG-shBJmc"
         status = ["READ", "WRITE", "VISIBLE"]
         flags = []
         creation_host = "erdener"
         creation_time = 1349651346   # 2012-10-07 23:09:06 +0000
         segment_count = 1

         segment1 {
            start_extent = 0
            extent_count = 952   # 3.71875 Gigabytes

            type = "striped"
            stripe_count = 1   # linear

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

# cat /etc/lvm/backup/vg3
# Generated by LVM2 version 2.02.109(2) (2014-08-05): Tue Apr 12 17:14:19 2016

contents = "Text Format Volume Group"
version = 1

description = "Created *after* executing 'vgscan --mknodes'"

creation_host = "sysresccd"   # Linux sysresccd 3.18.29-std472-amd64 #2 SMP Sat Mar 19 12:54:19 UTC 2016 x86_64
creation_time = 1460481259   # Tue Apr 12 17:14:19 2016

vg3 {
   id = "iyICWd-A4Mj-hkXw-eVto-2RTE-N307-sqeZNd"
   seqno = 2
   format = "lvm2"         # informational
   status = ["RESIZEABLE", "READ", "WRITE"]
   flags = []
   extent_size = 8192      # 4 Megabytes
   max_lv = 0
   max_pv = 0
   metadata_copies = 0

   physical_volumes {

      pv0 {
         id = "oDQpL3-WWcU-PogN-raSu-HOoL-Vfg6-iejiUV"
         device = "/dev/md3"   # Hint only

         status = ["ALLOCATABLE"]
         flags = []
         dev_size = 3859578880   # 1.79726 Terabytes
         pe_start = 2048
         pe_count = 471139   # 1.79725 Terabytes
      }
   }

   logical_volumes {

      mc3 {
         id = "HW0nbd-OTW0-jUkf-KNye-ZD8U-FUlX-ZdysiB"
         status = ["READ", "WRITE", "VISIBLE"]
         flags = []
         creation_host = "erdener"
         creation_time = 1349651355   # 2012-10-07 23:09:15 +0000
         segment_count = 1

         segment1 {
            start_extent = 0
            extent_count = 471139   # 1.79725 Terabytes

            type = "striped"
            stripe_count = 1   # linear

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

# cat /etc/lvm/backup/vg4
# Generated by LVM2 version 2.02.109(2) (2014-08-05): Tue Apr 12 17:14:19 2016

contents = "Text Format Volume Group"
version = 1

description = "Created *after* executing 'vgscan --mknodes'"

creation_host = "sysresccd"   # Linux sysresccd 3.18.29-std472-amd64 #2 SMP Sat Mar 19 12:54:19 UTC 2016 x86_64
creation_time = 1460481259   # Tue Apr 12 17:14:19 2016

vg4 {
   id = "8xAEWg-NZnc-gxOx-3lZ9-yQFe-6fK7-ae85WX"
   seqno = 2
   format = "lvm2"         # informational
   status = ["RESIZEABLE", "READ", "WRITE"]
   flags = []
   extent_size = 8192      # 4 Megabytes
   max_lv = 0
   max_pv = 0
   metadata_copies = 0

   physical_volumes {

      pv0 {
         id = "L0zHXg-kiTh-relB-1659-JEfC-AJbL-2DGlyS"
         device = "/dev/md1"   # Hint only

         status = ["ALLOCATABLE"]
         flags = []
         dev_size = 39059456   # 18.625 Gigabytes
         pe_start = 2048
         pe_count = 4767   # 18.6211 Gigabytes
      }
   }

   logical_volumes {

      mc4 {
         id = "eQvTTY-iKWm-xhME-42Ca-6EhX-OyrG-B3KKrS"
         status = ["READ", "WRITE", "VISIBLE"]
         flags = []
         creation_host = "erdener"
         creation_time = 1349651363   # 2012-10-07 23:09:23 +0000
         segment_count = 1

         segment1 {
            start_extent = 0
            extent_count = 4767   # 18.6211 Gigabytes

            type = "striped"
            stripe_count = 1   # linear

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

gernot
Posts: 1127
Joined: 07 Apr 2010, 16:19

Re: Partition sizes changed and system slowed down.

Postby gernot » 13 Apr 2016, 04:16

I dont know about LVM.

Check SMART on the harddisk. using smartctl -a /dev/sd...
The interesting entrys are "relocated sector" and "pending sector"

Check also dmesg.

I wonder about the missing file /etc/issue in the after record.

Gernot

vanepp
Posts: 86
Joined: 22 Jun 2012, 02:24

Re: Partition sizes changed and system slowed down.

Postby vanepp » 25 Apr 2016, 02:55

This has the feel of disk corruption or hardware failure about it. As well as checking SMART as gernot suggested, look over /var/log/messages (unfortunatly I don't have an example of a disk retry / read-write error to hand) looking for disk errors. If the disk or controller are shaky and causing retrys to successfully read or write that will
cause slowdowns. Both Western Digital and Seagate have bootable diagnostic CDs (for their disks) which will run diagnostics and if you chose remap bad sectors. I'd
be concerned about the disk controller light being on all the time, that may mean that the hardware has been damaged on one of the power failures. Make sure you have
a good backup of the data before running one of the diagnostic CDs on the disk of course.

Peter Van Epp


Return to “Hard-disk partitioning and storage”

Who is online

Users browsing this forum: No registered users and 2 guests