Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Mount LVM?
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Mount LVM?
30th Jun, 2013, 02:09 PM
Post: #1
Segfault Offline
Registered
Posts: 4
Joined: Jun 2013
Reputation: 0
Mount LVM?
I have two HDD's from my old media server (motherboard shorted) attached from my raspberry pi but I'm having trouble mounting them because I used an LVM. I've tried

Code:
apt-get install lvm2
as root to no avail. Here's the terminal output logs.

Terminal
Setting up lvm2 (2.02.95-7+rpi1) ...
[....] Setting up LVM Volume Groups... Couldn't find device with uuid 7rHCnY-MQy7-f1QP-A0lv-B3CJ-IvkI-rgIv5I.
Couldn't find device with uuid 7rHCnY-MQy7-f1QP-A0lv-B3CJ-IvkI-rgIv5I.
Refusing activation of partial LV Media. Use --partial to override.
failed.
update-initramfs: deferring update (trigger activated)
insserv: Service mountdevsubfs has to be enabled to start service lvm2
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing lvm2 (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for initramfs-tools ...
update-initramfs: Not updating initramfs.
Errors were encountered while processing:
lvm2
E: Sub-process /usr/bin/dpkg returned an error code (1)

Any help with this would be greatly appreciated.
Find all posts by this user
Quote this message in a reply
1st Jul, 2013, 12:04 PM
Post: #2
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: Mount LVM?
Terminal

insserv -f /etc/init.d/mountdevsubfs.sh
dpkg --configure lvm2

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
2nd Jul, 2013, 01:08 AM
Post: #3
Segfault Offline
Registered
Posts: 4
Joined: Jun 2013
Reputation: 0
RE: Mount LVM?
No dice.
Terminal
root@xbian:~# insserv -f /etc/init.d/mountdevsubfs.sh
root@xbian:~# dpkg --configure lvm2
Setting up lvm2 (2.02.95-7+rpi1) ...
[....] Setting up LVM Volume Groups... Couldn't find device with uuid 7rHCnY-MQy7-f1QP-A0lv-B3CJ-IvkI-rgIv5I.
Couldn't find device with uuid 7rHCnY-MQy7-f1QP-A0lv-B3CJ-IvkI-rgIv5I.
Refusing activation of partial LV Media. Use --partial to override.
failed.
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools ...
update-initramfs: Not updating initramfs.

Any other ideas? At this point I'm considering just wiping the drives using normal volumes.
Find all posts by this user
Quote this message in a reply
2nd Jul, 2013, 02:28 AM
Post: #4
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: Mount LVM?
wait wait, you wanted lvm2 installed, you have it installed

and, what you have on screen is, that part of the LVM is there, but not all parts are available

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
2nd Jul, 2013, 03:39 AM
Post: #5
Segfault Offline
Registered
Posts: 4
Joined: Jun 2013
Reputation: 0
RE: Mount LVM?
Yeah, I just figured it out. For some reason Xbian isn't reading my second hard drive. I have a powered sata port dock with two bays connected via a USB 2.0 cable. It only reads the first bay, not the second. Strange. Both are detected on my other computers.
Find all posts by this user
Quote this message in a reply
2nd Jul, 2013, 03:56 AM
Post: #6
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: Mount LVM?
if you change the bays, reads the same disk, or same bay ?

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
2nd Jul, 2013, 08:09 AM
Post: #7
Segfault Offline
Registered
Posts: 4
Joined: Jun 2013
Reputation: 0
RE: Mount LVM?
It's the bay that it reads. It did work in the older version of Xbian. I'm even having issues with Raspbian on my other flash drive. Perhaps something new in a more recent kernel, or an update?
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 13th May, 2025, 07:05 AM Powered By MyBB, © 2002-2025 MyBB Group.