[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-fs
Subject:    Re: GEOM: ada0: corrupt or invalid
From:       Patrick Mahan <mahan () mahan ! org>
Date:       2012-05-25 22:37:00
Message-ID: 4FC0098C.9060107 () mahan ! org
[Download RAW message or body]

On 5/25/12 3:08 PM, Matthew Seaman wrote:
> On 25/05/2012 22:46, Patrick Mahan wrote:
>> But the question is -  "Is this recoverable?  Or should we just
>> re-install everything from scratch?"
> 
> Re-install.  You can't use dd(1) to copy a disk image to a smaller
> physical drive: the disk size is encoded in various structures on disk
> and used at boot time; copying a filesystem with dd(8) and  truncating
> it (even if the used space is less than the target partition size) just
> doesn't work.
> 
> If you have work you've done on the original disk images that you'ld
> like to copy to the new ones, then use a file-system level copy program.
> There are any number of suitable candidates, most of which have the
> ability to write across a network link if needed:
> 
>    * dump(8) and restore(8)
> 
>    * rsync(1)
> 
>    * tar(1)
> 
>    * find(1) and cpio(1)
> 
> Even cp(1).
> 
> 	Cheers,
> 
> 	Matthew
> 

Thanks,

As I expected, it was chock gun, aim at foot, pulled the trigger....

Re-installing now.

Patrick

_______________________________________________
freebsd-fs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-fs
To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic