Re: Boot from RAIDZ in 8.0-BETA3?

2009-09-03 Thread Artis Caune
2009/9/1 Jason Garrett kinged...@gmail.com:
 IMHO, unless you have a NEED to do this with the 8-BETA's I would not
 attempt. While I had this working in 8.0-BETA1 upon reboot I would loose
 data from entire mountpoints on the root pool. First it was /usr/ports, not
 a big deal. Then it was /var/db/pkg.. the system had no idea what was
 installed and what wasn't. This was a test machine, so no harm, no foul. I
 would definatley not recommend this AT ALL.

Maybe you just messed with wrong zfs option or in wrong order and your
mountpoints are not lost, but not-mounted or over-mounted?
It's a little bit tricky to get zfs-root working, some things can go
wrong if installation is not automated.




-- 
Artis Caune

Everything should be made as simple as possible, but not simpler.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Boot from RAIDZ in 8.0-BETA3?

2009-09-01 Thread Artis Caune
2009/8/30 Doug Poland d...@polands.org:
 Shutdown, remove ad0 from the virtual machine,
 Power on and it see...

 scrolls off screen
 error 4 lba 4292979877
 error 4 lba 4292979883
 error 4 lba 4292979883
 error 4 lba 4292979882
 ZFS: i/o error - all block copies unavailable
 Invalid format

I had a similar problem on IBM x3650 with 6 sata disks. While testing
zfs, I got kmem panic and after reboot same errors appeared.
OpenSolaris does not allow to boot from raidz and there can be only
one vdev in bootable pool, so I decided to make two pools if I need
raidz or multiple vdevs:
- one root pool (8G) (mirror disk0 disk1 ... disk5)
- one for data and other fs (raidz disk0 disk1 ... disk5)





-- 
Artis Caune

Everything should be made as simple as possible, but not simpler.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Boot from RAIDZ in 8.0-BETA3?

2009-09-01 Thread Jason Garrett
IMHO, unless you have a NEED to do this with the 8-BETA's I would not
attempt. While I had this working in 8.0-BETA1 upon reboot I would loose
data from entire mountpoints on the root pool. First it was /usr/ports, not
a big deal. Then it was /var/db/pkg.. the system had no idea what was
installed and what wasn't. This was a test machine, so no harm, no foul. I
would definatley not recommend this AT ALL.

Just my 2 cents, YMMV, etc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Boot from RAIDZ in 8.0-BETA3?

2009-08-30 Thread Ed Jobs
On Sunday 30 August 2009 04:16, Doug Poland wrote:
 Hello,

 I'm experimenting with trying to boot from a RAIDZ on 8.0-BETA3 (amd64).
   The environment is VMware.  I've been googling and reading what I can
 on this procedure, which sounds possible, but I have been unable to
 successfully get a system up and running with my technique.

snip

 And this is far as I have been able to get.  Can anyone identify what
 I'm doing wrong, or overlooking?  Pointers to docs, man pages, URLs
 appreciated.

i'm sure that you have already checked this out, but there is a howto in the 
wiki pages
http://wiki.freebsd.org/ZFSOnRootWithZFSboot

i tried this procedure twice on a i386 (once on a vm and once on an actual pc) 
and worked. (tho a nasty bug preventedme from keeping my root on zfs)
it's about a zpool and not raidz/z2, but i'm pretty sure that the same apply 
to those too.

cheers

-- 
God, root, what's the difference?


signature.asc
Description: This is a digitally signed message part.


Re: Boot from RAIDZ in 8.0-BETA3?

2009-08-30 Thread krad
2009/8/30 Ed Jobs olori...@gmail.com

 On Sunday 30 August 2009 04:16, Doug Poland wrote:
  Hello,
 
  I'm experimenting with trying to boot from a RAIDZ on 8.0-BETA3 (amd64).
The environment is VMware.  I've been googling and reading what I can
  on this procedure, which sounds possible, but I have been unable to
  successfully get a system up and running with my technique.
 
 snip
 
  And this is far as I have been able to get.  Can anyone identify what
  I'm doing wrong, or overlooking?  Pointers to docs, man pages, URLs
  appreciated.

 i'm sure that you have already checked this out, but there is a howto in
 the
 wiki pages
 http://wiki.freebsd.org/ZFSOnRootWithZFSboot

 i tried this procedure twice on a i386 (once on a vm and once on an actual
 pc)
 and worked. (tho a nasty bug preventedme from keeping my root on zfs)
 it's about a zpool and not raidz/z2, but i'm pretty sure that the same
 apply
 to those too.

 cheers

 --
 God, root, what's the difference?


Not sure if its required but you dont seem to be setting the bootfs
paramenter on the zpool. Also in theory dump/restore should work, I would
feel safer doing it with rsync or cp.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org