Author |
Message |
williepabon
Joined: 16 Sep 2013 Posts: 64 Location: Puerto Rico(USA)
|
Posted: Mon 25 Aug 2014, 13:40 Post subject:
How to mount an LVM2 filesystem? (Solved) |
|
Hi:
I was triying to troubleshoot a laptop using my PupRescue stick and found out that my Puppy wasn't able to mount an LVM2 partition. So, I had to stop the activity. Is there an update for Puppy that solves this problem? Thanks.
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 11889 Location: Stratford, Ontario
|
Posted: Mon 25 Aug 2014, 13:50 Post subject:
|
|
Try here.
|
Back to top
|
|
 |
williepabon
Joined: 16 Sep 2013 Posts: 64 Location: Puerto Rico(USA)
|
Posted: Mon 25 Aug 2014, 16:05 Post subject:
|
|
@rcrsn51:
Sorry, I get an error when I try to download from the url you suggested. Are there alternative locations? Thanks.
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 11889 Location: Stratford, Ontario
|
Posted: Mon 25 Aug 2014, 16:25 Post subject:
|
|
williepabon wrote: | Are there alternative locations? |
You would have to ask tempestuous.
|
Back to top
|
|
 |
tempestuous
Joined: 10 Jun 2005 Posts: 5468 Location: Australia
|
Posted: Mon 25 Aug 2014, 20:34 Post subject:
|
|
LVM dotpet now uploaded to new location. Details here -
http://www.murga-linux.com/puppy/viewtopic.php?p=483667#483667
|
Back to top
|
|
 |
williepabon
Joined: 16 Sep 2013 Posts: 64 Location: Puerto Rico(USA)
|
Posted: Mon 25 Aug 2014, 21:03 Post subject:
|
|
Thank @tempestuous and @rcrsn51. Found the file and installed it. After installation, do I have to do anything else? Because still, the LVM partition doesn't show in the list of mounted drives. Thanks for your help.
wp
|
Back to top
|
|
 |
tempestuous
Joined: 10 Jun 2005 Posts: 5468 Location: Australia
|
Posted: Tue 26 Aug 2014, 11:17 Post subject:
|
|
williepabon wrote: | After installation, do I have to do anything else? |
Ooh yes. LVM setup is non-trivial.
I provided the LVM utilities as part of my RAID forum thread, thinking that some RAID configurations might require LVM ... however ...
I don't actually know anything about LVM/LVM2 myself.
But your query has prompted me to do a bit of reading about LVM, mainly from these 2 links -
http://www.linuxquestions.org/questions/fedora-35/how-can-i-mount-lvm-partition-in-ubuntu-569507/#post4509822
http://superuser.com/questions/116617/how-to-mount-an-lvm-volume
Here's what I THINK you need to do:
First load the dm-mod driver -
Scan your system for LVM volumes and identify in the output the volume group name that contains the volume you need -
It will be something like "VolGroup00"
Activate the volume group you just identified -
Code: | vgchange -ay VolGroup00 |
Find the logical volume that has the files you wish to access -
This will list logical volumes. The result(s) will be something like "LogVol00"
Create a mountpoint for your LVM partition. The aforementioned links suggest /mnt/fcroot
but I would think that something like /mnt/lvm would be more intuitive. It's your choice.
Finally mount the logical volume -
Code: | mount /dev/VolGroup00/LogVol00 /mnt/lvm |
Obviously replace "VolGroup00" and "LogVol00" with your own values.
Now you can access your newly mounted LVM volume at /mnt/lvm
|
Back to top
|
|
 |
williepabon
Joined: 16 Sep 2013 Posts: 64 Location: Puerto Rico(USA)
|
Posted: Tue 26 Aug 2014, 12:09 Post subject:
|
|
@tempestuous:
Thanks for answering. I really appreciate your effort to provide a thorough answer to my request, and as you say, this is no trivial matter. In my ignorance I thought it would be a simple app that would run like a daemon, that would detect LVM partitions and would mount them accordingly. You see, I have a PupRescue memory stick that I use to troubleshoot computers, and lately, I've encountered some with LVM partitions. I was looking for a utility that I install on my stick to do the job of detecting and installing LVM partitions. Thank you for your enlightment on this matter and showing me that this is not as simple as I thought. Your diligence on this issue is sincerely appreciated.
wp
|
Back to top
|
|
 |
darkcity

Joined: 23 May 2010 Posts: 2545 Location: near here
|
Posted: Sun 21 Aug 2016, 15:30 Post subject:
|
|
Information now at http://puppylinux.org/wikka/LVM/.
_________________ helping Wiki for help
|
Back to top
|
|
 |
|