Hi everyone,
I need help migrating (mainly my IMAP mail) to a new machine.
I have a home system running 4.1.1 on a 2.1g drive that apparently works OK. However, dmesg reports
...
md.c: sizeof(mdp_super_t) = 4096
Partition check:
hda:hda: status error: status=0x59 { DriveReady SeekComplete DataRequest Error
}
hda: status error: error=0x04 { DriveStatusError }
hda: drive not ready for command
hda1 hda2 < hda5 hda6 >
..
I have tried installing e-smith 4.2.2 on a larger machine and restore from backup. The restore apparently does nothing. No mail, no users, etc.
Apparently there is something wrong with my approach of upgrading to a new system and then doing a restore OR the the failing disk has corrupted esmithsg.bak.
There are differences in the directory structures between versions.
v 4.1.1
my @directories = (
'home/e-smith',
'etc/e-smith/templates-custom',
'etc/passwd',
'etc/shadow',
'etc/group',
'etc/gshadow',
'etc/smbpasswd'
);
v 4.1.2
my @directories = (
'home/e-smith',
'etc/e-smith/templates-custom',
'etc/e-smith/templates-user-custom',
'etc/ssh',
'root/.ssh',
'etc/passwd',
'etc/shadow',
'etc/group',
'etc/gshadow',
'etc/smbpasswd',
);
With the disk drive problem I fear I will lose my IMAP mail if I attempt an upgrade on this disk as is recommended by e-smith.
I need a workaround to get my mail safely to another e-smith box. For example, what steps would be necessary to tar the appropriate directories, mail or ftp them to the new machine, untar them in the proper places? If I can get my mail moved successfully I will then attempt a normal upgrade process or I can restore everything else manually.
Thanks in advance.
Paul