Solved

Where did my files go?

Posted on 2010-08-13
6
507 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
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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Access_log 17 121
Penetration Testing home based work 3 75
reset ubuntu password for root and admin after clearing it. 7 43
000webhost.com default error log 1 28
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

776 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