Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 May 2013 17:43:43 +0200
From:      Joerg Wunsch <j@uriah.heep.sax.de>
To:        freebsd-sparc64@freebsd.org
Subject:   Re: disk block failing on root disk on sun blade 1000
Message-ID:  <20130529154342.GA20725@uriah.heep.sax.de>
In-Reply-To: <51A62078.4040902@gmail.com>
References:  <519F2090.9070000@gmx.it> <20130524192223.GJ25595@uriah.heep.sax.de> <51A60415.3040107@gmail.com> <20130529134709.GE17846@uriah.heep.sax.de> <51A6075E.3020006@gmail.com> <20130529135716.GF17846@uriah.heep.sax.de> <51A62078.4040902@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
As Riccardo Veraldi wrote:

> I found plenty of 512GB Seagate NL35 series FC AL disks which are
> goign to be throwed away at work inside a EMC2 old storage.

Cool.

> is there any way to "dd" the old 18GB content on the new 512GB disk
> and have a free 500GB partition available  ?

Just don't dd it.

Create a new label.  With

disklabel -Bw da1 auto

you create a new label on it (including bootstrap).  Then, edit the
label with

disklabel -e da1

Create partitions as you like.  (Consult the manpage for "sunlabel(8)"
if you are unsure.)  Create filesystems for these partitions.  Mount
them.  Copy over each of the old file system's contents to the new
mountpoint, like

cd /mnt/usr

dump 0af - /usr | restore rf -

(When done, you can remove the files named "restoresymtab" that have
been created in each new filesystem.  They are only needed when you
are going to subsequently copy an incremental backup on top of the
level 0 one.)

-- 
cheers, Joerg               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130529154342.GA20725>