I don't recall seeing a question about LVM1 on this site. It was already obsolete by the time this site started. So for all intents and purposes lvm and lvm2 are currently equivalent.
I favor merging them, and making lvm the main tag. (Only moderators can do this.)
If an incompatible LVM3 comes...
I think (as @Gilles says) it makes sense to do a merge. Thoughts?
I do think one needs to plan ahead what should be done if lvm3 arrives.
@FaheemMitha I don't really understand what you're missing. Obviously, if lvm3 and 2 are not incompatible, we'll make them synonyms. If they are, we'll make an lvm3 tag.
I don't understand what you mean. I have merged lvm and lvm2 and made the latter a synonym of the former. This means lvm2 no longer exists and if anyone tries to use it, it will automatically be converted to lvm.
So all questions that were tagged with lvm2 are now tagged with lvm instead.
Now, if an LVM3 comes along and doesn't need its own tag, we just keep using lvm. If it does need its own tag, we can create lvm3.
@Pandya Broadcom doesn't have free software support, afaik. The usual problem is that the manufacturers don't release the specs.
You could always check with the manufacturers directly. Assuming they reply, that is.
If you get support in India, I'd hang up.
@Pandya If possible, I try to make sure that I purchase hardware that works with free software. It's usually more reliable, and often the hardware itself is better.
Of course, this isn't always possble. E.g. laptops.
@Pandya You could, but it's not necessary to go to those lengths, I think. Just research hardware before you buy it. If everyone did that, there would be less Linux hardware questions on SE.
what's the command-line alternative to install this driver? because GUI is not responding after long time and I can't see what is happening in background.
Anyone know how populist badge are awarded ? I just got one in SuperUser for a post accepted 15 month ago, and having not receive too much points recently.
In this question: First name, middle name, last name. Why not Full Name? my answer has 34 votes and the accepted answer has 10. But no sign of a Populist badge - should I have one?
Edit: The accepted answer on that question has received another upvote, so I now have the badge. But either the d...
I realise this is a vague question, but does LVM know or care what kind of device/structure it's sitting on top of? Or does it just tag it with some metadata and carry on?
vgmerge lets you merge two VGs.
You can also use pvmove to move data within a VG, and vgsplit if you want to go back to multiple VGs.
I want to copy, not move. But pvmove only moves.
I'm examining options. It seems that it might be possible to break a LVM mirror. Do you have any idea? It seems it wasn't possible once, but that might have changed.
lvconvert --splitmirrors Number VG/RaidLV
· Split images from raid1 RaidLV and use them to create a new LV.
· Requires --name for the new LV, or the use of --trackchanges.
... from the lvconvert manual
I have no idea why that guide forces the old non-md mirror; manual seems to say that it works with both.
@FaheemMitha I'm not sure if there is a way to override the default allocation policy when adding a mirror... trying to find it in the manpage. Of course, you could temporarily change the default policy.
that's the PV name and the extent numbers, I think. If you look at the next example, you can give just the PV name and let it pick its own extent numbers.
They're basically blocks for LVM. LVM stores its metadata in terms of extents. So a logical volume metadata includes a lists of PVs and the extents on each PV
Then it shouldn't be any different. The LV can contain multiple segments, each one specifies the next set of extents (and each segment can be on a different PV)
@FaheemMitha Well, mostly when I've been doing that, it's been after replacing disks... and either it's being done by mdraid or alternatively I've built a new machine, then I copy from the old one using tar...
@derobert Yes, I thought I'd let LVM do the copying bit. Because it should be able to, IMO. I could have used dd or something. But I'm not a big fan of those raw write kinds of things.
@derobert I'll try it. Thanks for the assistance. And maybe add an answer in a couple of places. This method isn't documented on SE, as far as I can see.
pvmoveis mentioned in a couple of places.
@derobert So, thoughts about test modes? Do you use loop devices or something else?
Yeah. It keeps them for (at least the settings on my system are) at least 10 archives, and any under 30 days in age
... this consumes 324K on my machine
Well, more, actually since they're in /etc and I store /etc in git. But I have no idea to ask git how much space it takes, under any of the reasonably definitions of space used in a deduplicating store.
Search for the "backup" section on your /etc/lvm/lvm.conf
BTW: I edited unix.stackexchange.com/questions/374282/… earlier today to make it clear—I think I succeeded, but it'd already been through the reopen queue so I don't think it gets another go. Needs two more votes to reopen.
I've been getting the following by email since upgrade to stretch. I'm not sure to make of it. Should I report it as a bug, or did I somehow cause it? And is it a suitable question for U&L?
ubject: Anacron job 'cron.weekly' on orwell
/etc/cron.weekly/dhelp:
/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- bdb (LoadError)
from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/lib/ruby/vendor_ruby/dhelp.rb:21:in `<top (required)>'
from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'