Solved

Where did my files go?

Posted on 2010-08-13
6
511 Views
Last Modified: 2013-12-16
I have an Openfiler NAS, which is no longer behaving well with our domain controller. I can log in fine as root via ssh, but cannot log in to any file shares as anyone via samba.

So, I want to can openfiler, and change it to Ubuntu.

I booted up with an Ubuntu 9.10 Desktop live CD, and installed mdadm, and rebuilt the array and mounted it on /mnt/raid.

I can access the disk. that's not a problem. I can get into the RAID array just fine (see screenshot).

However, when I navigate to /mnt/raid/mnt/storage/primary there is a directory (Main) missing.

It is there when I boot back into Openfiler.

How do I get to this via the Ubuntu live CD? My main goal is to use FTP to transfer off all the files that are in that directory to another box so I can reinstall this one.


screenshot.png
0
Comment
Question by:DrDamnit
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 11

Expert Comment

by:Pieter Jordaan
ID: 33435468
Openfiler NAS uses logical volumes for partitions, and Ubuntu 9 does not have lvm support.

You will have to boot with a Ubuntu 10 CD to read the logical volume.
The recovery console should pick it up automatically.

If not, post the output of
ls -l /dev/mapper
from the recovery console.

You can just mount any device inside /dev/mapper using a normal mount.
0
 
LVL 2

Expert Comment

by:Eugenes18t
ID: 33447267
Also be careful mounting the LVM, as it is possible to screw up the raid signature for the LVM I suggest you mount it as read only to not damage the raid or the journal block.
0
 
LVL 32

Author Comment

by:DrDamnit
ID: 33447951
OK. I'll change to an Ubuntu 10 live cd and try it out.
0
Tutorials alone can't teach real engineering

So we built better training tools.

-Hands-on Labs
-Instructor Mentoring
-Scenario-Based Tests
-Dedicated Cloud Servers

All at your fingertips. What are you waiting for?

 
LVL 32

Author Comment

by:DrDamnit
ID: 33454710
Booted up with an Ubuntu 10 live cd, and wasn't given a recovery mode option. It started into the desktop session, and I got just as far as I did before. I can mount the array, but the directory I need is not showing.

I think you are dead on with it being an LVM. How would I mount the LVM via the Ubuntu 10 desktop session?

I used mdadm --auto-detect to find and assemble the raid array. cat /proc/mdstat shows the two RAID volumes....
0
 
LVL 11

Expert Comment

by:Pieter Jordaan
ID: 33454891

Use lvscan to scan for Logical Volumes.

lvdisplay to display all the Volumes.

pvdisplay will display all the physical drives assigned to logical volumes.

See if you pick up any drives or lv's
0
 
LVL 32

Accepted Solution

by:
DrDamnit earned 0 total points
ID: 33627668
Never could get it to mount. Ended up using scp to get the files off when booted into Openfiler. ssh / scp was the only thing that worked, but I got the files off.
0

Featured Post

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question