Displaying 20 results from an estimated 62 matches for "pvdisplay".
Did you mean:
lvdisplay
2008 Aug 17
0
Confusing output from pvdisplay
/dev/md3 is a raid5 array consisting of 4*500Gb disks
pvs and pvscan both display good info:
% pvscan | grep /dev/md3
PV /dev/md3 VG RaidDisk lvm2 [1.36 TB / 0 free]
% pvs /dev/md3
PV VG Fmt Attr PSize PFree
/dev/md3 RaidDisk lvm2 a- 1.36T 0
But pvdisplay...
% pvdisplay /dev/md3
--- Physical volume ---
PV Name /dev/md3
VG Name RaidDisk
PV Size 1024.00 GB / not usable 8192.00 EB
Allocatable yes (but full)
PE Size (KByte) 4096
Total PE 357702
Free...
2012 Aug 11
8
Pass array to a define
...I pass an array to a define? It''s not documented in the puppet
language guide.
I''ve got:
define lvm::create_vg ( $pvdisks ) {
exec {
''pvcreate'':
command => "/sbin/pvcreate -yf $pvdisks",
unless => "/sbin/pvdisplay $pvdisks",
...
}
}
class someclass {
lvm::create_vg {
''bcvg01'':
pvdisks => [''/dev/xvdb1'', ''/dev/xvdc1''];
}
}
Inside the define, $pvdisks gets expanded to ''/dev/xvdb1/dev/xvdc1'...
2018 Mar 14
2
ISCSI target + LVM Problem
Hello, thanks for the help.
Yes
And the commands to discovery iscsi results ok
Such
iscsiadm --mode discovery --type sendtargets
And
scsiadm -m node -T
And the disks appear on pvdisplay
2018-03-14 16:23 GMT-03:00 Marcelo Roccasalva <
marcelo-centos at irrigacion.gov.ar>:
> On Wed, Mar 14, 2018 at 4:08 PM, marcos sr <msr.mailing at gmail.com> wrote:
> >
> > Hello,
> >
> > I have a LVM with 2 ISCSI disk mounted. The partition started present...
2018 Mar 14
2
ISCSI target + LVM Problem
Hello,
I have a LVM with 2 ISCSI disk mounted. The partition started presents
problem such " i/o error". I unmounted the device, and restarted target
server in scsi, wich as having some problems. After that i mapped iscsi and
trying to mount partition again but:
When i run the pvdisplay i get the following erro:
read failed after 0 of 4096 at 0: Input/output error
And cannot mount partition.
2012 Mar 13
1
udev works ok in CentOS 6.x??
...quot;
When udev starts, it seems it works:
[root at cossrv01 rules.d]# ls -la /dev/iscsi/sda
brw-rw---- 1 root disk 8, 16 Mar 12 11:42 /dev/iscsi/sda
After this, I try to create a lvm volume:
[root at cossrv01 rules.d]# pvcreate /dev/iscsi/sda
... and works. But:
[root at cossrv01 rules.d]# pvdisplay
--- Physical volume ---
PV Name /dev/sdb
VG Name cmdata
PV Size 64.00 GiB / not usable 4.00 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 16382
Free PE 12542
Allocated PE 3840
P...
2008 Jul 17
2
lvm errors after replacing drive in raid 10 array
...th uuid 'yIIGF9-9f61-QPk8-q6q1-wn4D-iE1x-MJIMgi'.
Couldn't find all physical volumes for volume group vg0.
Volume group for uuid not found:
I4Gf5TUB1M1TfHxZNg9cCkM1SbRo8cthCTTjVHBEHeCniUIQ03Ov4V1iOy2ciJwm
Aborting. Failed to activate snapshot exception store.
So then I try
# pvdisplay
--- Physical volume ---
PV Name /dev/md3
VG Name vg0
PV Size 903.97 GB / not usable 3.00 MB
Allocatable yes
PE Size (KByte) 4096
Total PE 231416
Free PE 44536
Allocated PE 186880...
2013 Dec 04
2
Found duplicate PV
...b2[1] sda2[0]
1465031488 blocks [2/2] [UU]
...
this raid partition has a lvm physical volume with one volume group and several logical volumes. This machine is running since years and I seldom touch the lvm config. The lvm commands are giving me strange warnings I am uncomfortable with
...
# pvdisplay
Found duplicate PV b79x0kLXR9mAC0z0IZUxyJG1VC24Crl7: using /dev/sda2 not /dev/md1
--- Physical volume ---
PV Name /dev/sda2
VG Name vg_sys
PV Size 1.36 TB / not usable 6.81 MB
Allocatable yes
PE Size (KByte) 32768
Total PE...
2012 Jan 17
1
[CentOS] VirtIO disk 'leakage' across guests?
...9; model='selinux' relabel='yes'>
<label>system_u:system_r:svirt_t:s0:c876,c1002</label>
<imagelabel>system_u:object_r:svirt_image_t:s0:c876,c1002</imagelabel>
</seclabel>
</domain>
virsh #
The second guest, sshpipe, shows this for pvdisplay:
[root at sshpipe ~]# pvdisplay
Couldn't find device with uuid
umrIn6-Np0c-NC4Z-MuUo-5TBj-IKRE-XBU0De.
--- Physical volume ---
PV Name /dev/vda2
VG Name vg_vm_centos_6
PV Size 7.32 GiB / not usable 3.00 MiB
Allocatable yes (but fu...
2010 Oct 25
2
interesting kvm lvm collision issue
...the
VolGroup01 I created _within_ the virtual machine, so I now have 2
VolGroup01's with different UUIDs showing up on dom0.
Now I can see how vgscan would mistakenly see the VolGroup01 of sys1 on the
block device lv.sys1-data, but why are the VolGroup00 vg's not colliding as
well?
When a pvdisplay is run, I have a new "physical volume" that is actually
just a logical volume of the original VolGroup01:
[root at iain2 ~]# pvdisplay
WARNING: Duplicate VG name VolGroup01: Existing
FNiKc9-BB3t-ziMg-prWW-n8RA-OMzk-obiKnf (created here) takes precedence over
C8fNMV-aeSW-syIn-fWJZ-vJdK-...
2014 Jul 16
1
anaconda, kickstart, lvm over raid, logvol --grow, centos7 mystery
...size: 640MB short
Could anyone shed some light ?
P.S.
"after --maxsize install"
=========================
If i limit root logvol with --maxsize=13164, after installation i get 640MB of free space (20 Free PE).
Missing 640Mb is free according to lvm :
[root at c7-pxe-install ~]# pvdisplay
--- Physical volume ---
PV Name /dev/md1
VG Name vg0
PV Size 15.49 GiB / not usable 22.88 MiB
Allocatable yes
PE Size 32.00 MiB
Total PE 495
>>>>>>>>>>Free PE...
2008 Mar 16
8
Un Installing a hard drive in a Centos 5.1 box
Hi Guys,
I'm fairly new to Linux and I'm trying to un install a hard drive from my Centos 5.1 box running KDE. When I built the PC, I installed two 500 gig maxtors in the tower, then I installed Centos. Now I've decided that I want to remove the slave drive and use it as an external backup drive - I am mounting it into one of those external drive cases with a built in fan.
When I
2012 May 23
1
pvcreate limitations on big disks?
...24 x 1T
disks) and making a big RAID60 out of it which Linux cannot make a
filesystem on, I'm created 4 x RAID6 which each are 3.64T
I then do :
sfdisk /dev/sd{b,c,d,e} <<EOF
,,8e
EOF
to make a big LVM partition on each one.
But then when I do :
pvcreate /dev/sd{b,c,d,e}1
and then
pvdisplay
It shows each one as only half its actual size.
But if I take the last one and wipe the partition table and just do
pvcreate on the entire disk, it works
pvcreate /dev/sde
And then if I take the results from that and use the size to force a
size on another PV I get it right too
pvcreate /dev/s...
2017 Feb 22
2
how to resize a partition of a disk define as a physical volume
I should have added the output of pvs:
[root ~]# pvs
PV VG Fmt Attr PSize PFree
/dev/xvda2 cl_vm731611 lvm2 a-- 9.00g 0
PFree still show 0. It should show 5g.
Also:
[root ~]# pvdisplay /dev/xvda2
--- Physical volume ---
PV Name /dev/xvda2
VG Name cl_vm731611
PV Size 9.00 GiB / not usable 2.00 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 2303
Free PE 0
Allocat...
2011 Jun 14
0
OT: clear error from premature disk removal from LVM
...other messages
which don't seem helpful):
May 19 16:27:28 xxxx kernel: sd 1:0:2:0: Attached scsi disk sdd
Later on, when trying to run parted or friends, I see messages like so:
May 23 11:22:47 xxxx kernel: scsi 1:0:2:0: rejecting I/O to dead device
(note the same scsi address as sdc?)
And pvdisplay says:
# pvdisplay
/dev/testVG/testLV: read failed after 0 of 4096 at 0: Input/output error
That looks bad--it seems like testLV is trying to find the old LVM on
/dev/sdc, but the array on sdd is there instead. Worse, I fear that
trying to manipulate sdd may cause problems in the future, so am...
2013 Feb 04
3
Questions about software RAID, LVM.
...p? Will it grow when the RAID
array grows? Or should I leave /dev/md1 its current size and create a
new RAID array and add this as a second PV and grow the Volume Group
that way? The documentation is not clear as to what happens -- the VG
is marked 'resisable'.
sauron.deepsoft.com% sudo pvdisplay
--- Physical volume ---
PV Name /dev/md1
VG Name sauron
PV Size 148.09 GB / not usable 768.00 KB
Allocatable yes
PE Size (KByte) 4096
Total PE 37911
Free PE 204
Allocated PE 37707
PV U...
2014 Oct 05
1
CentOS 7 - Have 2 disks, each with a biosboot partition, can only boot off one of them
...generate the
same error. I tried specifying the device:
0 root at an-nas02:~# df -hP |grep boot
/dev/mapper/an--nas02_vg0-lv_boot 506M 133M 373M 27% /boot
0 root at an-nas02:~# lvdisplay /dev/an-nas02_vg0/lv_boot |grep VG
VG Name an-nas02_vg0
0 root at an-nas02:~# pvdisplay /dev/md0 | grep -e "VG Name" -e "PV Name"
PV Name /dev/md0
VG Name an-nas02_vg0
0 root at an-nas02:~# cat /proc/mdstat |grep md0
md0 : active raid1 sdg2[1] sdh2[0]
0 root at an-nas02:~# ls -lah /dev/mapper/an--nas02_vg0-lv_boot
lrwxrwxrw...
2017 Apr 08
2
lvm cache + qemu-kvm stops working after about 20GB of writes
...mdXXX && mdadm --create
--verbose ${ssdraiddevice} --level=mirror --bitmap=none --raid-devices=2
${ssddevice1} ${ssddevice2}
# create PV and extend VG
pvcreate ${ssdraiddevice} && vgextend ${VGBASE} ${ssdraiddevice}
# create slow LV on HDDs (use max space left if you want)
pvdisplay ${hddraiddevice}
lvcreate -lXXXX -n cachedlv ${VGBASE} ${hddraiddevice}
# create the meta and data: for testing purposes I keep about 20G of the
SSD for a uncached lv. To rule out it is not the SSD.
lvcreate -l XX -n testssd ${VGBASE} ${ssdraiddevice}
#The rest can be used as cachedata/metada...
2009 Jan 15
8
Can you convert Windows LVM domU to sparse img file?
I have a Windows 2000 domU running in an LVM partition. I need to move
it to another host, but none of my other xen servers have lvm or free
space to create an lvm. So I''d like to convert it to a sparse img file.
The file system in the domU is ntfs.
Can anyone suggest how to do this?
Thanks,
James
_______________________________________________
Xen-users mailing list
2010 Feb 28
3
puzzling md error ?
...pgdata_lss_idx vg1 -wi-ao 20.00G
pgdata_lss_tab vg1 -wi-ao 20.00G
swapper vg1 -wi-ao 3.00G
vmware vg1 -wi-ao 50.00G
# pvdisplay /dev/md10 /dev/md11
--- Physical volume ---
PV Name /dev/md10
VG Name vg1
PV Size 136.73 GB / not usable 2.31 MB
Allocatable yes
PE Size (KByte) 4096
Total PE 35003
Free PE 1998
Allocated PE...
2008 Jun 25
6
dm-multipath use
Are folks in the Centos community succesfully using device-mapper-multipath?
I am looking to deploy it for error handling on our iSCSI setup but there
seems to be little traffic about this package on the Centos forums, as far
as I can tell, and there seems to be a number of small issues based on my
reading the dm-multipath developer lists and related resources.
-geoff
Geoff Galitz
Blankenheim