Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-27-2012, 09:59 AM
|
#1
|
LQ Newbie
Registered: Mar 2012
Posts: 11
Rep: 
|
what does "Wiping cache of LVM-capable devices" mean in pvs?
Hi, I am trying to find the meaning behind "Wiping cache of LVM-capable devices" in pvs. As I understand it (and as man says) pvs is a report about physical volumes. When you do a verbose listing for all (pvs -av) you get this message at the beginning. There is very little info that I can find on the LVM cache, what exactly is the LVM caching? Is it data regarding the LVM's and each "cache flush" rebuilds some sort of database? Am I affecting my volumes using pvs?
|
|
|
04-28-2012, 10:35 PM
|
#2
|
Member
Registered: Jan 2011
Location: Planet Earth, Australia, NSW
Distribution: GNOME openSUSE Leap/Ubuntu
Posts: 196
Rep:
|
removed oops.
Last edited by polpak; 04-28-2012 at 10:36 PM.
|
|
|
04-29-2012, 08:04 AM
|
#3
|
LQ Newbie
Registered: Mar 2012
Posts: 11
Original Poster
Rep: 
|
re: what does "Wiping cache of LVM-capable devices" mean in pvs?
Nothing but an oops so far? Its great that my question is #2 on Google for "Wiping cache of LVM-capable devices", now perhaps we can get some information? 
|
|
|
04-30-2012, 05:29 AM
|
#4
|
Member
Registered: Jan 2011
Location: Planet Earth, Australia, NSW
Distribution: GNOME openSUSE Leap/Ubuntu
Posts: 196
Rep:
|
The wikipedia artile:
http://en.wikipedia.org/wiki/Logical...er_%28Linux%29
includes reference tp :
http://www.markus-gattol.name/ws/lvm.html
This seems provide good explanation of LVM, with various images and examples :-)
Quote:
LVM Components
With Linux, the LVM is structured in three elements:
Volumes: physical and logical volumes and volume groups
Extents: physical and logical extents
Device mapper: the Linux kernel module
|
Quote:
vgscan - Scan all disks for volume groups and rebuild caches.
|
Quote:
Lines 99 to 103 show another quite interesting/important command — vgscan scans all disks for volume groups and rebuilds caches. Here is the rationale for line 99: I am using an external USB (Universal Serial Bus) HDD (Hard Disk Drive) for this article i.e. what can be seen in line 13 to 15 are physical partitions on this HDD. Since I turn this HDD off over night (I went to bed between lines 98 and 99 i.e. turned off the external HDD and subnotebook), I need to issue vgscan in order to rescan for VGs — otherwise only vg0 on my subnotebook would be known to the system.
|
Am NON-technical, so my guess, reads as though cache refers to data-block addresses stored in cache=memory needing be refreshed from time to time so as to keep track of where everything is. Add a new computer with HD's required LVM learning where in new pc all the components were, then storing their address details in memory to enable speedy access.
Guess, wiping the cache means replacing current LV Memory using new scan results of where everything is stored.
.
|
|
|
04-30-2012, 01:09 PM
|
#5
|
LQ Newbie
Registered: Mar 2012
Posts: 11
Original Poster
Rep: 
|
thanks polpak, I appreciate the effort but I too came to the same guess more or less, I was mostly hoping for confirmation that I am indeed not affecting the LVM's, seeing a "wiping" message make some people nervous 
|
|
|
All times are GMT -5. The time now is 05:35 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|