Solved

Where did my files go?

Posted on 2010-08-13
6
509 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
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

732 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