From: slash <slash.9fans@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] copying fossil filesystem to a bigger disk
Date: Fri, 7 Oct 2011 06:49:58 -0400 [thread overview]
Message-ID: <CAEaiYYya5eq3CoVbbZGqPf91_kMEcbkCQ_8WEL4yakFdenek5g@mail.gmail.com> (raw)
In-Reply-To: <CAM6ozu5LkCBnxCBc=dU0+cTQ33CP=pvu8iJdciOzGpoycczU_A@mail.gmail.com>
On Thu, Oct 6, 2011 at 3:35 AM, Peter A. Cejchan <tyapca7@gmail.com> wrote:
> i use WD Caviar Green model WD20EARS (2TB SATA II) without any problems. I
> installed from erik's 9atom.iso
Did you toggle any jumpers on the drive? I finally gave up and returned it.
A new day, a new disk (with 512 byte sectors).
I installed mbr, partitioned the disk, prepped the plan9 partition and
formatted fossil on the new drive. Here's how my old and new disks
look.
su# cat /dev/sdE0/ctl # old
inquiry SAMSUNG SP2004C
model SAMSUNG SP2004C
serial S07GJ10Y522190
firm VM100-32
wwn 50000f0015522190
flag lba llba smart nop
udma 6
reg task 50 cmd 4c017 serr 0 ci 0 is 0 sig 101 sstatus 123
cmd hpcp cr fr pod sud st
mode auto sataii
geometry 390721968 512
part data 0 390721968
part plan9 63 390716865
part 9fat 63 204863
part nvram 204863 204864
part fossil 204864 389668289
part swap 389668289 390716865
su# cat /dev/sdE1/ctl # new
inquiry Hitachi HDS5C3020ALA632
model Hitachi HDS5C3020ALA632
serial ML0220FL0220F313JE2D
firm ML6OA580
wwn 5000cca369cfb243
flag lba llba smart power nop ata8 sct
udma 6
reg task 50 cmd 4c017 serr 0 ci 0 is 0 sig 101 sstatus 123
cmd hpcp cr fr pod sud st
mode auto sataii
geometry 3907029168 512
part data 0 3907029168
part plan9 63 3907024065
part 9fat 63 204863
part nvram 204863 204864
part fossil 204864 3905975489
part swap 3905975489 3907024065
su# fossil/conf /dev/sdE0/fossil # old
fsys main config /dev/sdE0/fossil
fsys main open -V -c 3000
su# fossil/conf /dev/sdE1/fossil # new
fsys main config /dev/sdE1/fossil
fsys main open -V -c 3000
I would like to copy 9fat, nvram and fossil from the old drive to the
new drive. 9fat is no problem. But how about nvram? Can I just use dd?
As for fossil, I have not been able to figure out how to do this.
replica(1) looks like has the capability to do this, but I don't want
to experiment with my live data. Someone who knows how to do this,
please advise. Also, do I need to run any additional fossil commands?
The goal is to retire the old disk and boot off the new one with the
only difference being that there is more free space now.
next prev parent reply other threads:[~2011-10-07 10:49 UTC|newest]
Thread overview: 66+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-24 0:20 slash
2011-09-24 8:07 ` David du Colombier
2011-09-24 8:34 ` Steve Simon
2011-09-29 23:54 ` slash
2011-09-30 8:31 ` Richard Miller
2011-09-30 8:54 ` Richard Miller
2011-09-30 9:44 ` Charles Forsyth
2011-09-30 14:06 ` erik quanstrom
2011-09-30 14:16 ` Ethan Grammatikidis
2011-09-30 14:00 ` erik quanstrom
2011-10-01 10:36 ` slash
[not found] ` <CAEaiYYzXCfB2KbnDzBHTXytrfQqGUCepRg5Aj-c14ZoEz5hHaw@mail.gmail.c>
2011-10-01 13:51 ` erik quanstrom
2011-10-01 15:27 ` slash
2011-10-01 16:14 ` erik quanstrom
2011-10-01 16:23 ` erik quanstrom
2011-10-04 11:28 ` Richard Miller
2011-10-04 11:52 ` Charles Forsyth
2011-10-04 12:01 ` Richard Miller
2011-10-04 12:05 ` erik quanstrom
2011-10-04 12:09 ` Charles Forsyth
2011-10-04 12:13 ` Charles Forsyth
2011-10-04 12:19 ` dexen deVries
2011-10-04 12:27 ` Richard Miller
[not found] ` <CAOw7k5i3i+w_=pUuFjUCnxH1Tp5U0vh3v7wFUoBddfML9xG+ag@mail.gmail.c>
2011-10-04 12:17 ` erik quanstrom
2011-10-04 12:30 ` Charles Forsyth
[not found] ` <CAOw7k5hGWG16a5fTjtXBEBd2-gt=XnhjEJKFNjdPrB46_6=dBg@mail.gmail.c>
2011-10-04 12:34 ` erik quanstrom
2011-10-04 12:05 ` erik quanstrom
2011-10-04 12:15 ` Richard Miller
2011-10-04 12:17 ` erik quanstrom
2011-10-04 12:17 ` erik quanstrom
2011-10-04 12:33 ` Richard Miller
2011-10-04 12:52 ` dexen deVries
2011-10-04 13:05 ` dexen deVries
2011-10-04 14:13 ` erik quanstrom
2011-10-04 15:56 ` Richard Miller
2011-10-04 16:00 ` erik quanstrom
2011-10-04 16:42 ` Richard Miller
2011-10-04 16:45 ` erik quanstrom
2011-10-04 17:52 ` Charles Forsyth
2011-10-04 18:05 ` dexen deVries
2011-10-04 18:24 ` Bakul Shah
2011-10-04 18:29 ` erik quanstrom
2011-10-03 23:07 ` slash
2011-10-06 7:35 ` Peter A. Cejchan
2011-10-07 10:49 ` slash [this message]
2011-10-07 11:15 ` Peter A. Cejchan
2011-10-07 13:03 ` Steve Simon
2011-10-10 10:32 ` Peter A. Cejchan
[not found] ` <CAEaiYYya5eq3CoVbbZGqPf91_kMEcbkCQ_8WEL4yakFdenek5g@mail.gmail.c>
2011-10-07 13:17 ` erik quanstrom
2011-10-10 2:32 ` slash
[not found] ` <CAEaiYYy36ydHfw=Tg2YC9x9gEW7=MAHF2C6-UVbgr36G-qv=rA@mail.gmail.c>
2011-10-10 3:11 ` erik quanstrom
2011-10-10 10:15 ` slash
[not found] ` <d0c02b8a1e36c9329902a1183192d732@chula.quanstro.>
[not found] ` <CAEaiYYxoHLgMZddGZ4gCPvW-GuqwRYzytXgfezoi+vjUgxx9tg@mail.gmail.c>
2011-10-10 13:17 ` erik quanstrom
2011-10-11 8:51 ` slash
2011-10-11 8:55 ` slash
2011-10-11 15:01 ` slash
2011-10-11 15:36 ` David du Colombier
2011-10-12 19:24 ` slash
2011-10-13 7:07 ` Peter A. Cejchan
[not found] ` <CAEaiYYxsUzf70Ffhd3hzsBZcMb5=2yhfSCv5-nJ+_27wYbJKig@mail.gmail.c>
2011-10-03 23:10 ` erik quanstrom
2011-10-04 0:02 ` erik quanstrom
2011-10-04 7:58 ` dexen deVries
2011-10-04 9:52 ` Richard Miller
2011-10-04 9:34 ` Richard Miller
2011-10-07 7:47 ` [9fans] io patterns erik quanstrom
2011-09-24 8:30 ` [9fans] copying fossil filesystem to a bigger disk Steve Simon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAEaiYYya5eq3CoVbbZGqPf91_kMEcbkCQ_8WEL4yakFdenek5g@mail.gmail.com \
--to=slash.9fans@gmail.com \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).