LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 01-31-2009, 03:40 PM   #1
donrudi
LQ Newbie
 
Registered: Jun 2008
Posts: 1

Rep: Reputation: 0
Recovering data from dead Samba server


Hi Everybody,

I am relatively new at Linux, but am enthusiastic about its potential to replace many of the functions I perform under Windows. Last year, I built a Samba server using Fedora 8 on a 64 bit AMD Athlon 64 platform. It worked great until today when the Asus mobo would not POST on power up, probably due to a fried capacitor. I shouldn't have used an RMA'd refurb board. Can anyone offer any suggestions on how I might get my data back without going through a laborious hardware rebuild of the server and a full reinstall of Fedora and Samba, or a gruesome backup restore from CDs? The data resides on a separate physical SATA2 500 GB HDD which is not part of the Linux boot filesystem. That is, it was installed using SWAT subsequent to making the system operational and it resides in its own ext3 partition that mounts with the identity "sdc1" Can this HDD be removed and read by some other means on another machine?

Thank you in advance for your assistance.

-Don
 
Old 01-31-2009, 04:28 PM   #2
Woodypecker
Member
 
Registered: Mar 2006
Location: Austria
Distribution: Mandriva/Debian
Posts: 102

Rep: Reputation: 17
You can attach the drive to any SATA-equipped linux machine and mount the drive/partition.
After attaching it, on the new machine run
"fdisk -l" to show the device id it gets.
Then - as root - create a mountpoint (mkdir /mnt/satadisk ...) and
mount the partition there:
mount /dev/sdX1 /mnt/satadisk
(with X substituted with what the disk gets on the new machine).
You said it's ext3, so it should mount without problems. If you see errors, run fsck /dev/sdX1
before mounting again.
If you want, you can rebuild a samba server on the other box and share the data partition
just like before.
 
Old 01-31-2009, 04:29 PM   #3
pentode
Member
 
Registered: Dec 2005
Location: Oregon
Distribution: Debian Testing
Posts: 488

Rep: Reputation: 38
You should be able to connect this disk to any Linux system and access the data on the disk, assuming the disk is functional. The disk is most likely formatted with an ext3 file system, so a Windows system will not be able to read this. There is nothing special about a Samba share as far as the file system is concerned.

There are external USB cases available for hard drive that will allow you to use them as an external USB drive if you need a more permanent solution.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
recovering data yusufs Linux - Newbie 4 10-07-2008 12:58 AM
Recovering Data KrazyKanuk Linux - Newbie 4 10-25-2007 03:43 PM
recovering from a dead raid 5 array aaronj Linux - Software 2 06-03-2005 05:13 AM
recovering data pirozzi Linux - General 5 11-30-2004 03:08 AM
Recovering files from dead HD and Q about a CD-RW Megamieuwsel Linux - Hardware 2 02-08-2004 06:25 AM


All times are GMT -5. The time now is 10:58 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration