View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 8 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Mar 28, 2006 5:32 pm 
Offline
Joined: Thu Jan 13, 2005 9:55 am
Posts: 135
Location: Decatur, Ga., USA
Our lab uses a Mandrake box for web/data serving (it runs Mandrake 8.0). I'm in the process of upgrading to new hardware and would like to move a partition (/usr0) to a new drive in a new computer. This partition contains all of our users data, and is roughly 70Gb. I know I can do this locally by placing the new drive in the old computer and copying (cp -ax *). The question is:

can I do this via NFS?

-sTv

_________________
R7.3 Backend
CPU: 1.8 GHz
RAM: 2Gb
Drives: 500Gb IDE; IDE DVD-RW
Mobo: eMachines
Tuners (Analog): PVR-250
Tuners (Digital): DCT-6200 Motorola Cable Box, HDHomeRun (OTA + cable)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 28, 2006 7:38 pm 
Offline
Joined: Tue Feb 21, 2006 7:24 am
Posts: 396
Location: Dushanbe, Tajikistan
you might have better luck with something like this

cd /usr0
tar cpvf /newmachine/usr0.tar .

Where /newmachine is mounted over NFS, SMB, etc. etc. untar on the new partition.

I have had bad luck with NFS messing up perms, ownership and such when
moving whole trees.


Last edited by mac on Tue Mar 28, 2006 7:46 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 28, 2006 7:40 pm 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi,
If the "ol" Mandrake will support usb, why not simply connect an external drive?
Mike


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 28, 2006 8:50 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
I generally use rysnc -av for jobs like this...


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 29, 2006 10:18 am 
Offline
Joined: Thu Jan 13, 2005 9:55 am
Posts: 135
Location: Decatur, Ga., USA
mjl wrote:
Hi,
If the "ol" Mandrake will support usb, why not simply connect an external drive?
Mike


Thanks for all of the tips! The problem with the old Mandrake box is that the tty console is hosed. We got hacked by script kiddies who installed a rootkit virus (tuxkit) and it somehow fmirlkd the console, so no one can login. I haven't been able to figure out how to fix that, but I can administer the box remotely via Webmin and ssh. So I think I can do the USB disk transfer or attach the new drive internally and transfer that way, but I was trying to see if I can do it remotely.

Anybody have any clues as to how to attempt to fix the console? When I try to login at the prompt, as soon as I type my password, it bounces me back to the prompt. Log files don't say anything about the login attempts.

-sTv

_________________
R7.3 Backend
CPU: 1.8 GHz
RAM: 2Gb
Drives: 500Gb IDE; IDE DVD-RW
Mobo: eMachines
Tuners (Analog): PVR-250
Tuners (Digital): DCT-6200 Motorola Cable Box, HDHomeRun (OTA + cable)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 29, 2006 4:46 pm 
Offline
Joined: Tue Nov 08, 2005 7:31 am
Posts: 195
Location: Secret Lair
Rescue CD. The KnoppMyth install CD will work admirably.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 29, 2006 7:00 pm 
Offline
Joined: Tue Feb 21, 2006 7:24 am
Posts: 396
Location: Dushanbe, Tajikistan
to fix the console, I think that your going to have to grab a staticlly linked getty and
drop it in /sbin/. Booting from a CD is a better option.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 29, 2006 7:14 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
I think EvilTwin has the right idea. The machine has been compromised and backdoored in who knows how many ways. Time for a major clean up.

- Boot from the CD, then exit to a shell prompt.

- Mount your /myth partition or VG as /myth,

- Mount your / partition as /mnt/hda1 (presuming that's it's device) and make a symlink to the DB directory.

- Run the backup script manually and make a supplementat backup as discussed in the R5B7 upgrade hints. You may need to do some manual work to get the right stuff from /etc and /home/mythtv in the backup... What's really important is the DB however.

- While you're at it scan the /myth partition for any executable files and at least consider purging them with extreme prejudice. BTW - For anyone who has ever wondered why I'm such a painful itch about files having the "right", and only the right, permissions this is one reason. It makes cleanups like this much easier.

- Reboot from the CD and run and auto upgrade.

This should do a pretty good job of deworming your machine.


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 8 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:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu