On Fri, 11 Feb 2005 10:59 am, Howard Lowndes wrote:
> I'm trying to ghost one disk to another.
>
> They are identical physical specs, and I am attempting:
>
> dd if=/dev/hda of=/dev/hdc bs=4096
>
> It transfers about 593 records and then complains that there is
> insufficient space on the device.
>
> WTF?
>
> --
> Howard.

I had a similar problem once with a disk (actually half an entire array) on 
Solaris.  I ended up partitioning the new drive(s) then using cpio to do the 
"ghost".  Not exactly elegant, but it worked.

<WAR_STORY>
At least Solaris has a nice "fmthard" which allows you script the whole 
mass-partioning of 30-odd drives into a single:

prtvtoc /dev/rdsk/c0t0d0s2 | fmthard -s - /dev/rdsk/c${CTLR}t${TARGET}d0s2

which is enclosed in a neat little nested loop to increment $TARGET and $CTLR 
as it stepped through the drives :)  Slice (partition) #2 in Solaris is the 
partition table - very handy :)
</WAR_STORY>

Now try THAT with Redmondware :P

James
-- 
Portable, adj.:
        Survives system reboot.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to