Re: Transfering from SCSI to IDE ?
On Wed, 23 Feb 2005 18:12:29 + (GMT), ali boreiri [EMAIL PROTECTED] wrote: Dear Sir : I have a FreeBSD system with a squid cache installed on it on my 17 GB SCSI drive. Recently I get an image of it by Norton GHOST on a 80GB IDE drive. Transferring was successful but when system on new IDE disk booted , after pimary freeBSD boot menu boot proccess continued till an error occured in mounting file system and disk; and then system ask me to mount root and a mount prompt appeared. Messages appears on screen are as below: Mounting root from ufs:/dev/da0s1a setrootbyname failed ffs_mountroot: can't find rootvp Rootmount failed:6 mount root mount root ? List of GEOMD Managed disk devices: ad1s1f ad1s1e ad1s1d ad1s1c ad1s1b ad1s1a ad1s1 acd0 ad1 fd0 Now please tell me what must I do ;and refer me to a compelete step by step guide in mounting partition of this IDE disk (which the image of a SCSI disk is on it.)and no change perform to partitions for properly working of squid cache. Thank you : Dr.A.Boreiri Maybe you should forget about the Ghost shortcut, and not ignore 30 years of Unix backup history ;) Use dump to make a backup of your SCSI disk. Do a minimal FBSD install on your IDE disk, using a similar partition and disklabel scheme as the FBSD install on the SCSI disk. Now use restore to transfer the backups to the IDE disk. Please note that dump and restore work on complete filesystems. =Adriaan= ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Transfering from SCSI to IDE ?
On Thu, Feb 24, 2005 at 09:50:40PM +0100, J65nko BSD wrote: Maybe you should forget about the Ghost shortcut, and not ignore 30 years of Unix backup history ;) I agree that Ghost is the wrong tool. IIRC there is a *BSD or Linux Ghost-workalike standalone bootable CDROM. Still don't believe I'd use that myself when everything needed is already under my fingertips. Use dump to make a backup of your SCSI disk. Do a minimal FBSD install on your IDE disk, using a similar partition and disklabel scheme as the FBSD install on the SCSI disk. Now use restore to transfer the backups to the IDE disk. Is easier to use dump piped into restore. Write directly to the target in the final form. Please note that dump and restore work on complete filesystems. Only dump works on the entire fs. Restore writes files. You can selectively restore. Can also restore to larger or smaller filesystems, directories, new or old. While there is great value in having an exact image of a working system for quick restore, there is also great value in documenting one's configuration then clean house periodically to build a clean system and prove one's documentation. I like to keep a list of important and customized files such as /etc/hosts, then use this list as an argument to tar for selective backups. ls -1d /var/db/pkg provides a list of installed ports. Then if/when time comes to build a new machine the tar archive and list of installed ports is 99.9% of the sweat. -- David Kelly N4HHE, [EMAIL PROTECTED] Whom computers would destroy, they must first drive mad. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Transfering from SCSI to IDE ?
On Wed, 23 Feb 2005, ali boreiri wrote: I have a FreeBSD system with a squid cache installed on it on my 17 GB SCSI drive. Recently I get an image of it by Norton GHOST on a 80GB IDE drive. Transferring was successful but when system on new IDE disk booted , after pimary freeBSD boot menu boot proccess continued till an error occured in mounting file system and disk; and then system ask me to mount root and a mount prompt appeared. Messages appears on screen are as below: Mounting root from ufs:/dev/da0s1a setrootbyname failed ffs_mountroot: can't find rootvp Rootmount failed:6 mount root mount root ? List of GEOMD Managed disk devices: ad1s1f ad1s1e ad1s1d ad1s1c ad1s1b ad1s1a ad1s1 acd0 ad1 fd0 Your old SCSI disk was da0. Apparently your new IDE disk is ad1. At the very least, you need to manually mount the / partition and edit the /etc/fstab file to reflect this. A live cd like FreeSBIE (http://www/freesbie.org) may help you mount that partition and edit the file. Now please tell me what must I do ;and refer me to a compelete step by step guide in mounting partition of this IDE disk (which the image of a SCSI disk is on it.)and no change perform to partitions for properly working of squid cache. Your applications should all refer to files, not partitions. So with the /etc/fstab file fixed, everything should work again. You may have other hardware that will require changes to configuration files; a different network board, for example. Incidentally, this same problem can occur even if you use the proper backup tools (dump/restore). It's the contents of the fstab file, not the way you've transferred it. -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]