Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Michelle Murillo <murillom@fsl.orst.edu>
To: Wong Pui Ming <s11976@net2.hkbu.edu.hk>
Subject: Re: moving a filesystem to another partition
Date: 1996/06/20	[thread overview]
Message-ID: <31CA42CE.2A7F@fsl.orst.edu> (raw)
In-Reply-To: 4qc401$r2a@ctsc.hkbc.hk


Wong Pui Ming wrote:
> 
> Wong Pui Ming (s11976@net2.hkbu.edu.hk) wrote:
> : I was trying to copy the entire filesystem (mounted on /userhome)
> : to another larger filesystem (/dev/rz3c) since the old one is running
> : out of space. What i did are:
> : mount /dev/rz3c  /mnt
> : tar cf - . | (cd /mnt && tar xpf - )
> : umount /mnt
> : umount /userhome
> : mount /dev/rz3c /userhome
> : BUT after i did the tar, I found that the ownerships of the subdirectories
> : under /mnt are wrong (being owner root, group system), yet those of the
> : files are correct. What have I done wrong ?
> : Any suggestion for an alternative way  to move the partition ?
> : (P.S. the unix conerned is Digital Unix 3.0)
> Sorry one typo mistake on my original posting, I did the
> cd /userhome
> before doing the tar command
> --
>         __
>    / \_/  )             __   Pui Ming WONG (E-mail: pm@hkbu.edu.hk)
>   /      ( -------------  }  System Support Programmer
>  (  =l=ll===============__}  Computing & Telecomm. Services Centre
>   \   _  (                   Hong Kong Baptist University
>    \_/ \__)                  224 Warerloo Road, Hong Kong (Tel:23397425)

When I move entire filesystems on SunOS4.1.x or Solaris 2.x I
use the following tar command.

cd /dir-to-tar; tar cf - . | ( cd /dir-to-tar-to; tar xfBp - )

Works great for me everytime!

mitch



  reply	other threads:[~1996-06-20  4:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-06-20  4:00 moving a filesystem to another partition Wong Pui Ming
1996-06-20  4:00 ` Wuxu Peng
1996-06-21  4:00   ` Wong Pui Ming
1996-06-20  4:00 ` Wong Pui Ming
1996-06-20  4:00   ` Michelle Murillo [this message]
1996-06-21  4:00 ` Mark Bartelt
1996-06-21  4:00 ` Ralph Seguin
1996-06-24  4:00   ` Dave Miller
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