[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[linux-lvm] confusing error message from lvm2



I'm confused about an error message I'm seeing from LVM2.  The message is:

+ /usr/bin/sudo /sbin/vgs --noheadings --units g --nosuffix --separator : -o name,size,free,extent_size,extent_count,free_count,max_lv,lv_count,snap_count v4c
 Path /dev/ACTION=_change_ no longer valid for device(252,7)
 Path /dev/DEVTYPE=_disk_ no longer valid for device(252,7)
 Path /dev/PWD=_/_ no longer valid for device(252,7)
 Path /dev/DM_STATE_ACTIVE=_1_ no longer valid for device(252,7)
 v4c:8.00:4.00:0.00:2047:1023:0:4:2

I'll attach a copy of a script that exhibits the problem consistently and in only a few seconds. The script presupposes that a volume group named "v4c" exists. Mine is 8G and is located on a physical disk. (Well, really a vmware virtual disk, but I doubt that the kernel running in the virtual machine really cares.)

I'm seeing this on amd64 ubuntu-9.10 updated current as of this posting.

Can anyone explain to me what this means or why I'm getting it?

--rich
#!/bin/sh

### This script presumes that a volume group named "v4c" exists.  Mine is 8G.

set -x

/usr/bin/sudo /sbin/lvremove -f v4c
/usr/bin/sudo /sbin/lvremove -f v4c
/usr/bin/sudo /sbin/lvremove -f v4c
/usr/bin/sudo /sbin/lvs --noheadings --units g --nosuffix --separator : -o name,origin,size,snap_percent,copy_percent v4c
/usr/bin/sudo /sbin/lvcreate --size 1.0g --name lv-test.0 v4c
/usr/bin/sudo /sbin/mkfs -t ext4 -L lv-test.0 /dev/v4c/lv-test.0
/usr/bin/sudo /sbin/tune2fs -c 0 /dev/v4c/lv-test.0
/usr/bin/sudo /sbin/vgs --noheadings --units g --nosuffix --separator : -o name,size,free,extent_size,extent_count,free_count,max_lv,lv_count,snap_count v4c
/usr/bin/sudo /sbin/lvs --noheadings --units g --nosuffix --separator : -o name,origin,size,snap_percent,copy_percent v4c
/usr/bin/sudo /sbin/lvcreate --snapshot --size 1.0g --name ss-test.0.0 v4c/lv-test.0
/usr/bin/sudo /sbin/vgs --noheadings --units g --nosuffix --separator : -o name,size,free,extent_size,extent_count,free_count,max_lv,lv_count,snap_count v4c
/usr/bin/sudo /sbin/lvs --noheadings --units g --nosuffix --separator : -o name,origin,size,snap_percent,copy_percent v4c
/usr/bin/sudo /sbin/lvremove -f v4c/ss-test.0.0
/usr/bin/sudo /sbin/vgs --noheadings --units g --nosuffix --separator : -o name,size,free,extent_size,extent_count,free_count,max_lv,lv_count,snap_count v4c
/usr/bin/sudo /sbin/lvs --noheadings --units g --nosuffix --separator : -o name,origin,size,snap_percent,copy_percent v4c
/usr/bin/sudo /sbin/lvcreate --snapshot --size 1.0g --name ss-test.0.1 v4c/lv-test.0
/usr/bin/sudo /sbin/vgs --noheadings --units g --nosuffix --separator : -o name,size,free,extent_size,extent_count,free_count,max_lv,lv_count,snap_count v4c
/usr/bin/sudo /sbin/lvs --noheadings --units g --nosuffix --separator : -o name,origin,size,snap_percent,copy_percent v4c
/usr/bin/sudo /sbin/lvremove -f v4c/ss-test.0.1
/usr/bin/sudo /sbin/vgs --noheadings --units g --nosuffix --separator : -o name,size,free,extent_size,extent_count,free_count,max_lv,lv_count,snap_count v4c
/usr/bin/sudo /sbin/lvs --noheadings --units g --nosuffix --separator : -o name,origin,size,snap_percent,copy_percent v4c
/usr/bin/sudo /sbin/lvremove -f v4c/lv-test.0
/usr/bin/sudo /sbin/vgs --noheadings --units g --nosuffix --separator : -o name,size,free,extent_size,extent_count,free_count,max_lv,lv_count,snap_count v4c
/usr/bin/sudo /sbin/lvs --noheadings --units g --nosuffix --separator : -o name,origin,size,snap_percent,copy_percent v4c
/usr/bin/sudo /sbin/lvcreate --size 1.0g --name lv-test.1 v4c
/usr/bin/sudo /sbin/mkfs -t ext4 -L lv-test.1 /dev/v4c/lv-test.1
/usr/bin/sudo /sbin/tune2fs -c 0 /dev/v4c/lv-test.1
/usr/bin/sudo /sbin/vgs --noheadings --units g --nosuffix --separator : -o name,size,free,extent_size,extent_count,free_count,max_lv,lv_count,snap_count v4c
/usr/bin/sudo /sbin/lvs --noheadings --units g --nosuffix --separator : -o name,origin,size,snap_percent,copy_percent v4c
/usr/bin/sudo /sbin/lvcreate --snapshot --size 1.0g --name ss-test.1.0 v4c/lv-test.1
/usr/bin/sudo /sbin/vgs --noheadings --units g --nosuffix --separator : -o name,size,free,extent_size,extent_count,free_count,max_lv,lv_count,snap_count v4c

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]