> How did you used disk/prep?
I ran 'disk/prep -bw -a^(9fat nvram fossil swap) /dev/sdE1/plan9'.
When I ran it, my old disk was sdE0 and the new was sdE1. Now I notice
the layout prep created is identical on both disks!

su# disk/prep /dev/sdE0/plan9 # old
  9fat                    0 204800       (204800 sectors, 100.00 MB)
  nvram              204800 204801       (1 sectors, 512 B )
  fossil             204801 389668226    (389463425 sectors, 185.71 GB)
  swap            389668226 390716802    (1048576 sectors, 512.00 MB)
>>> q
su# disk/prep /dev/sdE1/plan9 # new
  9fat                     0 204800        (204800 sectors, 100.00 MB)
  nvram               204800 204801        (1 sectors, 512 B )
  fossil              204801 389668226     (389463425 sectors, 185.71 GB)
  swap             389668226 390716802     (1048576 sectors, 512.00 MB)
  empty            390716802 3907024002    (3516307200 sectors, 1.63 TB)
>>> q

> I don't believe you can, fossil is usually used with venti and venti can 
> definitely
> be grown on the fly, fossil alone is normally confined to just laptops where 
> this is
> not an issue.

Will this work:

1. boot off the old disk (/dev/sdE0/plan9)
2. disk/prep /dev/sdE1/plan9
    - delete swap and fossil
    - create a new fossil at the same offset as the old one but bigger
    - write changes
3. mount /dev/sdE1/fossil

I am trying to find a way to resize /dev/sdE1/fossil without losing
the existing data on it.

Reply via email to