linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: KrishnaMurali Chennuboina <krishchennu414@gmail.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: [linux-lvm] Issue after upgrading the LVM2 package from 2.02.176 to 2.02.180
Date: Thu, 10 Sep 2020 19:23:09 +0530	[thread overview]
Message-ID: <CAJHv+s7m=Ad=mK-QpuSDKVsa8fOyGV4Ex9LnaiDkhsStud35mQ@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 926 bytes --]

Hi Team,

While trying to analyze one the issue, we felt that upgrading the current
LVM2 package in our repository will be the best approach.
As part of that, we have updated the respective package from  2.02.176 to
2.02.180. We have verified the same and booted x86_64 hardware without any
issues.

But while trying to boot mips64 hardware we have started observing the
below issue.  Providing the snippet of the log,

# executing command: vgchange -an
(status, output): (0,   WARNING: Failed to connect to lvmetad. Falling back
to device scanning.)
  WARNING: Failed to connect to lvmetad. Falling back to device scanning.

Attached the detailed log for reference. There is no other change included
other than the LVM2 update.

LVM2 Version: 2.02.176
Updated LVM2 version: 2.02.180

Please share inputs on why this issue is being observed with .180 version?
Please let me know if i can share any other information.

Thanks.

[-- Attachment #1.2: Type: text/html, Size: 1182 bytes --]

[-- Attachment #2: lvm_bootupIssue.txt --]
[-- Type: text/plain, Size: 6076 bytes --]

2020-09-09 15:00:19,306 DEBUG - storageconfig.load_drbd_kernel_module - Looking for FSHWDRBD entries from LDAP.
2020-09-09 15:00:19,307 DEBUG - storageconfig.load_drbd_kernel_module - ldapsearch result: [].
2020-09-09 15:00:30,467 DEBUG - funclib.execute - <command="/bin/fssrcli -ifvm --fast-drbd-sync", round=1, ret=1>
# executing command: vgchange -an 
(status, output): (0,   WARNING: Failed to connect to lvmetad. Falling back to device scanning.)
  WARNING: Failed to connect to lvmetad. Falling back to device scanning.
initializing disk "/dev/sda" on node "CFPU-0" by wiping the disk
# executing command: pvs -o pv_name --noheadings 2>/dev/null
(status, output): (0, )

# executing command: rm -rf /etc/lvm/backup
(status, output): (0, )

# executing command: rm -rf /etc/lvm/archive
(status, output): (0, )

# executing command: dd if=/dev/zero bs=512 count=4 of=/dev/sda1
(status, output): (0, 4+0 records in
4+0 records out
2048 bytes (2.0 kB, 2.0 KiB) copied, 0.00194421 s, 1.1 MB/s)
4+0 records in
4+0 records out
2048 bytes (2.0 kB, 2.0 KiB) copied, 0.00194421 s, 1.1 MB/s
# executing command: dd if=/dev/zero bs=512 count=4 of=/dev/sda2
(status, output): (0, 4+0 records in
4+0 records out
2048 bytes (2.0 kB, 2.0 KiB) copied, 0.0114675 s, 179 kB/s)
4+0 records in
4+0 records out
2048 bytes (2.0 kB, 2.0 KiB) copied, 0.0114675 s, 179 kB/s
# executing command: dd if=/dev/zero bs=512 count=4 of=/dev/sda3
(status, output): (0, 4+0 records in
4+0 records out
2048 bytes (2.0 kB, 2.0 KiB) copied, 0.00637096 s, 321 kB/s)
4+0 records in
4+0 records out
2048 bytes (2.0 kB, 2.0 KiB) copied, 0.00637096 s, 321 kB/s
# executing command: dd if=/dev/zero bs=512 count=4 of=/dev/sda
(status, output): (0, 4+0 records in
4+0 records out
2048 bytes (2.0 kB, 2.0 KiB) copied, 0.00820429 s, 250 kB/s)
4+0 records in
4+0 records out
2048 bytes (2.0 kB, 2.0 KiB) copied, 0.00820429 s, 250 kB/s
# executing command: create_partition /dev/sda1 500M 83 true
(status, output): (0, INFO: erasing partition table on device /dev/sda)
INFO: erasing partition table on device /dev/sda
# executing command: create_partition /dev/sda2 500M 83 false
(status, output): (0, blockdev: ioctl error on BLKRRPART: Device or resource busy)
blockdev: ioctl error on BLKRRPART: Device or resource busy
# executing command: create_partition /dev/sda3 -1M 8e false
(status, output): (0, blockdev: ioctl error on BLKRRPART: Device or resource busy)
blockdev: ioctl error on BLKRRPART: Device or resource busy
# executing command: pvs -o pv_name --noheadings 2>/dev/null
(status, output): (0, )

# executing command: rm -rf /etc/lvm/backup
(status, output): (0, )

# executing command: rm -rf /etc/lvm/archive
(status, output): (0, )

# executing command: dd if=/dev/zero bs=512 count=4 of=/dev/sda1
(status, output): (0, 4+0 records in
4+0 records out
2048 bytes (2.0 kB, 2.0 KiB) copied, 0.0032232 s, 635 kB/s)
4+0 records in
4+0 records out
2048 bytes (2.0 kB, 2.0 KiB) copied, 0.0032232 s, 635 kB/s
# executing command: dd if=/dev/zero bs=512 count=4 of=/dev/sda2
(status, output): (0, 4+0 records in
4+0 records out
2048 bytes (2.0 kB, 2.0 KiB) copied, 0.00522931 s, 392 kB/s)
4+0 records in
4+0 records out
2048 bytes (2.0 kB, 2.0 KiB) copied, 0.00522931 s, 392 kB/s
# executing command: dd if=/dev/zero bs=512 count=4 of=/dev/sda3
(status, output): (0, 4+0 records in
4+0 records out
2048 bytes (2.0 kB, 2.0 KiB) copied, 0.0123737 s, 166 kB/s)
4+0 records in
4+0 records out
2048 bytes (2.0 kB, 2.0 KiB) copied, 0.0123737 s, 166 kB/s
# executing command: dd if=/dev/zero bs=512 count=4 of=/dev/sda
(status, output): (0, 4+0 records in
4+0 records out
2048 bytes (2.0 kB, 2.0 KiB) copied, 0.00804545 s, 255 kB/s)
4+0 records in
4+0 records out
2048 bytes (2.0 kB, 2.0 KiB) copied, 0.00804545 s, 255 kB/s
# executing command: create_partition /dev/sda1 500M 83 true
(status, output): (0, INFO: erasing partition table on device /dev/sda)
INFO: erasing partition table on device /dev/sda
# executing command: create_partition /dev/sda2 500M 83 false
(status, output): (0, blockdev: ioctl error on BLKRRPART: Device or resource busy)
blockdev: ioctl error on BLKRRPART: Device or resource busy
# executing command: create_partition /dev/sda3 -1M 8e false
(status, output): (0, blockdev: ioctl error on BLKRRPART: Device or resource busy)
blockdev: ioctl error on BLKRRPART: Device or resource busy
# executing command: vgchange -ay 
(status, output): (0,   WARNING: Failed to connect to lvmetad. Falling back to device scanning.)
  WARNING: Failed to connect to lvmetad. Falling back to device scanning.
# executing command: pvcreate -ffy /dev/sda3
(status, output): (5,   WARNING: Failed to connect to lvmetad. Falling back to device scanning.
  Error reading device /dev/sda3 at 0 length 4096.
  Error reading device /dev/ram0 at 0 length 4096.
  Error reading device /dev/loop0 at 0 length 4096.
  Error reading device /dev/sda at 0 length 512.
  Error reading device /dev/sda at 0 length 4096.
  Error reading device /dev/ram1 at 0 length 4096.
  Error reading device /dev/sda1 at 0 length 4096.
  Error reading device /dev/ram2 at 0 length 4096.
  Error reading device /dev/sda2 at 0 length 4096.
  Error reading device /dev/ram3 at 0 length 4096.
  Error reading device /dev/ram4 at 0 length 4096.
  Error reading device /dev/ram5 at 0 length 4096.
  Error reading device /dev/ram6 at 0 length 4096.
  Error reading device /dev/ram7 at 0 length 4096.
  Error reading device /dev/ram8 at 0 length 4096.
  Error reading device /dev/ram9 at 0 length 4096.
  Error reading device /dev/ram10 at 0 length 4096.
  Error reading device /dev/ram11 at 0 length 4096.
  Error reading device /dev/ram12 at 0 length 4096.
  Error reading device /dev/ram13 at 0 length 4096.
  Error reading device /dev/ram14 at 0 length 4096.
  Error reading device /dev/ram15 at 0 length 4096.
  Device /dev/sda3 excluded by a filter.)
Failed to execute command: pvcreate -ffy /dev/sda3
ec=0

[-- Attachment #3: lvm_bootupIssue_verbose.txt --]
[-- Type: text/plain, Size: 21756 bytes --]

bash-4.4#
bash-4.4# pvs
  Error reading device /dev/ram0 at 0 length 4096.
  Error reading device /dev/loop0 at 0 length 4096.
  Error reading device /dev/sda at 0 length 512.
  Error reading device /dev/sda at 0 length 4096.
  Error reading device /dev/ram1 at 0 length 4096.
  Error reading device /dev/sda1 at 0 length 4096.
  Error reading device /dev/ram2 at 0 length 4096.
  Error reading device /dev/sda2 at 0 length 4096.
  Error reading device /dev/ram3 at 0 length 4096.
  Error reading device /dev/sda3 at 0 length 4096.
  Error reading device /dev/ram4 at 0 length 4096.
  Error reading device /dev/sda4 at 0 length 4096.
  Error reading device /dev/ram5 at 0 length 4096.
  Error reading device /dev/ram6 at 0 length 4096.
  Error reading device /dev/ram7 at 0 length 4096.
  Error reading device /dev/ram8 at 0 length 4096.
  Error reading device /dev/ram9 at 0 length 4096.
  Error reading device /dev/ram10 at 0 length 4096.
  Error reading device /dev/ram11 at 0 length 4096.
  Error reading device /dev/ram12 at 0 length 4096.
  Error reading device /dev/ram13 at 0 length 4096.
  Error reading device /dev/ram14 at 0 length 4096.
  Error reading device /dev/ram15 at 0 length 4096.
  Error reading device /dev/sdb at 0 length 512.
  Error reading device /dev/sdb at 0 length 4096.
  Error reading device /dev/sdb1 at 0 length 4096.
  Error reading device /dev/sdb2 at 0 length 4096.
  Error reading device /dev/sdb3 at 0 length 4096.
  Read-only locking type set. Write locks are prohibited.
  Recovery of standalone physical volumes failed.
  Cannot process standalone physical volumes
bash-4.4# strace pvcreate -ffy /dev/sda3
execve("/usr/bin/pvcreate", ["pvcreate", "-ffy", "/dev/sda3"], 0xffffa28020 /* 23 vars */) = 0
brk(NULL)                               = 0xaabbe4d000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xfff4190000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/octeon2/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "octeon2/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/tls/octeon2/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib/tls/octeon2", 0xffffe28d40)  = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/tls/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib/tls", 0xffffe28d40)          = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/octeon2/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib/octeon2", 0xffffe28d40)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=64, ...}) = 0
mmap(NULL, 64, PROT_READ, MAP_PRIVATE, 3, 0) = 0xfff418f000
close(3)                                = 0
openat(AT_FDCWD, "/lib64/tls/octeon2/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib64/tls/octeon2", 0xffffe28d40) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib64/tls/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib64/tls", 0xffffe28d40)        = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib64/octeon2/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib64/octeon2", 0xffffe28d40)    = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib64/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\2\1\0\0\0\0\0\0\0\0\0\0\3\0\10\0\0\0\1\0\0\0\0\0\0\22P"..., 832) = 832
lseek(3, 2232, SEEK_SET)                = 2232
read(3, "\0\0\0\4\0\0\0\20\0\0\0\1GNU\0\0\0\0\0\0\0\0\2\0\0\0\6\0\0\0 ", 32) = 32
fstat(3, {st_mode=S_IFREG|0755, st_size=15856, ...}) = 0
mmap(NULL, 78272, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xfff414c000
mprotect(0xfff414f000, 61440, PROT_NONE) = 0
mmap(0xfff415e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0xfff415e000
close(3)                                = 0
openat(AT_FDCWD, "tls/octeon2/libdevmapper.so.1.02", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/libdevmapper.so.1.02", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "octeon2/libdevmapper.so.1.02", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "libdevmapper.so.1.02", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/libdevmapper.so.1.02", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib64/libdevmapper.so.1.02", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/tls/octeon2/libdevmapper.so.1.02", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/tls/octeon2", 0xffffe28d10) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/tls/libdevmapper.so.1.02", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/tls", 0xffffe28d10)    = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/octeon2/libdevmapper.so.1.02", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/octeon2", 0xffffe28d10) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/libdevmapper.so.1.02", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\2\1\0\0\0\0\0\0\0\0\0\0\3\0\10\0\0\0\1\0\0\0\0\0\0\254\240"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0555, st_size=527792, ...}) = 0
mmap(NULL, 566368, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xfff40c1000
mprotect(0xfff4136000, 65536, PROT_NONE) = 0
mmap(0xfff4146000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x75000) = 0xfff4146000
mmap(0xfff414b000, 1120, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xfff414b000
close(3)                                = 0
openat(AT_FDCWD, "tls/octeon2/libaio.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/libaio.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "octeon2/libaio.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "libaio.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/libaio.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib64/libaio.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\2\1\0\0\0\0\0\0\0\0\0\0\3\0\10\0\0\0\1\0\0\0\0\0\0\7\300"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=5200, ...}) = 0
mmap(NULL, 68928, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xfff40b0000
mprotect(0xfff40b1000, 61440, PROT_NONE) = 0
mmap(0xfff40c0000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0) = 0xfff40c0000
close(3)                                = 0
openat(AT_FDCWD, "tls/octeon2/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "octeon2/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\2\1\0\0\0\0\0\0\0\0\0\0\3\0\10\0\0\0\1\0\0\0\0\0\4\7H"..., 832) = 832
lseek(3, 88976, SEEK_SET)               = 88976
read(3, "\0\0\0\4\0\0\0\20\0\0\0\1GNU\0\0\0\0\0\0\0\0\2\0\0\0\6\0\0\0 ", 32) = 32
fstat(3, {st_mode=S_IFREG|0755, st_size=1856416, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xfff418d000
mmap(NULL, 1835664, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xfff3eef000
mprotect(0xfff4091000, 65536, PROT_NONE) = 0
mmap(0xfff40a1000, 45056, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a2000) = 0xfff40a1000
mmap(0xfff40ac000, 12944, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xfff40ac000
close(3)                                = 0
openat(AT_FDCWD, "tls/octeon2/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "octeon2/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\2\1\0\0\0\0\0\0\0\0\0\0\3\0\10\0\0\0\1\0\0\0\0\0\0\213\0"..., 832) = 832
lseek(3, 14976, SEEK_SET)               = 14976
read(3, "\0\0\0\4\0\0\0\20\0\0\0\1GNU\0\0\0\0\0\0\0\0\2\0\0\0\6\0\0\0 ", 32) = 32
fstat(3, {st_mode=S_IFREG|0755, st_size=145008, ...}) = 0
mmap(NULL, 215000, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xfff3eba000
mprotect(0xfff3eda000, 61440, PROT_NONE) = 0
mmap(0xfff3ee9000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1f000) = 0xfff3ee9000
mmap(0xfff3eeb000, 14296, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xfff3eeb000
close(3)                                = 0
openat(AT_FDCWD, "tls/octeon2/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "octeon2/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib64/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\2\1\0\0\0\0\0\0\0\0\0\0\3\0\10\0\0\0\1\0\0\0\0\0\1G\320"..., 832) = 832
lseek(3, 38864, SEEK_SET)               = 38864
read(3, "\0\0\0\4\0\0\0\20\0\0\0\1GNU\0\0\0\0\0\0\0\0\2\0\0\0\6\0\0\0 ", 32) = 32
fstat(3, {st_mode=S_IFREG|0755, st_size=1129144, ...}) = 0
mmap(NULL, 1170288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xfff3d9c000
mprotect(0xfff3ea9000, 61440, PROT_NONE) = 0
mmap(0xfff3eb8000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10c000) = 0xfff3eb8000
close(3)                                = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xfff418b000
set_thread_area(0xfff4193290)           = 0
mprotect(0xfff40a1000, 24576, PROT_READ) = 0
mprotect(0xfff3eb8000, 4096, PROT_READ) = 0
mprotect(0xfff3ee9000, 4096, PROT_READ) = 0
mprotect(0xfff4146000, 4096, PROT_READ) = 0
mprotect(0xfff415e000, 4096, PROT_READ) = 0
mprotect(0xaab6680000, 32768, PROT_READ) = 0
mprotect(0xfff4194000, 4096, PROT_READ) = 0
munmap(0xfff418f000, 64)                = 0
set_tid_address(0xfff418bc60)           = 1273
set_robust_list(0xfff418bc70, 24)       = 0
rt_sigaction(SIGRTMIN, {sa_handler=0xfff3ec2428, sa_mask=[], sa_flags=SA_SIGINFO}, NULL, 16) = 0
rt_sigaction(SIGRT_1, {sa_handler=0xfff3ec2558, sa_mask=[], sa_flags=SA_RESTART|SA_SIGINFO}, NULL, 16) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 16) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
fcntl(2, F_GETFD)                       = 0
fcntl(0, F_GETFD)                       = 0
fcntl(1, F_GETFD)                       = 0
fcntl(2, F_GETFD)                       = 0
getppid()                               = 1271
openat(AT_FDCWD, "/proc/1271/cmdline", O_RDONLY) = 3
read(3, "strace\0pvcreate\0-ffy\0/dev/sda3\0", 31) = 31
close(3)                                = 0
openat(AT_FDCWD, "/proc/self/fd", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
fstat(3, {st_mode=S_IFDIR|0500, st_size=0, ...}) = 0
brk(NULL)                               = 0xaabbe4d000
brk(0xaabbe6e000)                       = 0xaabbe6e000
getdents(3, /* 6 entries */, 32768)     = 144
getdents(3, /* 0 entries */, 32768)     = 0
close(3)                                = 0
gettid()                                = 1273
getpid()                                = 1273
fcntl(0, F_GETFD)                       = 0
fcntl(0, F_GETFL)                       = 0x2002 (flags O_RDWR|O_LARGEFILE)
dup(0)                                  = 3
close(0)                                = 0
dup2(3, 0)                              = 0
close(3)                                = 0
fcntl(0, F_GETFL)                       = 0x2002 (flags O_RDWR|O_LARGEFILE)
fcntl(1, F_GETFD)                       = 0
fcntl(1, F_GETFL)                       = 0x2002 (flags O_RDWR|O_LARGEFILE)
dup(1)                                  = 3
close(1)                                = 0
dup2(3, 1)                              = 1
close(3)                                = 0
fcntl(1, F_GETFL)                       = 0x2002 (flags O_RDWR|O_LARGEFILE)
stat("/etc/lvm", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
stat("/etc/lvm/lvm.conf", {st_mode=S_IFREG|0644, st_size=93568, ...}) = 0
stat("/etc/lvm/lvm.conf", {st_mode=S_IFREG|0644, st_size=93568, ...}) = 0
openat(AT_FDCWD, "/etc/lvm/lvm.conf", O_RDONLY) = 3
mmap(NULL, 93568, PROT_READ, MAP_PRIVATE, 3, 0) = 0xfff3d85000
munmap(0xfff3d85000, 93568)             = 0
close(3)                                = 0
gettimeofday({tv_sec=1599745840, tv_usec=916751}, NULL) = 0
openat(AT_FDCWD, "/etc/localtime", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
uname({sysname="Linux", nodename="(none)", ...}) = 0
stat("/etc/lvm/lvmlocal.conf", {st_mode=S_IFREG|0644, st_size=2301, ...}) = 0
stat("/etc/lvm/lvmlocal.conf", {st_mode=S_IFREG|0644, st_size=2301, ...}) = 0
openat(AT_FDCWD, "/etc/lvm/lvmlocal.conf", O_RDONLY) = 3
mmap(NULL, 2301, PROT_READ, MAP_PRIVATE, 3, 0) = 0xfff418f000
munmap(0xfff418f000, 2301)              = 0
close(3)                                = 0
umask(077)                              = 022
stat("/proc", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
openat(AT_FDCWD, "/proc/mounts", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
read(3, "rootfs / rootfs rw 0 0\nproc /pro"..., 1024) = 1024
close(3)                                = 0
brk(0xaabbe90000)                       = 0xaabbe90000
openat(AT_FDCWD, "/proc/devices", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
read(3, "Character devices:\n  1 mem\n  4 t"..., 1024) = 399
read(3, "", 1024)                       = 0
close(3)                                = 0
stat("/dev", {st_mode=S_IFDIR|0755, st_size=1440, ...}) = 0
openat(AT_FDCWD, "/dev/urandom", O_RDONLY) = 3
read(3, "\275\343\235\220", 4)          = 4
close(3)                                = 0
sysinfo({uptime=27753, loads=[0, 0, 0], totalram=16423124992, freeram=15895031808, sharedram=42950656, bufferram=8273920, totalswap=0, freeswap=0, procs=97, totalhigh=0, freehigh=0, mem_unit=1}) = 0
getuid()                                = 0
geteuid()                               = 0
stat("/etc/lvm/lvm.conf", {st_mode=S_IFREG|0644, st_size=93568, ...}) = 0
stat("/etc/lvm/lvmlocal.conf", {st_mode=S_IFREG|0644, st_size=2301, ...}) = 0
access("/run/lvmetad.pid", F_OK)        = -1 ENOENT (No such file or directory)
stat("/sys/subsystem/block/devices", 0xffffe289f0) = -1 ENOENT (No such file or directory)
stat("/sys/class/block", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
stat("/etc/lvm/cache/.cache", {st_mode=S_IFREG|0600, st_size=77, ...}) = 0
stat("/etc/lvm/cache/.cache", {st_mode=S_IFREG|0600, st_size=77, ...}) = 0
stat("/etc/lvm/cache/.cache", {st_mode=S_IFREG|0600, st_size=77, ...}) = 0
stat("/etc/lvm/cache/.cache", {st_mode=S_IFREG|0600, st_size=77, ...}) = 0
openat(AT_FDCWD, "/etc/lvm/cache/.cache", O_RDONLY) = 3
mmap(NULL, 77, PROT_READ, MAP_PRIVATE, 3, 0) = 0xfff418f000
munmap(0xfff418f000, 77)                = 0
close(3)                                = 0
getpid()                                = 1273
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 16) = 0
write(2, "  ", 2  )                       = 2
write(2, "Read-only locking type set. Writ"..., 55Read-only locking type set. Write locks are prohibited.) = 55
write(2, "\n", 1
)                       = 1
rt_sigprocmask(SIG_SETMASK, [], NULL, 16) = 0
write(2, "  ", 2  )                       = 2
write(2, "Can't get lock for orphan PVs.", 30Can't get lock for orphan PVs.) = 30
write(2, "\n", 1
)                       = 1
fcntl(0, F_GETFD)                       = 0
fcntl(0, F_GETFL)                       = 0x2002 (flags O_RDWR|O_LARGEFILE)
dup(0)                                  = 3
close(0)                                = 0
dup2(3, 0)                              = 0
close(3)                                = 0
fcntl(0, F_GETFL)                       = 0x2002 (flags O_RDWR|O_LARGEFILE)
fcntl(1, F_GETFD)                       = 0
fcntl(1, F_GETFL)                       = 0x2002 (flags O_RDWR|O_LARGEFILE)
dup(1)                                  = 3
close(1)                                = 0
dup2(3, 1)                              = 1
close(3)                                = 0
fcntl(1, F_GETFL)                       = 0x2002 (flags O_RDWR|O_LARGEFILE)
exit_group(5)                           = ?
+++ exited with 5 +++
bash-4.4#
bash-4.4#
bash-4.4#
bash-4.4#
bash-4.4# pvcreate -vvvv /dev/sda3
#lvmcmdline.c:2814          Parsing: pvcreate -vvvv /dev/sda3
#lvmcmdline.c:1868          Recognised command pvcreate_general (id 100 / enum 79).
#config/config.c:1480        devices/global_filter not found in config: defaulting to global_filter = [ "a|.*/|" ]
#filters/filter-sysfs.c:327           Sysfs filter initialised.
#filters/filter-internal.c:77            Internal filter initialised.
#filters/filter-regex.c:216           Regex filter initialised.
#filters/filter-type.c:56            LVM type filter initialised.
#filters/filter-usable.c:183           Usable device filter initialised.
#filters/filter-mpath.c:291           mpath filter initialised.
#filters/filter-partitioned.c:69            Partitioned filter initialised.
#filters/filter-signature.c:84            signature filter initialised.
#filters/filter-md.c:169           MD filter initialised.
#filters/filter-composite.c:109           Composite filter initialised.
#libdm-config.c:975         devices/cache not found in config: defaulting to /etc/lvm/cache/.cache
#filters/filter-persistent.c:415           Persistent filter initialised.
#device/dev-io.c:609           Opened /etc/lvm/cache/.cache RO
#filters/filter-persistent.c:145           Loading persistent filter cache from /etc/lvm/cache/.cache
#filters/filter-persistent.c:89          Couldn't find persistent_filter_cache/valid_devices array in '/etc/lvm/cache/.cache'
#filters/filter-persistent.c:152         Loaded persistent filter cache from /etc/lvm/cache/.cache
#device/dev-io.c:658           Closed /etc/lvm/cache/.cache
#commands/toolcontext.c:1289      Failed to load existing device cache from /etc/lvm/cache/.cache
#libdm-config.c:1074        metadata/record_lvs_history not found in config: defaulting to 0
#lvmcmdline.c:2882          DEGRADED MODE. Incomplete RAID LVs will be processed.
#lvmcmdline.c:2888          Processing command: pvcreate -vvvv /dev/sda3
#lvmcmdline.c:2889          Command pid: 1274
#lvmcmdline.c:2890          System ID:
#lvmcmdline.c:2893          O_DIRECT will be used
#locking/locking.c:181       Read-only locking selected. Only read operations permitted.
#libdm-config.c:1074        metadata/pvmetadataignore not found in config: defaulting to 0
#libdm-config.c:1002        metadata/pvmetadatasize not found in config: defaulting to 255
#libdm-config.c:1002        metadata/pvmetadatacopies not found in config: defaulting to 1
#libdm-config.c:975         report/output_format not found in config: defaulting to basic
#libdm-config.c:1074        log/report_command_log not found in config: defaulting to 0
#cache/lvmcache.c:2535          Dropping VG info
#cache/lvmcache.c:751           lvmcache has no info for vgname "#orphans_lvm2" with VGID #orphans_lvm2.
#cache/lvmcache.c:751           lvmcache has no info for vgname "#orphans_lvm2".
#cache/lvmcache.c:2082          lvmcache: Initialised VG #orphans_lvm2.
#locking/locking.c:331           Dropping cache for #orphans.
#locking/no_locking.c:89      Read-only locking type set. Write locks are prohibited.
#locking/locking.c:275           <backtrace>
#locking/locking.c:352           <backtrace>
#toollib.c:5482    Can't get lock for orphan PVs.
#cache/lvmcache.c:2535          Dropping VG info
#cache/lvmcache.c:751           lvmcache has no info for vgname "#orphans_lvm2" with VGID #orphans_lvm2.
#cache/lvmcache.c:751           lvmcache has no info for vgname "#orphans_lvm2".
#cache/lvmcache.c:2082          lvmcache: Initialised VG #orphans_lvm2.
#lvmcmdline.c:3028          Completed: pvcreate -vvvv /dev/sda3
bash-4.4#

             reply	other threads:[~2020-09-10 13:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-10 13:53 KrishnaMurali Chennuboina [this message]
2020-09-14 14:58 ` Roger Heflin
2020-09-14 15:19   ` KrishnaMurali Chennuboina
2020-09-15 11:05     ` Roger Heflin
2020-09-15 12:58       ` KrishnaMurali Chennuboina
2020-09-15 17:01         ` KrishnaMurali Chennuboina
2020-09-17 16:26           ` Roger Heflin
2020-09-15 18:46       ` Zdenek Kabelac

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJHv+s7m=Ad=mK-QpuSDKVsa8fOyGV4Ex9LnaiDkhsStud35mQ@mail.gmail.com' \
    --to=krishchennu414@gmail.com \
    --cc=linux-lvm@redhat.com \
    --subject='Re: [linux-lvm] Issue after upgrading the LVM2 package from 2.02.176 to 2.02.180' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).