From: John Losey <JLosey () Solucient ! com>
To: tru64-unix-managers
Subject: SUMMARY: Moving from one NAS device to another
Date: Thu, 28 Feb 2002 18:09:20 +0000 [thread overview]
Message-ID: <102653731622493.tru64-unix-managers.marc@archive.invalid> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="------_=_NextPart_001_01C1C083.0B46C280", Size: 4827 bytes --]
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C1C083.0B46C280
Content-Type: text/plain;
charset="iso-8859-1"
Thanks for the replies.
The suggestions for if I have to do this again are:
cd /olddirectory
find . -print|cpio -pvud /newdirectory
Or to use a combination of vdump | vrestore as shown near the bottom of the
manpage of vrestore. I hadn't thought of vdump | vrestore because I didn't
realize that it could also do NFS filesystems.
John
-----Original Message-----
From: John Losey [mailto:JLosey@Solucient.com]
Sent: Wednesday, February 27, 2002 4:14 PM
To: Tru64 UNIX Managers Group (E-mail)
Subject: Moving from one NAS device to another
Hello,
I've just finished migrating files from one SNAP server that was NFS mounted
to one of my Tru64 boxes to a new SNAP server (the old one has a failed
disk, so SNAP sent the replacement and I'm returning the old one once the
data is off). I migrated the data using the following command: (I used one
for each subdirectory in the mount-point)
(cd /snap01; tar cpf - subdirectory1) | (cd /snap02; tar xpvf -)
I'm wondering if there was a better way than tar to do this move. Our NFS
mount was of the / of the SNAP filesystem, so I didn't want to grab SNAP
specific subdirectories (like os_private & WWW), so that was why I did the
tar of each subdirectory.
But I'm wondering if there would have been a better way to move these files.
I was trying to avoid purchasing Snap's utility to copy between SNAP
servers, because we normally only have 1 (except for the times when we've
got the replacement because of hardware failures in the first one).
I also ran into a slight problem with using tar for files that were overly
large (ie. 2+GB) and had to copy those using a Windows box on the same
network as the two Snap servers.
Thanks,
John
------_=_NextPart_001_01C1C083.0B46C280
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>SUMMARY: Moving from one NAS device to another</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>Thanks for the replies.</FONT>
</P>
<P><FONT SIZE=3D2>The suggestions for if I have to do this again =
are:</FONT>
<BR><FONT SIZE=3D2> cd /olddirectory</FONT>
<BR><FONT SIZE=3D2> find . -print|cpio -pvud =
/newdirectory</FONT>
</P>
<P><FONT SIZE=3D2>Or to use a combination of vdump | vrestore as shown =
near the bottom of the manpage of vrestore. I hadn't thought of =
vdump | vrestore because I didn't realize that it could also do NFS =
filesystems.</FONT></P>
<P><FONT SIZE=3D2>John</FONT>
</P>
<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: John Losey [<A =
HREF=3D"mailto:JLosey@Solucient.com">mailto:JLosey@Solucient.com</A>]</F=
ONT>
<BR><FONT SIZE=3D2>Sent: Wednesday, February 27, 2002 4:14 PM</FONT>
<BR><FONT SIZE=3D2>To: Tru64 UNIX Managers Group (E-mail)</FONT>
<BR><FONT SIZE=3D2>Subject: Moving from one NAS device to =
another</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>Hello, </FONT>
<BR><FONT SIZE=3D2>I've just finished migrating files from one SNAP =
server that was NFS mounted to one of my Tru64 boxes to a new SNAP =
server (the old one has a failed disk, so SNAP sent the replacement and =
I'm returning the old one once the data is off). I migrated the =
data using the following command: (I used one for each subdirectory in =
the mount-point)</FONT></P>
<P><FONT SIZE=3D2>(cd /snap01; tar cpf - subdirectory1) | (cd /snap02; =
tar xpvf -) </FONT>
<BR><FONT SIZE=3D2>I'm wondering if there was a better way than tar to =
do this move. Our NFS mount was of the / of the SNAP filesystem, =
so I didn't want to grab SNAP specific subdirectories (like os_private =
& WWW), so that was why I did the tar of each subdirectory. =
</FONT></P>
<P><FONT SIZE=3D2>But I'm wondering if there would have been a better =
way to move these files. I was trying to avoid purchasing Snap's =
utility to copy between SNAP servers, because we normally only have 1 =
(except for the times when we've got the replacement because of =
hardware failures in the first one). </FONT></P>
<P><FONT SIZE=3D2>I also ran into a slight problem with using tar for =
files that were overly large (ie. 2+GB) and had to copy those using a =
Windows box on the same network as the two Snap servers.</FONT></P>
<P><FONT SIZE=3D2>Thanks, </FONT>
<BR><FONT SIZE=3D2>John </FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C1C083.0B46C280--
reply other threads:[~2002-02-28 18:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox