🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.sun
Article #563

Re: [Aussie-sun] best way to move entire filesystems to a new disk?

#563
From: Kralizec Craig
Date: Mon, 05 Dec 2005 03:52
34 lines
2803 bytes
check@approved.hdr (Jack Strangio) writes:

>Craig Dewick <cdewick@lios.apana.org.au> writes:
>> 
>> Hi everyone,
>> 
>> Under Solaris, what's the best way to move entire filesystems to a new disk? 

>Unlesss the new filesystem is exactly the same (or very nearly) then dd is not
>good. This is because it makes an exact  clone of the disk partition with the
>included file system, so if sizes are fairly different then problems arise.

Yes A few other people have said that too - seems that the best two
suggestions at present are to use rsync, or to ufsdump/ufsrestore in
combination, which will ignore the fact that the source and destination
drives are not identical.

>My preferred method is to use cpio. This has the advantage of preserving the
>various pipes and /dev's, but you need enough space to have a temporary
>holding place for the .cpio file. If the .cpio file is larger than 2 Gig then
>you may need to 'cat' it through cpio when restoring it. If temporary space for
>the .cpio file is low, then try storing and restoring a directory or two at a time.

That's also been suggested - thankyou for also mentioning it as I didn't
think of using 'cpio' at all.

Regards,

Craig.
-- 
 SUN RIPENED KERNELS - Surplus Sun Microsystems Equipment, Parts + Accessories
    Waterfall, NSW, Australia - Operated by Craig Dewick - Founded in 1996
Main site: www.sunrk.com.au - Ebay Shop: www.ebayshops.com.au/sunripenedkernels
  Ph: +612-9520-2547 - Fax: +612-9520-2557 - Mobile: 04-2163-0547 (int. +614)
Technical Details
Message-ID: <dn0dh3$5sk$3@yoda.apana.org.au>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.tele.dk!feed118.news.tele.dk!news.melb.apana.org.au!news.yoda.apana.org.au!cd
References: <mailman.0.1133678262.578.aussie-sun@lios.apana.org.au> <IqytL7.o7t@ozemail.com.au>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10d053,64d56af73efdbac
X-Google-Thread: 1070f0,2c53f57ac704da61
X-Google-Thread: 113606,2c53f57ac704da61
X-Google-Thread: 11035d,2c53f57ac704da61
X-Google-Thread: f88e1,7b8bb328059c3fab,start
X-Google-Attributes: gid10d053,gid1070f0,gid113606,gid11035d,gidf88e1,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Kralizec Craig <cd@lios.apana.org.au>
Newsgroups: aus.computers.sun,comp.sys.sun.admin,uk.comp.sys.sun,comp.unix.solaris,alt.sys.sun
Subject: Re: [Aussie-sun] best way to move entire filesystems to a new disk?
Date: Mon, 5 Dec 2005 03:52:03 +0000 (UTC)
Organization: Core Matrix Foundation inc. ORBnet
Lines: 34
Message-ID: <dn0dh3$5sk$3@yoda.apana.org.au>
References: <mailman.0.1133678262.578.aussie-sun@lios.apana.org.au> <IqytL7.o7t@ozemail.com.au>
NNTP-Posting-Host: lios.apana.org.au
X-Trace: yoda.apana.org.au 1133754723 6036 203.14.152.52 (5 Dec 2005 03:52:03 GMT)
X-Complaints-To: postmaster@yoda.apana.org.au
NNTP-Posting-Date: Mon, 5 Dec 2005 03:52:03 +0000 (UTC)
User-Agent: nn/6.6.5
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.tele.dk!feed118.news.tele.dk!news.melb.apana.org.au!news.yoda.apana.org.au!cd