[Sunhelp] Relocating partitions
Rita
broph at mediaone.net
Thu Apr 27 01:59:13 CDT 2000
----- Original Message -----
From: "Dale Ghent" <daleg at elemental.org>
To: <sunhelp at sunhelp.org>
Sent: Friday, April 21, 2000 5:56 PM
Subject: Re: [Sunhelp] Relocating partitions
> On Fri, 21 Apr 2000, Kevin Stevens wrote:
>
> | I need to swap out a disk drive, and hence relocate the partitions/mount
points
> | on it temporarily. For example, /var/mail is currently on this device,
I want
> | to relocate it to the system drive which has space free within /var, but
no free
> | partitions. Several days later I'll want to move it back to the
replacement
> | drive.
> |
> | It looks like this can be done with some combination of cp, ln, and
swearing;
> | but also seems as though it happens often enough that there might be a
recipe.
> | Can someone point me at a FAQ or howto?
> |
>
> use tar. It will get files and symlinks, which cp -r wont. When I need to
> do this, I typically do:
>
> cd /old/partition ; tar cf - . | ( cd /new/destination ; tar xfp - )
>
> | Tangentially, where and how are Solaris 8 partitions managed, anyway? I
get
> | lost when I can't find an fstab. ;)
>
> in /etc/vfstab
>
> /dale
>
> _______________________________________________
> SunHELP maillist - SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
More information about the SunHELP
mailing list