Results 1 to 4 of 4

Thread: Reading CentOS volumes... help!

  1. #1
    Join Date
    Jan 2008
    Location
    Calgary, Canada
    Beans
    92
    Distro
    Xubuntu 12.10 Quantal Quetzal

    Reading CentOS volumes... help!

    I had a CentOS home server, running Samba - which died after a local (but short) power outage. Unfortunately, I didn't run it on a UPS.

    Now the CentOS box won't get on the network...

    I elected to mount the hard drive in my Ubuntu desktop box, and copy off the contents... which brings me to my question.

    This CentOS file system seems to be encrypted, or otherwise unreadable.

    what is with the incompatibility? I can only ready the CentOS /boot partition (ext3).

    How can I read this?

    (I have already installed GDecrypt, but it just says "(mountpoint) isn't empty")

    Help! (important stuff on the drive...)

    Should I just overcome the reason the CentOS box won't access the network? Is that easier?

  2. #2
    Join Date
    Feb 2007
    Location
    Seattle
    Beans
    226
    Distro
    Ubuntu Karmic Koala (testing)

    Re: Reading CentOS volumes... help!

    Are the other partitions set up as LVM partitions? Try this to setup lvm support.
    Code:
    sudo apt-get install lvm2
    sudo modprobe dm-mod
    sudo vgscan
    At this point, I don't know where in /dev it could show up. You might want to run "dmesg" and see if it noticed any new devices.
    "I was dead long before you were born, and I'll be dead long after you're dead."

  3. #3
    Join Date
    Jan 2008
    Location
    Calgary, Canada
    Beans
    92
    Distro
    Xubuntu 12.10 Quantal Quetzal

    Re: Reading CentOS volumes... help!

    Thanks for your help... I seem to be getting some errors...

    1) when I start to install lvm2, it says its already up to the newest, but it doesn't know the modprobe dm... command.

    Code:
    FATAL: Module dm_mod not found.
    vgscan wasn't working either. I got the following:
    Code:
      Reading all physical volumes.  This may take a while...
      Couldn't find device with uuid 'HTFX9Q-pAsr-JP8s-maLb-6sRm-0Ipw-49uygu'.
      Couldn't find all physical volumes for volume group VolGroup01.
      Couldn't find device with uuid 'HTFX9Q-pAsr-JP8s-maLb-6sRm-0Ipw-49uygu'.
      Couldn't find all physical volumes for volume group VolGroup01.
      Volume group "VolGroup01" not found
    I am sure I have to get mod-probe working first...

    Any suggestions?

  4. #4
    Join Date
    Feb 2007
    Location
    Seattle
    Beans
    226
    Distro
    Ubuntu Karmic Koala (testing)

    Re: Reading CentOS volumes... help!

    Sorry, think I may have left out a step. I'm a little new to LVM myself. Try this after vgscan
    Code:
    sudo vgchange -ay
    sudo lvdisplay
    I did some poking around, and it appears that LVM maybe compiled directly into the kernel, and not as a module in the newer versions of ubuntu, so you wouldn't need to modprobe anything. The only LVM box I've got around is my debian server, so it's a tad different.
    "I was dead long before you were born, and I'll be dead long after you're dead."

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •