Solved

Where did my files go?

Posted on 2010-08-13
6
505 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
  • 3
  • 2
6 Comments
 
LVL 11

Expert Comment

by:Pieter Jordaan
Comment Utility
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
Comment Utility
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
Comment Utility
OK. I'll change to an Ubuntu 10 live cd and try it out.
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 32

Author Comment

by:DrDamnit
Comment Utility
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
Comment Utility

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
Comment Utility
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
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…

762 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now