LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 09-30-2005, 03:12 PM   #16
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30

ya know. this should be easy. I'm missing something.

When you say you "moved" the webserver, how did you do that. dd it over, or what? I still have a question about my post #7.
 
Old 09-30-2005, 03:28 PM   #17
Sigkill(9)
Member
 
Registered: Jan 2005
Location: Dallas/TX
Distribution: OpenBSD/FreeBSD/Debian/Mac OS X
Posts: 40

Original Poster
Rep: Reputation: 15
I guess I left that part out.

I did this:

dcfldd if=/dev/hda of=/dev/hdb bs=4096 conv=notrunc,noerror

everything is there and works when I manually mount /home after boot.
 
Old 09-30-2005, 04:12 PM   #18
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30
okay, I'm going to take a long shot. Since it isn't mounting at boot, but does after boot.... it's something in the initrd (ramdisk) loading the reiserfs modules. There should be a line in the /boot/grub/menu.lst for the kernel you are booting. Should work since it was a mirror image. I'm not up on FC4, but let me look around. I've read something in the past about reiserfs and FC. RH officially supports ext2/3.

Maybe corrupted reiserfs driver file during the dd. // skip that. maybe something pertaining the boot process.

You haven't make any changes to the /boot or /ext files?

Last edited by -X-; 09-30-2005 at 04:21 PM.
 
Old 09-30-2005, 04:16 PM   #19
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30
Since you have the two drives, any chance you could put the new drive as hda and install new in the partition scheme you want. Then copy /home data from hdb.
 
Old 09-30-2005, 04:26 PM   #20
Sigkill(9)
Member
 
Registered: Jan 2005
Location: Dallas/TX
Distribution: OpenBSD/FreeBSD/Debian/Mac OS X
Posts: 40

Original Poster
Rep: Reputation: 15
I dd'd the old drive to the new drive.

Then added /dev/hda4 slice to be the new drive to copy /home to.
The old drive was running out of space.
 
Old 09-30-2005, 04:27 PM   #21
Sigkill(9)
Member
 
Registered: Jan 2005
Location: Dallas/TX
Distribution: OpenBSD/FreeBSD/Debian/Mac OS X
Posts: 40

Original Poster
Rep: Reputation: 15
I have two 250GB drives in the machine.

hda and hdb.

I only use hdb for redundancy.
 
Old 09-30-2005, 04:31 PM   #22
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30
Yes I understand the dd part. I think there's a initrd/module problem not loading the reiserfs modules at boot.

I know you have to do something special to setup reiserfs in FC, don't remember the exact "special".

Anything wrong with ext3? Tests I've performed with reiserfs didn't show anything to get excited about. I've used it before, but have just stuck with ext3. old school stuff, ya know.
 
Old 09-30-2005, 04:48 PM   #23
Sigkill(9)
Member
 
Registered: Jan 2005
Location: Dallas/TX
Distribution: OpenBSD/FreeBSD/Debian/Mac OS X
Posts: 40

Original Poster
Rep: Reputation: 15
last minute note here.
I contacted the old admin and come to find out it's not FC4 it's RH9.

Man ... What a drag.

I may have to do this over ... The test box was FC4 so naturally one would think the prod box would be the same.

BTW: I appreciate the all the help too.
 
Old 09-30-2005, 04:53 PM   #24
Sigkill(9)
Member
 
Registered: Jan 2005
Location: Dallas/TX
Distribution: OpenBSD/FreeBSD/Debian/Mac OS X
Posts: 40

Original Poster
Rep: Reputation: 15
I guess I could mkfs ext3 /dev/hda4

Then mount /dev/hdb4 and cp home back onto /dev/hda4
 
Old 09-30-2005, 05:04 PM   #25
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora, Lubuntu, FreeBSD
Posts: 3,930
Blog Entries: 5

Rep: Reputation: Disabled
Quote:
I contacted the old admin and come to find out it's not FC4 it's RH9.
I know you made this as an OT remark, but in the future if you're ever unsure about what flavor of system you are working on:
Code:
cat /etc/issue
will generally identify it. I think this works on many *nixes.
 
Old 09-30-2005, 05:11 PM   #26
Sigkill(9)
Member
 
Registered: Jan 2005
Location: Dallas/TX
Distribution: OpenBSD/FreeBSD/Debian/Mac OS X
Posts: 40

Original Poster
Rep: Reputation: 15
And there it is ...

Another lesson learned.

Though the problem still doesn't make sense regardless of the flavor.

Thanks again for the help folks.
 
Old 09-30-2005, 05:39 PM   #27
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30
Actually I'm glad you responded back. Some never give the answer or outcome of problems when it's something on the the user's end or not. Leaving the hired help hanging. Just tuck tail and come back with a different username.

I was bored today anyway.
 
Old 10-05-2005, 11:27 AM   #28
Sigkill(9)
Member
 
Registered: Jan 2005
Location: Dallas/TX
Distribution: OpenBSD/FreeBSD/Debian/Mac OS X
Posts: 40

Original Poster
Rep: Reputation: 15
If anyone is still out there:

I decided to change the reiser slice to ext3 thinking maybe there was a problem in RH9.

adjusted the fstab to read as follows:

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
/dev/hda6 /home ext3 defaults 1 3
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0


And still /home will not mount on boot.
 
Old 11-02-2005, 12:57 PM   #29
ronald-be
Member
 
Registered: Aug 2004
Location: Belgium
Distribution: debian 5.02
Posts: 73

Rep: Reputation: 15
moving /home

hello,

Maybe i know what's going on. There are two partitions involved:

/dev/hda2 with mount point /
/dev/hda4 with mount point /home

but actually /home is defined twice :

on /dev/hda2 as a subdirectory of /
on /dev/hda4 as the root-directory

I think the firtst will inhibit the mounting of the second... I noticed u copied the data to the new home. so, first be sure yo have a rescue disk for your distro. Then reboot as usual, do "mv /home /home.old" and reboot again. If your PC locks up, then boot from rescue disk, mount /dev/hda2 manually and restore the old name. Good luck !

greetings,

Ronald
 
  


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
moved /home - now it seems everythings gone! aes canis Linux - General 4 05-10-2005 03:16 PM
mount / , /home , /home/usr on different partitions alekoos Slackware 14 05-03-2004 11:39 AM
moved home: permission denied mtb Linux - Software 4 12-17-2003 06:09 AM
Reformatting /home/user partition to reiserfs procedures wrc1944 Linux - General 1 06-01-2003 08:15 PM
/home has been successfully moved jeremy LQ Suggestions & Feedback 3 08-18-2000 05:25 PM


All times are GMT -5. The time now is 12:13 AM.

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