Re: [linux-lvm] indistinguishable column names ( BA Start Start Start Start )

2023-08-21 Thread Marian Csontos
Hi Roland, is `lvs --reportformat json` or `lvs --nameprefixes` good enough? On Sat, Aug 19, 2023 at 6:06 PM Roland wrote: > > furthermore, it's a little bit weird that some columns being printed > by default when using -o, is > > there an easier way to remove those besides explictly removing

Re: [linux-lvm] Need information

2022-02-22 Thread Marian Csontos
Check `dmsetup udevcookies` output. lvcreate may be waiting for udev process which timed out - check the syslog. You can forcefully complete a transaction by `dmsetup udevcomplete ` On Tue, Feb 22, 2022 at 11:06 AM Zdenek Kabelac wrote: > Dne 21. 02. 22 v 12:00 Gk Gk napsal(a): > > Hi, > > > > I

Re: [linux-lvm] LVM performance vs direct dm-thin

2022-02-01 Thread Marian Csontos
On Sun, Jan 30, 2022 at 11:17 PM Demi Marie Obenour < d...@invisiblethingslab.com> wrote: > On Sun, Jan 30, 2022 at 04:39:30PM -0500, Stuart D. Gathman wrote: > > Your VM usage is different from ours - you seem to need to clone and > > activate a VM quickly (like a vps provider might need to do).

Re: [linux-lvm] LVM PV UUID problem

2020-10-12 Thread Marian Csontos
On 10/9/20 5:39 PM, Mark H. Wood wrote: On Fri, Oct 09, 2020 at 11:18:38AM -0400, Digimer wrote: On 2020-10-09 10:43 a.m., Zdenek Kabelac wrote: Dne 09. 10. 20 v 15:12 Digimer napsal(a): Hi all,    I'm storing LVM information in a postgres database, and wanted to use the UUID from the PVs /

Re: [linux-lvm] how often does lvm team update source code in ftp site

2020-08-10 Thread Marian Csontos
On 8/10/20 11:36 AM, heming.z...@suse.com wrote: Hello, I have a question about the release freq. The lvm2 2.03.10 tag had been created on yesterday But in ftp site: ftp://sources.redhat.com/pub/lvm2/releases > The latest lvm2 version is 2.03.05. Hi, seems something went wrong with syncing so

Re: [linux-lvm] probable lvm thin_pool exhaustion

2020-03-18 Thread Marian Csontos
On 3/11/20 6:24 PM, mai...@maiski.net wrote: Hello all, i am a total newbie besides the general knowledge of lvm. With this disclaimer written I have the following problem, which may def need some expert knowledge of lvm, because i couldn't find solutions online for now :/ I am booting my syst

Re: [linux-lvm] metadata device too small

2020-01-13 Thread Marian Csontos
On 1/11/20 11:07 PM, Ede Wolf wrote: Is there any way to make the data accessible again? lvm2 2.02.186 lvm2 version is not that important in this case, you will want to try a newer thin-provisioning-tools package. I see the newest version in Ubuntu is 0.7.6 while upstream is at 0.8.5 with

Re: [linux-lvm] Best way to run LVM over multiple SW RAIDs?

2019-12-09 Thread Marian Csontos
On 12/9/19 11:26 AM, Daniel Janzon wrote: The origin of my problem is indeed the poor performance of RAID5, which maxes out the single core the driver runs on. But if I accept that as a given, the next problem is LVM striping. Since I do get 10x better What stripesize was used for striped L

Re: [linux-lvm] bcache now to become io-manager?

2019-10-30 Thread Marian Csontos
On 10/30/19 1:25 AM, John Stoffel wrote: "Joe" == Joe Thornber writes: [ I saw this and couldn't resist asking for more details ...] Joe> Also there are big changes to bcache coming, that remove file Joe> descriptors from the interface completely. See the branch Joe> 2019-09-05-add-io-manage

Re: [linux-lvm] Which lvm2 code branches are important?

2019-07-24 Thread Marian Csontos
WHATS_NEW is now a link to the newest branch (2.03 ATM): ftp://sources.redhat.com/pub/lvm2/WHATS_NEW ftp://sources.redhat.com/pub/lvm2/WHATS_NEW_DM -- Marian Thanks Gang -Original Message- From: linux-lvm-boun...@redhat.com [mailto:linux-lvm-boun...@redhat.com] On Behalf Of Marian

Re: [linux-lvm] Which lvm2 code branches are important?

2019-07-10 Thread Marian Csontos
On 7/10/19 8:42 AM, Gang He wrote: Hello List, After you clone the code from git://sourceware.org/git/lvm2.git, you can find lots of remote code branches. But which code branches are important for the third party users/ developer? That means we should monitor these code branches. For example,

Re: [linux-lvm] "Unknown feature in status" message when running lvs/lvdisplay against cached LVs

2019-07-08 Thread Marian Csontos
On 7/5/19 11:20 AM, Gang He wrote: Hi Guys, I uses lvm2-2.02.180, I got an error message when running lvs/lvdisplay against cached LVs. e.g. linux-v5ay:~ # lvs Unknown feature in status: 8 1324/8192 128 341/654272 129 151 225 1644 0 341 0 3 metadata2 writethrough no_discard_passdown 2 migra

Re: [linux-lvm] how to copy a snapshot, or restore snapshot without deleting it

2019-01-03 Thread Marian Csontos
On 1/3/19 5:46 AM, Davis, Matthew wrote: Hi, I want to restore a snapshot without deleting the snapshot. Hi, I think this should be possible using thin snapshots - snapshot the snapshot you want to restore, and merge the snapshot - may be not perfect, but it is at least possible. This is fas

Re: [linux-lvm] How to upgrade LVM2/CLVM to v2.02.180 from old versions

2018-08-05 Thread Marian Csontos
On 08/03/2018 11:40 AM, Gang He wrote: Hello List, I want to upgrade LVM2/CLVM to v2.02.180 from v2.02.120, but there are some problems which I want to confirm with you guys. 1) How to migrate /etc/lvm/lvm.conf? since the existing configuration file does not include some new attributes, could

Re: [linux-lvm] How to get a list of all logical groups or volumes using dbus API

2018-06-21 Thread Marian Csontos
On 06/21/2018 09:26 AM, Michael Lipp wrote: Hi, I searched, but I cannot find the "root hook". Using the Manager interface, I can lookup a LV if I have some id (LookUpByLvmId). But how can I achieve the same results as vgs/lvs using the dbus API? I *could* get the list of paths and pattern match

Re: [linux-lvm] pvmove does not work at all with version 2.02.177(2)

2018-06-11 Thread Marian Csontos
On 06/11/2018 08:13 AM, Gang He wrote: Hi Martian, On 2018/5/30 at 18:37, in message <2397dd2b-deef-2bf2-47ca-51fb6f880...@redhat.com>, Marian Csontos wrote: On 05/30/2018 11:23 AM, Gang He wrote: Hello List, As you know, I ever reported that lvcreate could not create a mirrored LV

Re: [linux-lvm] Check of pool ernie/cache failed (status:1). Manual repair required!

2018-06-05 Thread Marian Csontos
On 06/04/2018 01:50 PM, Dennis Schridde wrote: Hello! On Tuesday, 15 May 2018 13:15:55 CEST Zdenek Kabelac wrote: To get direct access to metadata - you could use your latest lvm2 2.02.177 build (or even 'git master'). In these recent versions there is added support to activate directly these '

Re: [linux-lvm] Device XXX excluded by a filter - why??

2018-05-30 Thread Marian Csontos
On 05/23/2018 05:53 PM, Wyllys Ingersoll wrote: Using the following lvm2 version on Ubuntu 16.04.3 running kernel 4.16.03 LVM version: 2.02.176(2) (2017-11-03) Library version: 1.02.145 (2017-11-03) Driver version: 4.37.0 ceph-volume attempts to create a VG on a raw block device to

Re: [linux-lvm] [RELEASE] 2.02.178

2018-05-30 Thread Marian Csontos
On 05/25/2018 09:45 AM, Gang He wrote: Hello Joe, When will the formal LVM 2.02.178 be released? Within two weeks. I have pushed the RC1 to rawhide, and unless problems are reported, we will be releasing shortly. In LVM2.02.178, online pvmove can work well under the cluster environment?

Re: [linux-lvm] pvmove does not work at all with version 2.02.177(2)

2018-05-30 Thread Marian Csontos
On 05/30/2018 11:23 AM, Gang He wrote: Hello List, As you know, I ever reported that lvcreate could not create a mirrored LV, the root cause is a configure building item "--enable-cmirrord" was missed. Now, I encounter another problem, pvmove does not work at all. The detailed information/proce

Re: [linux-lvm] inconsistency between thin pool metadata mapped_blocks and lvs output

2018-05-11 Thread Marian Csontos
On 05/11/2018 10:21 AM, Joe Thornber wrote: On Thu, May 10, 2018 at 07:30:09PM +, John Hamilton wrote: I saw something today that I don't understand and I'm hoping somebody can help. We had a ~2.5TB thin pool that was showing 69% data utilization in lvs: # lvs -a LVV

Re: [linux-lvm] unable to exclude LVs using global_filter

2018-01-02 Thread Marian Csontos
On 01/02/2018 04:35 PM, Gordon Messmer wrote: On 01/02/2018 03:03 AM, Marian Csontos wrote: Filters accept any device if any of it's "names" (all symbolic links) is matched by an a pattern ("a|.*/|" in your case) and matches no previous r pattern I don't follow

Re: [linux-lvm] unable to exclude LVs using global_filter

2018-01-02 Thread Marian Csontos
On 01/02/2018 07:47 AM, Gordon Messmer wrote: I'd like to avoid scanning LVs, and I thought I'd set global_filter appropriately.  The following logs show global_filter set to reject ^/dev/VolGroup/vm_, but the system is scanning /dev/VolGroup/vm_wiki_data.  Any hints as to what I'm doing wrong?

Re: [linux-lvm] addendum [was: lvmdbusd failure(s) at ubuntu ]

2017-12-11 Thread Marian Csontos
On 12/11/2017 03:27 AM, Oliver Rath wrote: Hi list, trying to compile lvm2 with these flags: ./configure --enable-lvmetad --enable-lvmpolld --enable-dmfilemapd --enable-applib --enable-cmdlib --enable-dbus-service --enable-notify-dbus --enable-python3_bindings make .. make install .. warning:

Re: [linux-lvm] lvmdbusd failure(s) at ubuntu

2017-12-11 Thread Marian Csontos
On 12/11/2017 02:53 AM, Oliver Rath wrote: Hi list, Im playing around with the dbus-daemon, which shows me some strange behaviours: * lvmdbusd doesnt run with the message # lvmdbusd Traceback (most recent call last):   File "/sbin/lvmdbusd", line 13, in     from lvmdbusd

Re: [linux-lvm] Problem with mount QNAP disks in Linux

2017-06-12 Thread Marian Csontos
On 06/01/2017 01:35 PM, Daniel Łaskowski wrote: Hello, I'm trying mount three disks from QNAP TS-469L in Linux (Fedora 25). System correctly recognised disks and RAID5, but I have problem with activate LVM with data. ... $ sudo vgs VG #PV #LV #SN Attr VSize VFree vg1 1

Re: [linux-lvm] configure fail with option --enable-notivy-dbus

2017-05-11 Thread Marian Csontos
On 05/11/2017 09:01 AM, Oliver Rath wrote: Hi list, configuring lvm2 failed with --enable-notify-dbus option, but unfortunatly without no konkrete error-message: $ ./configure --enable-lvmetad --enable-lvmpolld --enable-udev_sync --enable-udev_rules --enable-applib --enable-cmdlib --enable-dbus

Re: [linux-lvm] stripped LV with segments vs one segment

2017-04-11 Thread Marian Csontos
On 04/10/2017 04:27 PM, lejeczek wrote: On 10/04/17 13:27, Marian Csontos wrote: On 04/10/2017 01:16 PM, lejeczek wrote: I had 3 stripe LV, you know, three PVs, and wanted the LV to have 4 stripes, wanted to add 4th PV, you can see it from above lvdisplay. What you want is "reshape

Re: [linux-lvm] stripped LV with segments vs one segment

2017-04-11 Thread Marian Csontos
On 04/10/2017 03:35 PM, lejeczek wrote: On 10/04/17 13:27, Marian Csontos wrote: On 04/10/2017 01:16 PM, lejeczek wrote: I had 3 stripe LV, you know, three PVs, and wanted the LV to have 4 stripes, wanted to add 4th PV, you can see it from above lvdisplay. What you want is "reshape

Re: [linux-lvm] stripped LV with segments vs one segment

2017-04-10 Thread Marian Csontos
On 04/10/2017 01:16 PM, lejeczek wrote: I had 3 stripe LV, you know, three PVs, and wanted the LV to have 4 stripes, wanted to add 4th PV, you can see it from above lvdisplay. What you want is "reshape" not extend. This was committed as RAID feature to 2.02.169, but it is still somewhat expe

Re: [linux-lvm] Underlying physical volume resized?!

2016-11-17 Thread Marian Csontos
On 11/15/2016 03:27 PM, Gionatan Danti wrote: Dear all, I have a question about a warning message LVM is showing. I am using CentOS 6.8 x86_64. Here is my pvs/vgs/lvs configuration: pvs: PV VG Fmt Attr PSize PFree /dev/sda2 vg lvm2 a--u 9,51g0 /dev/sda3 vg lvm2 a--

Re: [linux-lvm] pvmove and filesystem - un/mount?

2016-07-11 Thread Marian Csontos
On 07/08/2016 11:03 AM, lejeczek wrote: On 07/07/16 19:10, Jarkko Oranen wrote: On 07/07/16 19:01, lejeczek wrote: hi users, must be an easy one - what should be(is allowed to do) filesystem doing while there is a pvmove(failed hard disk) taking place in underlying LV? many thanks, Hi,

Re: [linux-lvm] Unable to find device with UUID XXX.

2016-05-23 Thread Marian Csontos
On 05/18/2016 09:44 PM, Brian McCullough wrote: This is not looking good. No, it is not :-( ... This is a Seagate ( as you can see ) packaged USB external drive. With these errors, would it be worthwhile trying to extract the drive from the case and try it either internally or in another

Re: [linux-lvm] Unable to find device with UUID XXX.

2016-05-18 Thread Marian Csontos
On 05/18/2016 02:22 AM, Brian McCullough wrote: I have an issue that I hope that the group can save me from. I have found the Thin discussions interesting, but I am still doing the Thick thing. OK, I had a drive that started to cause problems, would not boot without fsck, etc., and decided to

Re: [linux-lvm] Thin Pool Performance

2016-04-28 Thread Marian Csontos
On 04/20/2016 09:50 PM, shankha wrote: Chunk size for lvm was 64K. What's the stripe size? Does 8 disks in RAID5 mean 7x data + 1x parity? If so, 64k chunk cannot be aligned with RAID5 stripe size and each write is potentially rewriting 2 stripes - rather painful for random writes as this me

Re: [linux-lvm] Accessing LVM cache origin

2016-01-22 Thread Marian Csontos
On 01/20/2016 12:23 AM, Daniel Leong wrote: Hello, I'm struggling to find information about lvmcache recovery after the cache fails. Is it possible to access an LVcache origin if the PV for the cache has failed? If I try partial mode : lvchange -a y -P fedora/home Then it just hangs. If I