View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 5 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Dec 11, 2007 9:08 pm 
Offline
Joined: Thu Sep 30, 2004 12:26 pm
Posts: 468
Location: Canada
Ok, so I go to watch a recording...and, recording not found, for everything before Saturday...I'm freaked out.

So I look on the filesystem and my tv directory is almost empty, just recordings since Saturday ... this is NOT good.

So, I quickly check free space with 'df' ... wtf? I'm missing my 750gb sata drive that was mounted to /myth/tv

So, fortunately, without the drive, the machine failed gracefully and just created a new tv directory and kept on going happily, but my boot drive isn't very big, only 160gb I think.

So, my 2 part question.
1. How do I get my sda(or b?) drive back online.
2. How do I merge my two tv directories?

Please help. There's lots of shows I haven't watched yet?!?

Thanks :)
-C

_________________
"The amount of time needed to solve a problem is inversely proportionate to the complexity of the solution" -- Me

KM: R5.5
CPU: Athlon 3800+
Vid: nvidia 7300GT
Snd: Chaintech av-710
Tuner: PVR150
HD: 1000gb sata + 750gb sata + 500gb usb


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 12, 2007 5:26 am 
Offline
Joined: Sat Sep 02, 2006 9:17 am
Posts: 359
Without knowing what the exact partition device is or what the problem is, here's my general outline to get back. I'll assume your myth partition is /dev/sdb1

First I would prefer to do all this in single user mode; at the boot prompt type "single" you'll boot to a non-graphics prompt. others will rightly point out that you can do all this from a normal boot if you stop the proper processes. backend, frontend, etc...

make a new empty directory anywhere in the root file system, the actual root directory works well.
# mkdir /wtf

mount the old TV volume
# mount -t <type> /dev/sdb1 /wtf
For <type> you'll need to know what to use, i.e. xfs, ext3, jfs, etc. you should be able to find this in your /etc/fstab file. if you need to guess, and guess wrong, you'll get a less-than-helpful "wrong fstype message" but you won't hurt it.

when you run that mount command, you should get an error message that may give a hint about why it didn't mount in the proper location. This needs to be resolved before moving on...

If you can resolve the problem and mount the drive, then copy the files from /myth/tv to the old partition:
# cd /myth/tv
# tar -cvf - * | (cd /wtf; tar -xf - )
You could use a simple "cp" or "mv" but the above command will preserve ownership and permissions.

***Once everything is copied AND VERIFIED***, empty out /myth/tv
# cd /myth/tv
# rm *

move your tv partition back to its proper location.
# umount /wtf
# mount -t <type> /dev/sdb1 /myth/tv

reboot and you're back.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 12, 2007 6:00 am 
Offline
Joined: Sun Jun 12, 2005 2:39 pm
Posts: 464
Location: UK
If you run:
Code:
sfdisk -l
it will list all the partitions on all the drives. That should help you sort out whether its sda or sdb etc. If the drive isn't listed then you most likely have a hardware problem :S


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 12, 2007 11:30 am 
Offline
Joined: Thu Sep 30, 2004 12:26 pm
Posts: 468
Location: Canada
mad_paddler,
It's sda1.Thank god it's not a hardware problem, that drive is only a few months old!

jmckeown2,
I'll give that a try shortly, thanks for the instructions! :)

Thanks,
-c

_________________
"The amount of time needed to solve a problem is inversely proportionate to the complexity of the solution" -- Me

KM: R5.5
CPU: Athlon 3800+
Vid: nvidia 7300GT
Snd: Chaintech av-710
Tuner: PVR150
HD: 1000gb sata + 750gb sata + 500gb usb


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 12, 2007 1:35 pm 
Offline
Joined: Thu Sep 30, 2004 12:26 pm
Posts: 468
Location: Canada
Success it would appear, just rebooting now, but everything looks good.

Thanks!!!

_________________
"The amount of time needed to solve a problem is inversely proportionate to the complexity of the solution" -- Me

KM: R5.5
CPU: Athlon 3800+
Vid: nvidia 7300GT
Snd: Chaintech av-710
Tuner: PVR150
HD: 1000gb sata + 750gb sata + 500gb usb


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 27 guests


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 post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu