Summary: Problem - Disk copy using ufsdump/ufsrestore

From: Alan Kong <kkkong_at_ee.cuhk.edu.hk>
Date: Mon Oct 15 2001 - 03:22:20 EDT
--------------A34E59904D814096AC5209F4
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Thanks to:
    Ronald Loftin <reloftin@syr.edu>
    "Bara Zani" <bara_zani@yahoo.com>
    "Neill, Mark (MBS)" <Mark.Neill@mortgagefamily.com>
    and others coming.

Summary as follows:
1. Use "ufsrestore rf -" instead
2. Use "ufsdump 0cufl - /dev/dsk/c1t1d0s6 |(cd /mnt; ufsrestore xf -)"

I tried the first option and it worked.


Regards
Alan

Alan Kong wrote:

> Hi,
> I tried to relocate user homes  to a bigger disk on Sun solaris 2.7
> using the following commands:
>     ufsdump 0f - /dev/dsk/c1t1d0s6 |(cd /mnt; ufsrestore xf -)
> I kept getting warnings with the following message:
>
>         DUMP: DUMP IS DONE
>       changing volumes on pipe input
>         abort? [yn] n
> I have to answer 'y' to exit. And the user directories on the new disk
> were owned by root. The total capacity used on the old disk was around
> 15G and the new disk was 36G.
> I have checked both ufsdump and ufsrestore are largefile aware.
>
> Wonder what went wrong.
>
> Pls help.
>
> Thanks.
>
> --
>
> Alan Kong
> --------------------------------------------------------------------
> Tel: +852 2609-8286             Department of Electronic Engineering
> Fax: +852 2603-5558             Chinese University of Hong Kong
>                                 Shatin, N.T.
> Email: kkkong@ee.cuhk.edu.hk    Hong Kong
>
>

--------------A34E59904D814096AC5209F4
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Thanks to:
<br>&nbsp;&nbsp;&nbsp; Ronald Loftin &lt;reloftin@syr.edu>
<br>&nbsp;&nbsp;&nbsp; "Bara Zani" &lt;bara_zani@yahoo.com>
<br>&nbsp;&nbsp;&nbsp; "Neill, Mark (MBS)" &lt;Mark.Neill@mortgagefamily.com>
<br>&nbsp;&nbsp;&nbsp; and others coming.
<p>Summary as follows:
<br>1. Use "ufsrestore rf -" instead
<br>2. Use "ufsdump 0cufl - /dev/dsk/c1t1d0s6 |(cd /mnt; ufsrestore xf
-)"
<p>I tried the first option and it worked.
<br>&nbsp;
<p>Regards
<br>Alan
<p>Alan Kong wrote:
<blockquote TYPE=CITE>Hi,
<br>I tried to relocate user homes&nbsp; to a bigger disk on Sun solaris
2.7 using the following commands:
<br>&nbsp;&nbsp;&nbsp; ufsdump 0f - /dev/dsk/c1t1d0s6 |(cd /mnt; ufsrestore
xf -)
<br>I kept getting warnings with the following message:
<div class="moz-text-plain" wrap="true" graphical-quote="true" style="font-family: Courier New; font-size: 13px; ">
<pre wrap="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DUMP: DUMP IS DONE
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; changing volumes on pipe input
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; abort? [yn] n
I have to answer 'y' to exit. And the user directories on the new disk were owned by root. The total capacity used on the old disk was around 15G and the new disk was 36G.
I have checked both ufsdump and ufsrestore are largefile aware.

Wonder what went wrong.

Pls help.

Thanks.</pre>
</div>

<pre class="moz-signature" cols="$mailwrapcol">--&nbsp;

Alan Kong
--------------------------------------------------------------------
Tel: +852 2609-8286&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Department of Electronic Engineering
Fax: +852 2603-5558&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Chinese University of Hong Kong
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Shatin, N.T.
Email: <a href="mailto:kkkong@ee.cuhk.edu.hk" class="moz-txt-link-abbreviated">kkkong@ee.cuhk.edu.hk</a>&nbsp;&nbsp;&nbsp; Hong Kong

</pre>
</blockquote>
</html>

--------------A34E59904D814096AC5209F4--
Received on Mon Oct 15 08:22:20 2001

This archive was generated by hypermail 2.1.8 : Wed Mar 23 2016 - 16:32:33 EDT