Bug#511171: lvm2: Unable to use full 3.2 TB of LVM LG on HP SmartArray E200
teh test3s
tehtest3s at gmail.com
Thu Jan 8 01:23:36 UTC 2009
~# pvs -v
Scanning for physical volume names
PV VG Fmt Attr PSize PFree DevSize PV UUID
/dev/cciss/c0d0p1 volgroup00 lvm2 a- 195.31G 0 195.31G
qiDCal-vQqw-N1lq-8bN3-D4q6-SI2I-8t2gNs
/dev/cciss/c0d1p5 volgroup00 lvm2 a- 3.22T 2.22T 1.22T
wF9oyR-R0tf-bZeW-0es1-FhYK-f2g3-xS1Rd9
~# lvm version
LVM version: 2.02.39 (2008-06-27)
Library version: 1.02.27 (2008-06-25)
Driver version: 4.13.0
~# lvdisplay
--- Logical volume ---
LV Name /dev/volgroup00/vol00
VG Name volgroup00
LV UUID nK5zJu-Jv3H-a01I-78gy-A96D-MvyQ-3RhNoA
LV Write Access read/write
LV Status available
# open 1
LV Size 195.31 GB
Current LE 49999
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:0
--- Logical volume ---
LV Name /dev/volgroup00/bigstore
VG Name volgroup00
LV UUID NVFvuz-XhCG-fs7X-Kx3E-zLjD-q72H-JN6ScM
LV Write Access read/write
LV Status available
# open 0
LV Size 1.00 TB
Current LE 262144
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:1
~# lvremove /dev/volgroup00/bigstore
Do you really want to remove active logical volume "bigstore"? [y/n]: y
Logical volume "bigstore" successfully removed
~# lvcreate -vvv -n bigstore --size 3T volgroup00
Processing: lvcreate -vvv -n bigstore --size 3T volgroup00
O_DIRECT will be used
Setting global/locking_type to 1
File-based locking selected.
Setting global/locking_dir to /var/lock/lvm
Getting target version for linear
dm version OF [16384]
dm versions OF [16384]
Getting target version for striped
dm versions OF [16384]
Setting logging type to disk
Setting activation/mirror_region_size to 512
Finding volume group "volgroup00"
Locking /var/lock/lvm/V_volgroup00 WB
Opened /dev/ram0 RW O_DIRECT
/dev/ram0: block size is 4096 bytes
/dev/ram0: No label detected
Closed /dev/ram0
Opened /dev/root RW O_DIRECT
/dev/root: block size is 4096 bytes
/dev/root: No label detected
Closed /dev/root
Opened /dev/ram1 RW O_DIRECT
/dev/ram1: block size is 4096 bytes
/dev/ram1: No label detected
Closed /dev/ram1
Opened /dev/cciss/c0d0p1 RW O_DIRECT
/dev/cciss/c0d0p1: block size is 512 bytes
/dev/cciss/c0d0p1: lvm2 label detected
lvmcache: /dev/cciss/c0d0p1: now in VG #orphans_lvm2 (#orphans_lvm2)
/dev/cciss/c0d0p1: Found metadata at 75264 size 1065 (in area at
4096 size 192512) for volgroup00 (JWXg8s-LW8f-bQQY-3sLc-xOqY-5nPw-KncSpV)
lvmcache: /dev/cciss/c0d0p1: now in VG volgroup00 with 1 mdas
lvmcache: /dev/cciss/c0d0p1: setting volgroup00 VGID to
JWXg8sLW8fbQQY3sLcxOqY5nPwKncSpV
lvmcache: /dev/cciss/c0d0p1: VG volgroup00: Set creation host to
94-76-213-52.
Opened /dev/ram2 RW O_DIRECT
/dev/ram2: block size is 4096 bytes
/dev/ram2: No label detected
Closed /dev/ram2
Opened /dev/ram3 RW O_DIRECT
/dev/ram3: block size is 4096 bytes
/dev/ram3: No label detected
Closed /dev/ram3
Opened /dev/ram4 RW O_DIRECT
/dev/ram4: block size is 4096 bytes
/dev/ram4: No label detected
Closed /dev/ram4
Opened /dev/ram5 RW O_DIRECT
/dev/ram5: block size is 4096 bytes
/dev/ram5: No label detected
Closed /dev/ram5
Opened /dev/ram6 RW O_DIRECT
/dev/ram6: block size is 4096 bytes
/dev/ram6: No label detected
Closed /dev/ram6
Opened /dev/ram7 RW O_DIRECT
/dev/ram7: block size is 4096 bytes
/dev/ram7: No label detected
Closed /dev/ram7
Opened /dev/ram8 RW O_DIRECT
/dev/ram8: block size is 4096 bytes
/dev/ram8: No label detected
Closed /dev/ram8
Opened /dev/ram9 RW O_DIRECT
/dev/ram9: block size is 4096 bytes
/dev/ram9: No label detected
Closed /dev/ram9
Opened /dev/ram10 RW O_DIRECT
/dev/ram10: block size is 4096 bytes
/dev/ram10: No label detected
Closed /dev/ram10
Opened /dev/ram11 RW O_DIRECT
/dev/ram11: block size is 4096 bytes
/dev/ram11: No label detected
Closed /dev/ram11
Opened /dev/ram12 RW O_DIRECT
/dev/ram12: block size is 4096 bytes
/dev/ram12: No label detected
Closed /dev/ram12
Opened /dev/ram13 RW O_DIRECT
/dev/ram13: block size is 4096 bytes
/dev/ram13: No label detected
Closed /dev/ram13
Opened /dev/ram14 RW O_DIRECT
/dev/ram14: block size is 4096 bytes
/dev/ram14: No label detected
Closed /dev/ram14
Opened /dev/ram15 RW O_DIRECT
/dev/ram15: block size is 4096 bytes
/dev/ram15: No label detected
Closed /dev/ram15
Opened /dev/cciss/c0d1p1 RW O_DIRECT
/dev/cciss/c0d1p1: block size is 1024 bytes
/dev/cciss/c0d1p1: No label detected
Closed /dev/cciss/c0d1p1
Opened /dev/cciss/c0d1p2 RW O_DIRECT
/dev/cciss/c0d1p2: block size is 4096 bytes
/dev/cciss/c0d1p2: No label detected
Closed /dev/cciss/c0d1p2
Opened /dev/cciss/c0d1p5 RW O_DIRECT
/dev/cciss/c0d1p5: block size is 512 bytes
/dev/cciss/c0d1p5: lvm2 label detected
lvmcache: /dev/cciss/c0d1p5: now in VG #orphans_lvm2 (#orphans_lvm2)
/dev/cciss/c0d1p5: Found metadata at 73216 size 1065 (in area at
4096 size 192512) for volgroup00 (JWXg8s-LW8f-bQQY-3sLc-xOqY-5nPw-KncSpV)
lvmcache: /dev/cciss/c0d1p5: now in VG volgroup00
(JWXg8sLW8fbQQY3sLcxOqY5nPwKncSpV) with 1 mdas
Using cached label for /dev/cciss/c0d0p1
Using cached label for /dev/cciss/c0d1p5
Using cached label for /dev/cciss/c0d0p1
Using cached label for /dev/cciss/c0d1p5
Read volgroup00 metadata (45) from /dev/cciss/c0d0p1 at 75264 size
1065
Using cached label for /dev/cciss/c0d0p1
Using cached label for /dev/cciss/c0d1p5
Read volgroup00 metadata (45) from /dev/cciss/c0d1p5 at 73216 size
1065
/dev/cciss/c0d0p1 0: 0 49999: vol00(0:0)
/dev/cciss/c0d1p5 0: 0 843200: NULL(0:0)
Archiving volume group "volgroup00" metadata (seqno 45).
Creating logical volume bigstore
Allowing allocation on /dev/cciss/c0d1p5 start PE 0 length 843200
/dev/cciss/c0d0p1 0: 0 49999: vol00(0:0)
/dev/cciss/c0d1p5 0: 0 786432: bigstore(0:0)
/dev/cciss/c0d1p5 1: 786432 56768: NULL(0:0)
Writing volgroup00 metadata to /dev/cciss/c0d0p1 at 76800 len 1302
Writing volgroup00 metadata to /dev/cciss/c0d1p5 at 74752 len 1302
Pre-Committing volgroup00 metadata (46) to /dev/cciss/c0d0p1 header
at 4096
Pre-Committing volgroup00 metadata (46) to /dev/cciss/c0d1p5 header
at 4096
Creating volume group backup "/etc/lvm/backup/volgroup00" (seqno 46).
Writing volgroup00 metadata to
/etc/lvm/backup/.lvm_94-76-213-52_2978_60454425
Committing volgroup00 metadata (46)
Renaming /etc/lvm/backup/volgroup00.tmp to
/etc/lvm/backup/volgroup00
Committing volgroup00 metadata (46) to /dev/cciss/c0d0p1 header at
4096
Committing volgroup00 metadata (46) to /dev/cciss/c0d1p5 header at
4096
Locking LV
JWXg8sLW8fbQQY3sLcxOqY5nPwKncSpVImOnsFqW2Bjax69eUAyY5PMpdRINMMoO (R)
Finding volume group for uuid
JWXg8sLW8fbQQY3sLcxOqY5nPwKncSpVImOnsFqW2Bjax69eUAyY5PMpdRINMMoO
Using cached label for /dev/cciss/c0d0p1
Using cached label for /dev/cciss/c0d1p5
Using cached label for /dev/cciss/c0d0p1
Using cached label for /dev/cciss/c0d1p5
Read volgroup00 metadata (46) from /dev/cciss/c0d0p1 at 76800 size
1302
Using cached label for /dev/cciss/c0d0p1
Using cached label for /dev/cciss/c0d1p5
Read volgroup00 metadata (46) from /dev/cciss/c0d1p5 at 74752 size
1302
Found volume group "volgroup00"
Getting device info for volgroup00-bigstore
dm info
LVM-JWXg8sLW8fbQQY3sLcxOqY5nPwKncSpVImOnsFqW2Bjax69eUAyY5PMpdRINMMoO NF
[16384]
dm info
JWXg8sLW8fbQQY3sLcxOqY5nPwKncSpVImOnsFqW2Bjax69eUAyY5PMpdRINMMoO NF
[16384]
dm info volgroup00-bigstore NF [16384]
Locking memory
memlock_count inc to 1
Setting activation/missing_stripe_filler to /dev/ioerror
Getting device info for volgroup00-bigstore
[LVM-JWXg8sLW8fbQQY3sLcxOqY5nPwKncSpVImOnsFqW2Bjax69eUAyY5PMpdRINMMoO]
dm info
LVM-JWXg8sLW8fbQQY3sLcxOqY5nPwKncSpVImOnsFqW2Bjax69eUAyY5PMpdRINMMoO OF
[16384]
dm info
JWXg8sLW8fbQQY3sLcxOqY5nPwKncSpVImOnsFqW2Bjax69eUAyY5PMpdRINMMoO OF
[16384]
dm info volgroup00-bigstore OF [16384]
Getting device info for volgroup00-bigstore-real
[LVM-JWXg8sLW8fbQQY3sLcxOqY5nPwKncSpVImOnsFqW2Bjax69eUAyY5PMpdRINMMoO-real]
dm info
LVM-JWXg8sLW8fbQQY3sLcxOqY5nPwKncSpVImOnsFqW2Bjax69eUAyY5PMpdRINMMoO-real
OF [16384]
dm info
JWXg8sLW8fbQQY3sLcxOqY5nPwKncSpVImOnsFqW2Bjax69eUAyY5PMpdRINMMoO-real OF
[16384]
dm info volgroup00-bigstore-real OF [16384]
Getting device info for volgroup00-bigstore-cow
[LVM-JWXg8sLW8fbQQY3sLcxOqY5nPwKncSpVImOnsFqW2Bjax69eUAyY5PMpdRINMMoO-cow]
dm info
LVM-JWXg8sLW8fbQQY3sLcxOqY5nPwKncSpVImOnsFqW2Bjax69eUAyY5PMpdRINMMoO-cow
OF [16384]
dm info
JWXg8sLW8fbQQY3sLcxOqY5nPwKncSpVImOnsFqW2Bjax69eUAyY5PMpdRINMMoO-cow OF
[16384]
dm info volgroup00-bigstore-cow OF [16384]
Getting device info for volgroup00-bigstore_mlog
[LVM-JWXg8sLW8fbQQY3sLcxOqY5nPwKncSpVImOnsFqW2Bjax69eUAyY5PMpdRINMMoO-_mlog]
dm info
LVM-JWXg8sLW8fbQQY3sLcxOqY5nPwKncSpVImOnsFqW2Bjax69eUAyY5PMpdRINMMoO-_mlog
OF [16384]
dm info
JWXg8sLW8fbQQY3sLcxOqY5nPwKncSpVImOnsFqW2Bjax69eUAyY5PMpdRINMMoO-_mlog OF
[16384]
dm info volgroup00-bigstore_mlog OF [16384]
Checking kernel supports striped segment type for bigstore
Creating volgroup00-bigstore
dm create volgroup00-bigstore
LVM-JWXg8sLW8fbQQY3sLcxOqY5nPwKncSpVImOnsFqW2Bjax69eUAyY5PMpdRINMMoO NF
[16384]
volgroup00-bigstore: Stacking NODE_ADD (254,1) 0:6 0660
Loading volgroup00-bigstore table
Adding target: 0 6442450944 linear 104:21 384
dm table (254:1) OF [16384]
dm reload (254:1) NF [16384]
device-mapper: reload ioctl failed: Invalid argument
Unlocking memory
memlock_count dec to 0
Created /dev/mapper/volgroup00-bigstore
Aborting. Failed to activate new LV to wipe the start of it.
Locking LV
JWXg8sLW8fbQQY3sLcxOqY5nPwKncSpVImOnsFqW2Bjax69eUAyY5PMpdRINMMoO (NL)
Finding volume group for uuid
JWXg8sLW8fbQQY3sLcxOqY5nPwKncSpVImOnsFqW2Bjax69eUAyY5PMpdRINMMoO
Using cached label for /dev/cciss/c0d0p1
Using cached label for /dev/cciss/c0d1p5
Using cached label for /dev/cciss/c0d0p1
Using cached label for /dev/cciss/c0d1p5
Read volgroup00 metadata (46) from /dev/cciss/c0d0p1 at 76800 size
1302
Using cached label for /dev/cciss/c0d0p1
Using cached label for /dev/cciss/c0d1p5
Read volgroup00 metadata (46) from /dev/cciss/c0d1p5 at 74752 size
1302
Found volume group "volgroup00"
Getting device info for volgroup00-bigstore
dm info
LVM-JWXg8sLW8fbQQY3sLcxOqY5nPwKncSpVImOnsFqW2Bjax69eUAyY5PMpdRINMMoO OF
[16384]
Locking memory
memlock_count inc to 1
Getting device info for volgroup00-bigstore
[LVM-JWXg8sLW8fbQQY3sLcxOqY5nPwKncSpVImOnsFqW2Bjax69eUAyY5PMpdRINMMoO]
dm info
LVM-JWXg8sLW8fbQQY3sLcxOqY5nPwKncSpVImOnsFqW2Bjax69eUAyY5PMpdRINMMoO OF
[16384]
dm deps (254:1) OF [16384]
Getting device info for volgroup00-bigstore-real
[LVM-JWXg8sLW8fbQQY3sLcxOqY5nPwKncSpVImOnsFqW2Bjax69eUAyY5PMpdRINMMoO-real]
dm info
LVM-JWXg8sLW8fbQQY3sLcxOqY5nPwKncSpVImOnsFqW2Bjax69eUAyY5PMpdRINMMoO-real
OF [16384]
dm info
JWXg8sLW8fbQQY3sLcxOqY5nPwKncSpVImOnsFqW2Bjax69eUAyY5PMpdRINMMoO-real OF
[16384]
dm info volgroup00-bigstore-real OF [16384]
Getting device info for volgroup00-bigstore-cow
[LVM-JWXg8sLW8fbQQY3sLcxOqY5nPwKncSpVImOnsFqW2Bjax69eUAyY5PMpdRINMMoO-cow]
dm info
LVM-JWXg8sLW8fbQQY3sLcxOqY5nPwKncSpVImOnsFqW2Bjax69eUAyY5PMpdRINMMoO-cow
OF [16384]
dm info
JWXg8sLW8fbQQY3sLcxOqY5nPwKncSpVImOnsFqW2Bjax69eUAyY5PMpdRINMMoO-cow OF
[16384]
dm info volgroup00-bigstore-cow OF [16384]
Getting device info for volgroup00-bigstore_mlog
[LVM-JWXg8sLW8fbQQY3sLcxOqY5nPwKncSpVImOnsFqW2Bjax69eUAyY5PMpdRINMMoO-_mlog]
dm info
LVM-JWXg8sLW8fbQQY3sLcxOqY5nPwKncSpVImOnsFqW2Bjax69eUAyY5PMpdRINMMoO-_mlog
OF [16384]
dm info
JWXg8sLW8fbQQY3sLcxOqY5nPwKncSpVImOnsFqW2Bjax69eUAyY5PMpdRINMMoO-_mlog OF
[16384]
dm info volgroup00-bigstore_mlog OF [16384]
dm info (254:1) OF [16384]
Removing volgroup00-bigstore (254:1)
dm remove (254:1) NF [16384]
volgroup00-bigstore: Stacking NODE_DEL (replaces other stacked ops)
Unlocking memory
memlock_count dec to 0
Removed /dev/mapper/volgroup00-bigstore
Unlocking LV
JWXg8sLW8fbQQY3sLcxOqY5nPwKncSpVImOnsFqW2Bjax69eUAyY5PMpdRINMMoO
Finding volume group for uuid
JWXg8sLW8fbQQY3sLcxOqY5nPwKncSpVImOnsFqW2Bjax69eUAyY5PMpdRINMMoO
Using cached label for /dev/cciss/c0d0p1
Using cached label for /dev/cciss/c0d1p5
Using cached label for /dev/cciss/c0d0p1
Using cached label for /dev/cciss/c0d1p5
Read volgroup00 metadata (46) from /dev/cciss/c0d0p1 at 76800 size
1302
Using cached label for /dev/cciss/c0d0p1
Using cached label for /dev/cciss/c0d1p5
Read volgroup00 metadata (46) from /dev/cciss/c0d1p5 at 74752 size
1302
Found volume group "volgroup00"
Getting device info for volgroup00-bigstore
dm info
LVM-JWXg8sLW8fbQQY3sLcxOqY5nPwKncSpVImOnsFqW2Bjax69eUAyY5PMpdRINMMoO NF
[16384]
dm info
JWXg8sLW8fbQQY3sLcxOqY5nPwKncSpVImOnsFqW2Bjax69eUAyY5PMpdRINMMoO NF
[16384]
dm info volgroup00-bigstore NF [16384]
/dev/cciss/c0d0p1 0: 0 49999: vol00(0:0)
/dev/cciss/c0d1p5 0: 0 786432: NULL(0:0)
/dev/cciss/c0d1p5 1: 786432 56768: NULL(0:0)
Writing volgroup00 metadata to /dev/cciss/c0d0p1 at 78336 len 1065
Writing volgroup00 metadata to /dev/cciss/c0d1p5 at 76288 len 1065
Pre-Committing volgroup00 metadata (47) to /dev/cciss/c0d0p1 header
at 4096
Pre-Committing volgroup00 metadata (47) to /dev/cciss/c0d1p5 header
at 4096
Creating volume group backup "/etc/lvm/backup/volgroup00" (seqno 47).
Writing volgroup00 metadata to
/etc/lvm/backup/.lvm_94-76-213-52_2978_601805918
Committing volgroup00 metadata (47)
Renaming /etc/lvm/backup/volgroup00.tmp to
/etc/lvm/backup/volgroup00
Committing volgroup00 metadata (47) to /dev/cciss/c0d0p1 header at
4096
Committing volgroup00 metadata (47) to /dev/cciss/c0d1p5 header at
4096
Unlocking /var/lock/lvm/V_volgroup00
Closed /dev/cciss/c0d0p1
Closed /dev/cciss/c0d1p5
On Wed, Jan 7, 2009 at 8:17 PM, Alasdair G Kergon <agk at redhat.com> wrote:
> Post the 'pvs -v' output and 'lvm version'.
>
> Try the failing lvcreate with '-vvvv' arg and grep for the deptree lines
> and
> look for 'Adding target'.
>
> Alasdair
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20090107/f46323bf/attachment-0001.htm
More information about the pkg-lvm-maintainers
mailing list