LITTLEBLACKDOG.COM Forum Index LITTLEBLACKDOG.COM

 
LWD LWD   FAQ FAQ   Memberlist Memberlist   Usergroups Usergroups   Active Topics Active Topics   Register Register  
  Profile Profile   Log in to check your private messages Log in to check your private messages   Log in Log in  
  Who is Online Who is Online   Image Gallery Image Gallery   Chat Chat   Search Search  
  LWDGear       LBDGear  

View next topic
View previous topic
Post new topic     Reply to topic   LITTLEBLACKDOG.COM Forum Index -> Operating Systems » OS - Linux
Author Message
Alphi
Big Dog
Big Dog


Joined: 05 Apr 2002
Age: 36
Posts: 3021
Location: Grand Rapids, MI USA

Post Posted: Thu Apr 03, 2008 7:24 pm   Post subject: Help!! Ubuntu server issues Reply with quote Back to top  

Hey guys,

I have a box at home that's a dedicated file server. Awhile back I set it up running Ubuntu (and I've kept it updated since).

Over time I've added new hard drives for various things. One of those times was to store my music collection (all ripped from CDs I own, mind you).

In fact, what I did at the time was I dropped a spare 120GB drive in there, formatted the whole thing (ext3 if memory serves) as one big partition, and did everything I had to as to share it with my network.


Today I went to the share (from my windows machine), and there's nothing there. Needless to say, I panicked, especially considering that it's the culmination of MANY MANY hours of ripping my cd collection (about 500 CDs).


Looking at the server, if I open a terminal and do LS in that folder, there's nothing there.


If I run GPARTED on that drive, it says it's "unallocated"...


Now, especially considering this is Linux (which I admit I'm not as familiar as I am with Windows), what can I do to have the best chance of restoring those files? I estimate it's probably 40GB worth on the whole drive.


Ideas?


Thanks!


editI just looked at the screen again, and when I opened up GPARTED (from a terminal, so I could select the drive), it's reporting "unable to open /dev/sdb unrecognised disk label".

Note: I tried GPARTED on /dev/sda and /dev/sdc and I confirmed both work.

_________________
They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.
- Benjamin Franklin


Prosper.com - P2P lending
View user's profile Send private message Send e-mail ICQ Number
EdisonRex
Guide Dog
Guide Dog


Joined: 06 May 2002
Posts: 9978
Location: Not Moscow

Post Posted: Thu Apr 03, 2008 10:53 pm   Post subject: Reply with quote Back to top  

Offhand I'd say you have a high probability of a hardware failure.

Did you try fsck yet? What did it tell you?

_________________
Garret: It's so retro.
EGM: What does retro mean to you?
Parker: Like, old and outdated.
View user's profile Send private message AIM Address Yahoo Messenger
Alphi
Big Dog
Big Dog


Joined: 05 Apr 2002
Age: 36
Posts: 3021
Location: Grand Rapids, MI USA

Post Posted: Fri Apr 04, 2008 2:29 am   Post subject: Reply with quote Back to top  

Very strange - this morning I decided to take a page from my Windows playbook - I figured I'd do a reboot.

So I rebooted the machine. Now when I go into it, I can see the drive and all the data again...


P.S. I didn't run fsck yet because it scared me off a little with the warnings about "running e2fsck on a mounted filesystem may cause SEVERE filesystem damage", and I didn't want to chance breaking it again.


One thing's for sure - while I'm pretty sure I have 90% of that drive backed up to DVD-R, I think this weekend I'll make absolutely sure I have 100% of it backed up. Whew!

_________________
They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.
- Benjamin Franklin


Prosper.com - P2P lending
View user's profile Send private message Send e-mail ICQ Number
EdisonRex
Guide Dog
Guide Dog


Joined: 06 May 2002
Posts: 9978
Location: Not Moscow

Post Posted: Fri Apr 04, 2008 4:24 am   Post subject: Reply with quote Back to top  

you can always run fsck -N to simulate without acting on it.

_________________
Garret: It's so retro.
EGM: What does retro mean to you?
Parker: Like, old and outdated.
View user's profile Send private message AIM Address Yahoo Messenger
CMTG
Leg Humper
Leg Humper


Joined: 23 Feb 2002
Posts: 4875
Location: On average, Cheltenham.

Post Posted: Fri Apr 04, 2008 4:39 am   Post subject: Reply with quote Back to top  

You can also force a fsck on reboot (as if the system had crashed or otherwise shutdown uncleanly) by doing a:

shutdown -F -r now

_________________
Pie. I wish I could
constrain my hungry greed but...
Sadly, defeated.


"Have I seen you at the gym? I don't go to the gym, I'm just naturally like this..."
- Captain Hammer
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic     Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
phpBB SEO
All times are GMT - 8 Hours

Help us keep advertisements off this site. Donate today!